Installation
Get started with AppFlowy Editor by adding it to your Flutter project. This guide will walk you through the installation process and initial setup.Prerequisites
Before installing AppFlowy Editor, ensure your development environment meets these requirements:- Flutter SDK: >= 3.32.0
- Dart SDK: >= 3.6.0 < 4.0.0
Add Package Dependency
Add AppFlowy Editor to your Flutter project using your preferred package manager:After adding the dependency, run
flutter pub get to download the package.Install Dependencies
Fetch the package and its dependencies:Configure Localization
AppFlowy Editor requires localization delegates to be configured in your app. Add the localization delegates to yourMaterialApp widget:
main.dart
Import the Package
Import AppFlowy Editor in your Dart files where you want to use it:Verify Installation
Verify that AppFlowy Editor is properly installed by running your app:Try the Example App
AppFlowy Editor includes a comprehensive example app demonstrating various features. Clone the repository and run the example:Terminal
- Basic editor setup
- Custom themes
- Block components
- Toolbar customization
- Mobile and desktop layouts
- Collaborative editing
- Import/export functionality
Package Information
Here are the key details about the AppFlowy Editor package:| Property | Value |
|---|---|
| Package Name | appflowy_editor |
| Current Version | 6.1.0 |
| Homepage | github.com/AppFlowy-IO/appflowy-editor |
| Platforms | Android, iOS, Linux, macOS, Windows, Web |
Troubleshooting
Version Conflicts
If you encounter version conflicts with dependencies, try:Terminal
Localization Issues
If you see localization-related errors, ensure:AppFlowyEditorLocalizations.delegateis added tolocalizationsDelegatesflutter_localizationsis added as a dependency- You’ve run
flutter pub getafter adding dependencies
Platform-Specific Issues
For platform-specific issues, check the GitHub issues or ask in our Discord community.Next Steps
Now that AppFlowy Editor is installed, you’re ready to create your first editor!Quick Start Guide
Follow the quick start guide to build your first editor in minutes