Fix for hasNotch

This commit is contained in:
unknown 2018-07-06 12:29:07 +03:00
parent 4707851927
commit c3cd47c2b5
3 changed files with 9 additions and 9 deletions

View File

@ -156,8 +156,8 @@ class _AppBottomBarState extends State<AppBottomBar> {
}); });
}; };
return new BottomAppBar( return BottomAppBar(
hasNotch: true, shape: CircularNotchedRectangle(),
child: Row( child: Row(
children: <Widget>[ children: <Widget>[
IconButton( IconButton(

View File

@ -101,7 +101,7 @@ class _InvoiceEditState extends State<InvoiceEdit>
), ),
), ),
bottomNavigationBar: BottomAppBar( bottomNavigationBar: BottomAppBar(
hasNotch: true, shape: CircularNotchedRectangle(),
child: Padding( child: Padding(
padding: const EdgeInsets.all(14.0), padding: const EdgeInsets.all(14.0),
child: Text( child: Text(

View File

@ -133,7 +133,7 @@ packages:
name: crypto name: crypto
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.3" version: "2.0.5"
csslib: csslib:
dependency: transitive dependency: transitive
description: description:
@ -147,7 +147,7 @@ packages:
name: dart_style name: dart_style
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.14" version: "1.1.1"
file: file:
dependency: transitive dependency: transitive
description: description:
@ -307,7 +307,7 @@ packages:
name: matcher name: matcher
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.12.2+1" version: "0.12.2"
memoize: memoize:
dependency: "direct main" dependency: "direct main"
description: description:
@ -363,7 +363,7 @@ packages:
name: path name: path
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.6.0" version: "1.6.1"
path_provider: path_provider:
dependency: "direct main" dependency: "direct main"
description: description:
@ -536,7 +536,7 @@ packages:
name: test name: test
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.12.40" version: "0.12.41"
typed_data: typed_data:
dependency: transitive dependency: transitive
description: description:
@ -601,5 +601,5 @@ packages:
source: hosted source: hosted
version: "2.1.14" version: "2.1.14"
sdks: sdks:
dart: ">=2.0.0-dev.55.0 <=2.0.0-dev.61.0.flutter-c95617b19c" dart: ">=2.0.0-dev.62.0 <=2.0.0-dev.63.0.flutter-4c9689c1d2"
flutter: ">=0.1.4 <2.0.0" flutter: ">=0.1.4 <2.0.0"