[flutter]: force the editor as large as parent

This commit is contained in:
appflowy 2021-10-27 16:57:23 +08:00
parent a7b306b59e
commit 89aceb098c

View File

@ -91,7 +91,7 @@ class _DocPageState extends State<DocPage> {
axis: Axis.vertical,
controller: scrollController,
barSize: 6.0,
child: Padding(padding: EdgeInsets.zero, child: editor),
child: SizedBox.expand(child: editor),
),
);
}