feat: add toggle list and integrate add block button (#2547)

This commit is contained in:
Lucas.Xu 2023-05-17 11:02:55 +08:00 committed by GitHub
parent bc66f43f47
commit 623f182bba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 507 additions and 27 deletions

View file

@ -89,11 +89,11 @@ class _DocumentPageState extends State<DocumentPage> {
Widget _buildEditorPage(BuildContext context, DocumentState state) {
final appflowyEditorPage = AppFlowyEditorPage(
editorState: editorState!,
header: _buildCoverAndIcon(context),
);
return Column(
children: [
if (state.isDeleted) _buildBanner(context),
_buildCoverAndIcon(context),
Expanded(
child: appflowyEditorPage,
),