Bug Fix and version update in pubspec.yaml

pull/58/head
Xin Yao 4 years ago
parent 41a0555482
commit d66c058997
  1. 8
      app/lib/pages/home_page.dart
  2. 4
      app/pubspec.lock
  3. 4
      app/pubspec.yaml

@ -92,7 +92,8 @@ class _HomePageState extends State<HomePage> {
Widget _buildWelcomeEditor(BuildContext context) { Widget _buildWelcomeEditor(BuildContext context) {
return SafeArea( return SafeArea(
child: Stack( child: Column(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: <Widget>[ children: <Widget>[
Container( Container(
height: MediaQuery.of(context).size.height * 0.88, height: MediaQuery.of(context).size.height * 0.88,
@ -124,11 +125,14 @@ class _HomePageState extends State<HomePage> {
), ),
), ),
), ),
Container( Padding(
padding: const EdgeInsets.all(8.0),
child: Container(
child: QuillToolbar.basic( child: QuillToolbar.basic(
controller: _controller, controller: _controller,
onImagePickCallback: _onImagePickCallback), onImagePickCallback: _onImagePickCallback),
), ),
),
], ],
), ),
); );

@ -70,7 +70,7 @@ packages:
name: cupertino_icons name: cupertino_icons
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.0" version: "1.0.2"
fake_async: fake_async:
dependency: transitive dependency: transitive
description: description:
@ -225,7 +225,7 @@ packages:
name: path_provider name: path_provider
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.6.27" version: "2.0.1"
path_provider_linux: path_provider_linux:
dependency: transitive dependency: transitive
description: description:

@ -27,8 +27,8 @@ dependencies:
# The following adds the Cupertino Icons font to your application. # The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons. # Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.0 cupertino_icons: ^1.0.2
path_provider: ^1.6.27 path_provider: ^2.0.1
flutter_quill: flutter_quill:
path: ../ path: ../

Loading…
Cancel
Save