mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
docs: minor updates to documentation.
This commit is contained in:
parent
b1bf93662e
commit
28d9b8ee3a
@ -1 +1,5 @@
|
|||||||
|
## 0.0.2
|
||||||
|
Minor Updates to Documentation.
|
||||||
|
|
||||||
## 0.0.1
|
## 0.0.1
|
||||||
|
Initial Version of the library.
|
@ -15,6 +15,10 @@ and the Flutter guide for
|
|||||||
|
|
||||||
<p align="center">A highly customizable rich-text editor for Flutter</p>
|
<p align="center">A highly customizable rich-text editor for Flutter</p>
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<a href="https://discord.gg/ZCCYN4Anzq"><b>Discord</b></a> •
|
||||||
|
<a href="https://twitter.com/appflowy"><b>Twitter</b></a>
|
||||||
|
</p>
|
||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<img src="https://raw.githubusercontent.com/AppFlowy-IO/AppFlowy/main/frontend/app_flowy/packages/appflowy_editor/documentation/images/example.png" width = "900"/>
|
<img src="https://raw.githubusercontent.com/AppFlowy-IO/AppFlowy/main/frontend/app_flowy/packages/appflowy_editor/documentation/images/example.png" width = "900"/>
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 1.4 MiB |
@ -81,41 +81,6 @@ class _MyHomePageState extends State<MyHomePage> {
|
|||||||
return Container();
|
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() {
|
Widget _buildAppFlowyEditorWithEmptyDocument() {
|
||||||
final editorState = EditorState.empty();
|
final editorState = EditorState.empty();
|
||||||
final editor = AppFlowyEditor(
|
final editor = AppFlowyEditor(
|
||||||
@ -176,4 +141,39 @@ class _MyHomePageState extends State<MyHomePage> {
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
name: appflowy_editor
|
name: appflowy_editor
|
||||||
description: An easily extensible, test-covered rich text editing component for Flutter.
|
description: A highly customizable rich-text editor for Flutter
|
||||||
version: 0.0.1
|
version: 0.0.2
|
||||||
homepage: https://github.com/AppFlowy-IO/AppFlowy
|
homepage: https://github.com/AppFlowy-IO/AppFlowy
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
Reference in New Issue
Block a user