From d66c05899755294e064a44355225e7a9b8239c9e Mon Sep 17 00:00:00 2001 From: Xin Yao Date: Fri, 5 Mar 2021 21:25:15 -0800 Subject: [PATCH] Bug Fix and version update in pubspec.yaml --- app/lib/pages/home_page.dart | 14 +++++++++----- app/pubspec.lock | 4 ++-- app/pubspec.yaml | 4 ++-- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/app/lib/pages/home_page.dart b/app/lib/pages/home_page.dart index cee58494..665ce1b9 100644 --- a/app/lib/pages/home_page.dart +++ b/app/lib/pages/home_page.dart @@ -92,7 +92,8 @@ class _HomePageState extends State { Widget _buildWelcomeEditor(BuildContext context) { return SafeArea( - child: Stack( + child: Column( + mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ Container( height: MediaQuery.of(context).size.height * 0.88, @@ -124,10 +125,13 @@ class _HomePageState extends State { ), ), ), - Container( - child: QuillToolbar.basic( - controller: _controller, - onImagePickCallback: _onImagePickCallback), + Padding( + padding: const EdgeInsets.all(8.0), + child: Container( + child: QuillToolbar.basic( + controller: _controller, + onImagePickCallback: _onImagePickCallback), + ), ), ], ), diff --git a/app/pubspec.lock b/app/pubspec.lock index 407518db..1db2fb1e 100644 --- a/app/pubspec.lock +++ b/app/pubspec.lock @@ -70,7 +70,7 @@ packages: name: cupertino_icons url: "https://pub.dartlang.org" source: hosted - version: "1.0.0" + version: "1.0.2" fake_async: dependency: transitive description: @@ -225,7 +225,7 @@ packages: name: path_provider url: "https://pub.dartlang.org" source: hosted - version: "1.6.27" + version: "2.0.1" path_provider_linux: dependency: transitive description: diff --git a/app/pubspec.yaml b/app/pubspec.yaml index 4d471487..8858a8dc 100644 --- a/app/pubspec.yaml +++ b/app/pubspec.yaml @@ -27,8 +27,8 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. - cupertino_icons: ^1.0.0 - path_provider: ^1.6.27 + cupertino_icons: ^1.0.2 + path_provider: ^2.0.1 flutter_quill: path: ../