From 2c076804621199bb9e2dd2aaf7a0739960edab11 Mon Sep 17 00:00:00 2001 From: li3317 Date: Sat, 26 Dec 2020 20:54:40 -0500 Subject: [PATCH] move toolbar --- app/lib/pages/home_page.dart | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/app/lib/pages/home_page.dart b/app/lib/pages/home_page.dart index a1b2137a..e4bf84fd 100644 --- a/app/lib/pages/home_page.dart +++ b/app/lib/pages/home_page.dart @@ -68,11 +68,8 @@ class _HomePageState extends State { Widget _buildWelcomeEditor(BuildContext context) { return Column( - children: [ - QuillToolbar.basic( - controller: _controller, - uploadFileCallback: _fakeUploadImageCallBack), - Divider(height: 1, thickness: 1, color: Colors.grey.shade200), + crossAxisAlignment: CrossAxisAlignment.stretch, + children: [ Expanded( child: Container( color: Colors.white, @@ -90,6 +87,12 @@ class _HomePageState extends State { ), ), ), + Container( + padding: new EdgeInsets.all(10.0), + child: QuillToolbar.basic( + controller: _controller, + uploadFileCallback: _fakeUploadImageCallBack), + ) ], ); }