feat: add auto expanded editor showcase (#920)
This commit is contained in:
parent
0a0d441339
commit
41048fed6c
1 changed files with 88 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ import 'dart:math';
|
|||
|
||||
import 'package:appflowy_editor/appflowy_editor.dart';
|
||||
import 'package:example/pages/auto_complete_editor.dart';
|
||||
import 'package:example/pages/auto_expand_editor.dart';
|
||||
import 'package:example/pages/collab_editor.dart';
|
||||
import 'package:example/pages/collab_selection_editor.dart';
|
||||
import 'package:example/pages/customize_theme_for_editor.dart';
|
||||
|
|
@ -251,6 +252,17 @@ class _HomePageState extends State<HomePage> {
|
|||
);
|
||||
}),
|
||||
|
||||
_buildListTile(context, 'Auto Expand Editor', () {
|
||||
Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
builder: (context) => AutoExpandEditor(
|
||||
editorState: EditorState.blank(),
|
||||
),
|
||||
),
|
||||
);
|
||||
}),
|
||||
|
||||
// Encoder Demo
|
||||
_buildSeparator(context, 'Export To X Demo'),
|
||||
_buildListTile(context, 'Export To JSON', () {
|
||||
|
|
|
|||
Loading…
Reference in a new issue