diff --git a/frontend/app_flowy/packages/appflowy_editor/CHANGELOG.md b/frontend/app_flowy/packages/appflowy_editor/CHANGELOG.md
index 88a977e250..bac617937b 100644
--- a/frontend/app_flowy/packages/appflowy_editor/CHANGELOG.md
+++ b/frontend/app_flowy/packages/appflowy_editor/CHANGELOG.md
@@ -1 +1,5 @@
+## 0.0.2
+Minor Updates to Documentation.
+
## 0.0.1
+Initial Version of the library.
\ No newline at end of file
diff --git a/frontend/app_flowy/packages/appflowy_editor/README.md b/frontend/app_flowy/packages/appflowy_editor/README.md
index 4961f036c4..8e239b6004 100644
--- a/frontend/app_flowy/packages/appflowy_editor/README.md
+++ b/frontend/app_flowy/packages/appflowy_editor/README.md
@@ -15,6 +15,10 @@ and the Flutter guide for
A highly customizable rich-text editor for Flutter
+
+ Discord •
+ Twitter
+
diff --git a/frontend/app_flowy/packages/appflowy_editor/documentation/images/example.png b/frontend/app_flowy/packages/appflowy_editor/documentation/images/example.png
index 1b1d439dbf..9bd16610dc 100644
Binary files a/frontend/app_flowy/packages/appflowy_editor/documentation/images/example.png and b/frontend/app_flowy/packages/appflowy_editor/documentation/images/example.png differ
diff --git a/frontend/app_flowy/packages/appflowy_editor/example/lib/main.dart b/frontend/app_flowy/packages/appflowy_editor/example/lib/main.dart
index 8b00d936ee..e1192580c5 100644
--- a/frontend/app_flowy/packages/appflowy_editor/example/lib/main.dart
+++ b/frontend/app_flowy/packages/appflowy_editor/example/lib/main.dart
@@ -81,41 +81,6 @@ class _MyHomePageState extends State
{
return Container();
}
- Widget _buildExpandableFab() {
- return ExpandableFab(
- distance: 112.0,
- children: [
- ActionButton(
- onPressed: () {
- if (page == 0) return;
- setState(() {
- page = 0;
- });
- },
- icon: const Icon(Icons.note_add),
- ),
- ActionButton(
- icon: const Icon(Icons.document_scanner),
- onPressed: () {
- if (page == 1) return;
- setState(() {
- page = 1;
- });
- },
- ),
- ActionButton(
- onPressed: () {
- if (page == 2) return;
- setState(() {
- page = 2;
- });
- },
- icon: const Icon(Icons.text_fields),
- ),
- ],
- );
- }
-
Widget _buildAppFlowyEditorWithEmptyDocument() {
final editorState = EditorState.empty();
final editor = AppFlowyEditor(
@@ -176,4 +141,39 @@ class _MyHomePageState extends State {
),
);
}
+
+ Widget _buildExpandableFab() {
+ return ExpandableFab(
+ distance: 112.0,
+ children: [
+ ActionButton(
+ onPressed: () {
+ if (page == 0) return;
+ setState(() {
+ page = 0;
+ });
+ },
+ icon: const Icon(Icons.note_add),
+ ),
+ ActionButton(
+ icon: const Icon(Icons.document_scanner),
+ onPressed: () {
+ if (page == 1) return;
+ setState(() {
+ page = 1;
+ });
+ },
+ ),
+ ActionButton(
+ onPressed: () {
+ if (page == 2) return;
+ setState(() {
+ page = 2;
+ });
+ },
+ icon: const Icon(Icons.text_fields),
+ ),
+ ],
+ );
+ }
}
diff --git a/frontend/app_flowy/packages/appflowy_editor/pubspec.yaml b/frontend/app_flowy/packages/appflowy_editor/pubspec.yaml
index 56820bf316..9a7318659f 100644
--- a/frontend/app_flowy/packages/appflowy_editor/pubspec.yaml
+++ b/frontend/app_flowy/packages/appflowy_editor/pubspec.yaml
@@ -1,6 +1,6 @@
name: appflowy_editor
-description: An easily extensible, test-covered rich text editing component for Flutter.
-version: 0.0.1
+description: A highly customizable rich-text editor for Flutter
+version: 0.0.2
homepage: https://github.com/AppFlowy-IO/AppFlowy
environment: