diff --git a/example/pubspec.lock b/example/pubspec.lock index 80707b1..82a65af 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -1,62 +1,48 @@ # Generated by pub # See https://dart.dev/tools/pub/glossary#lockfile packages: - archive: - dependency: transitive - description: - name: archive - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.11" - args: - dependency: transitive - description: - name: args - url: "https://pub.dartlang.org" - source: hosted - version: "1.5.2" async: dependency: transitive description: name: async url: "https://pub.dartlang.org" source: hosted - version: "2.4.0" + version: "2.5.0-nullsafety.3" boolean_selector: dependency: transitive description: name: boolean_selector url: "https://pub.dartlang.org" source: hosted - version: "1.0.5" - charcode: + version: "2.1.0-nullsafety.3" + characters: dependency: transitive description: - name: charcode + name: characters url: "https://pub.dartlang.org" source: hosted - version: "1.1.2" - collection: + version: "1.1.0-nullsafety.5" + charcode: dependency: transitive description: - name: collection + name: charcode url: "https://pub.dartlang.org" source: hosted - version: "1.14.11" - convert: + version: "1.2.0-nullsafety.3" + clock: dependency: transitive description: - name: convert + name: clock url: "https://pub.dartlang.org" source: hosted - version: "2.1.1" - crypto: + version: "1.1.0-nullsafety.3" + collection: dependency: transitive description: - name: crypto + name: collection url: "https://pub.dartlang.org" source: hosted - version: "2.1.3" + version: "1.15.0-nullsafety.5" cupertino_icons: dependency: "direct main" description: @@ -64,6 +50,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "0.1.2" + fake_async: + dependency: transitive + description: + name: fake_async + url: "https://pub.dartlang.org" + source: hosted + version: "1.2.0-nullsafety.3" flutter: dependency: "direct main" description: flutter @@ -74,55 +67,27 @@ packages: description: flutter source: sdk version: "0.0.0" - image: - dependency: transitive - description: - name: image - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.4" matcher: dependency: transitive description: name: matcher url: "https://pub.dartlang.org" source: hosted - version: "0.12.6" + version: "0.12.10-nullsafety.3" meta: dependency: transitive description: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.1.8" + version: "1.3.0-nullsafety.6" path: dependency: transitive description: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.6.4" - pedantic: - dependency: transitive - description: - name: pedantic - url: "https://pub.dartlang.org" - source: hosted - version: "1.8.0+1" - petitparser: - dependency: transitive - description: - name: petitparser - url: "https://pub.dartlang.org" - source: hosted - version: "2.4.0" - quiver: - dependency: transitive - description: - name: quiver - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.5" + version: "1.8.0-nullsafety.3" responsive_scaffold: dependency: "direct dev" description: @@ -148,62 +113,55 @@ packages: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.5.5" + version: "1.8.0-nullsafety.4" stack_trace: dependency: transitive description: name: stack_trace url: "https://pub.dartlang.org" source: hosted - version: "1.9.3" + version: "1.10.0-nullsafety.6" stream_channel: dependency: transitive description: name: stream_channel url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.1.0-nullsafety.3" string_scanner: dependency: transitive description: name: string_scanner url: "https://pub.dartlang.org" source: hosted - version: "1.0.5" + version: "1.1.0-nullsafety.3" term_glyph: dependency: transitive description: name: term_glyph url: "https://pub.dartlang.org" source: hosted - version: "1.1.0" + version: "1.2.0-nullsafety.3" test_api: dependency: transitive description: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.2.11" + version: "0.2.19-nullsafety.6" typed_data: dependency: transitive description: name: typed_data url: "https://pub.dartlang.org" source: hosted - version: "1.1.6" + version: "1.3.0-nullsafety.5" vector_math: dependency: transitive description: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.0.8" - xml: - dependency: transitive - description: - name: xml - url: "https://pub.dartlang.org" - source: hosted - version: "3.5.0" + version: "2.1.0-nullsafety.5" sdks: - dart: ">=2.4.0 <3.0.0" + dart: ">=2.12.0-0.0 <3.0.0" diff --git a/lib/templates/list/responsive_list.dart b/lib/templates/list/responsive_list.dart index 3019a37..c69ea90 100644 --- a/lib/templates/list/responsive_list.dart +++ b/lib/templates/list/responsive_list.dart @@ -26,7 +26,6 @@ class ResponsiveListScaffold extends StatelessWidget { this.floatingActionButtonLocation, this.persistentFooterButtons, this.resizeToAvoidBottomInset, - this.resizeToAvoidBottomPadding, this.tabletItemNotSelected, this.tabletSideMenu, this.nullItems, @@ -66,7 +65,6 @@ class ResponsiveListScaffold extends StatelessWidget { this.floatingActionButtonLocation, this.persistentFooterButtons, this.resizeToAvoidBottomInset, - this.resizeToAvoidBottomPadding, this.tabletItemNotSelected, this.tabletSideMenu, this.tabletFlexDetailView = 8, @@ -104,7 +102,6 @@ class ResponsiveListScaffold extends StatelessWidget { this.floatingActionButtonLocation, this.persistentFooterButtons, this.resizeToAvoidBottomInset, - this.resizeToAvoidBottomPadding, this.tabletItemNotSelected, this.tabletSideMenu, this.tabletFlexDetailView = 8, @@ -137,7 +134,6 @@ class ResponsiveListScaffold extends StatelessWidget { final FloatingActionButtonAnimator floatingActionButtonAnimator; - final bool resizeToAvoidBottomPadding; final bool resizeToAvoidBottomInset; @@ -187,7 +183,6 @@ class ResponsiveListScaffold extends StatelessWidget { persistentFooterButtons: persistentFooterButtons, floatingActionButtonAnimator: floatingActionButtonAnimator, resizeToAvoidBottomInset: resizeToAvoidBottomInset, - resizeToAvoidBottomPadding: resizeToAvoidBottomPadding, primary: primary, // extendBody: extendBody, backgroundColor: backgroundColor, @@ -214,7 +209,6 @@ class ResponsiveListScaffold extends StatelessWidget { persistentFooterButtons: persistentFooterButtons, floatingActionButtonAnimator: floatingActionButtonAnimator, resizeToAvoidBottomInset: resizeToAvoidBottomInset, - resizeToAvoidBottomPadding: resizeToAvoidBottomPadding, primary: primary, // extendBody: extendBody, backgroundColor: backgroundColor, diff --git a/lib/templates/list/views/tablet.dart b/lib/templates/list/views/tablet.dart index 79aae04..eced66e 100644 --- a/lib/templates/list/views/tablet.dart +++ b/lib/templates/list/views/tablet.dart @@ -27,7 +27,6 @@ class TabletView extends StatefulWidget { @required this.persistentFooterButtons, @required this.primary, @required this.resizeToAvoidBottomInset, - @required this.resizeToAvoidBottomPadding, @required this.scaffoldkey, @required this.detailScaffoldKey, @required this.nullItems, @@ -63,7 +62,6 @@ class TabletView extends StatefulWidget { @required this.persistentFooterButtons, @required this.primary, @required this.resizeToAvoidBottomInset, - @required this.resizeToAvoidBottomPadding, @required this.scaffoldkey, @required this.detailScaffoldKey, @required this.nullItems, @@ -99,7 +97,6 @@ class TabletView extends StatefulWidget { @required this.persistentFooterButtons, @required this.primary, @required this.resizeToAvoidBottomInset, - @required this.resizeToAvoidBottomPadding, @required this.scaffoldkey, @required this.detailScaffoldKey, @required this.nullItems, @@ -126,7 +123,6 @@ class TabletView extends StatefulWidget { final FloatingActionButtonAnimator floatingActionButtonAnimator; - final bool resizeToAvoidBottomPadding; final bool resizeToAvoidBottomInset; @@ -185,7 +181,6 @@ class _TabletViewState extends State { floatingActionButtonAnimator: widget?.floatingActionButtonAnimator, resizeToAvoidBottomInset: widget?.resizeToAvoidBottomInset, - resizeToAvoidBottomPadding: widget?.resizeToAvoidBottomPadding, primary: widget?.primary, // extendBody: extendBody, backgroundColor: widget?.backgroundColor, diff --git a/pubspec.lock b/pubspec.lock index 848b629..de9eac4 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1,62 +1,55 @@ # Generated by pub # See https://dart.dev/tools/pub/glossary#lockfile packages: - archive: - dependency: transitive - description: - name: archive - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.11" - args: - dependency: transitive - description: - name: args - url: "https://pub.dartlang.org" - source: hosted - version: "1.5.2" async: dependency: transitive description: name: async url: "https://pub.dartlang.org" source: hosted - version: "2.4.0" + version: "2.5.0-nullsafety.3" boolean_selector: dependency: transitive description: name: boolean_selector url: "https://pub.dartlang.org" source: hosted - version: "1.0.5" + version: "2.1.0-nullsafety.3" + characters: + dependency: transitive + description: + name: characters + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0-nullsafety.5" charcode: dependency: transitive description: name: charcode url: "https://pub.dartlang.org" source: hosted - version: "1.1.2" - collection: + version: "1.2.0-nullsafety.3" + clock: dependency: transitive description: - name: collection + name: clock url: "https://pub.dartlang.org" source: hosted - version: "1.14.11" - convert: + version: "1.1.0-nullsafety.3" + collection: dependency: transitive description: - name: convert + name: collection url: "https://pub.dartlang.org" source: hosted - version: "2.1.1" - crypto: + version: "1.15.0-nullsafety.5" + fake_async: dependency: transitive description: - name: crypto + name: fake_async url: "https://pub.dartlang.org" source: hosted - version: "2.1.3" + version: "1.2.0-nullsafety.3" flutter: dependency: "direct main" description: flutter @@ -67,62 +60,34 @@ packages: description: flutter source: sdk version: "0.0.0" - image: - dependency: transitive - description: - name: image - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.4" matcher: dependency: transitive description: name: matcher url: "https://pub.dartlang.org" source: hosted - version: "0.12.6" + version: "0.12.10-nullsafety.3" meta: dependency: transitive description: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.1.8" + version: "1.3.0-nullsafety.6" path: dependency: transitive description: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.6.4" - pedantic: - dependency: transitive - description: - name: pedantic - url: "https://pub.dartlang.org" - source: hosted - version: "1.8.0+1" - petitparser: - dependency: transitive - description: - name: petitparser - url: "https://pub.dartlang.org" - source: hosted - version: "2.4.0" - quiver: - dependency: transitive - description: - name: quiver - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.5" + version: "1.8.0-nullsafety.3" scroll_to_index: dependency: "direct main" description: name: scroll_to_index url: "https://pub.dartlang.org" source: hosted - version: "1.0.5" + version: "1.0.6" sky_engine: dependency: transitive description: flutter @@ -134,62 +99,55 @@ packages: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.5.5" + version: "1.8.0-nullsafety.4" stack_trace: dependency: transitive description: name: stack_trace url: "https://pub.dartlang.org" source: hosted - version: "1.9.3" + version: "1.10.0-nullsafety.6" stream_channel: dependency: transitive description: name: stream_channel url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.1.0-nullsafety.3" string_scanner: dependency: transitive description: name: string_scanner url: "https://pub.dartlang.org" source: hosted - version: "1.0.5" + version: "1.1.0-nullsafety.3" term_glyph: dependency: transitive description: name: term_glyph url: "https://pub.dartlang.org" source: hosted - version: "1.1.0" + version: "1.2.0-nullsafety.3" test_api: dependency: transitive description: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.2.11" + version: "0.2.19-nullsafety.6" typed_data: dependency: transitive description: name: typed_data url: "https://pub.dartlang.org" source: hosted - version: "1.1.6" + version: "1.3.0-nullsafety.5" vector_math: dependency: transitive description: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.0.8" - xml: - dependency: transitive - description: - name: xml - url: "https://pub.dartlang.org" - source: hosted - version: "3.5.0" + version: "2.1.0-nullsafety.5" sdks: - dart: ">=2.4.0 <3.0.0" + dart: ">=2.12.0-0.0 <3.0.0"