feat: add fixed toolbar example (#739)
* feat: add fixed toolbar example * feat: highlight bold button if the selected text is all bold
This commit is contained in:
parent
44861b62aa
commit
014abd74fe
1 changed files with 247 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ import 'package:appflowy_editor/appflowy_editor.dart';
|
|||
import 'package:example/pages/customize_theme_for_editor.dart';
|
||||
import 'package:example/pages/editor.dart';
|
||||
import 'package:example/pages/editor_list.dart';
|
||||
import 'package:example/pages/fixed_toolbar_editor.dart';
|
||||
import 'package:example/pages/focus_example_for_editor.dart';
|
||||
import 'package:file_picker/file_picker.dart';
|
||||
import 'package:flutter/foundation.dart';
|
||||
|
|
@ -192,6 +193,14 @@ class _HomePageState extends State<HomePage> {
|
|||
),
|
||||
);
|
||||
}),
|
||||
_buildListTile(context, 'Fixed Toolbar', () {
|
||||
Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
builder: (context) => const FixedToolbarExample(),
|
||||
),
|
||||
);
|
||||
}),
|
||||
|
||||
// Encoder Demo
|
||||
_buildSeparator(context, 'Export To X Demo'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue