diff --git a/.gitignore b/.gitignore index c4e60a348..345b5e305 100644 --- a/.gitignore +++ b/.gitignore @@ -60,6 +60,7 @@ **/ios/Flutter/app.flx **/ios/Flutter/app.zip **/ios/Flutter/flutter_assets/ +**/ios/Flutter/flutter_export_environment.sh **/ios/ServiceDefinitions.json **/ios/Runner/GeneratedPluginRegistrant.* diff --git a/add_to_app/flutter_module/pubspec.lock b/add_to_app/flutter_module/pubspec.lock index 6247e2bd1..839a266d1 100644 --- a/add_to_app/flutter_module/pubspec.lock +++ b/add_to_app/flutter_module/pubspec.lock @@ -115,7 +115,7 @@ packages: name: provider url: "https://pub.dartlang.org" source: hosted - version: "3.1.0+1" + version: "3.2.0" quiver: dependency: transitive description: diff --git a/add_to_app/flutter_module_using_plugin/pubspec.lock b/add_to_app/flutter_module_using_plugin/pubspec.lock index f55df6ea4..7b366670b 100644 --- a/add_to_app/flutter_module_using_plugin/pubspec.lock +++ b/add_to_app/flutter_module_using_plugin/pubspec.lock @@ -67,6 +67,11 @@ packages: description: flutter source: sdk version: "0.0.0" + flutter_web_plugins: + dependency: transitive + description: flutter + source: sdk + version: "0.0.0" image: dependency: transitive description: @@ -109,13 +114,20 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.4.0" + plugin_platform_interface: + dependency: transitive + description: + name: plugin_platform_interface + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1" provider: dependency: "direct main" description: name: provider url: "https://pub.dartlang.org" source: hosted - version: "3.1.0+1" + version: "3.2.0" quiver: dependency: transitive description: @@ -183,14 +195,28 @@ packages: name: url_launcher url: "https://pub.dartlang.org" source: hosted - version: "5.2.5" + version: "5.4.1" + url_launcher_macos: + dependency: transitive + description: + name: url_launcher_macos + url: "https://pub.dartlang.org" + source: hosted + version: "0.0.1+2" url_launcher_platform_interface: dependency: transitive description: name: url_launcher_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "1.0.1" + version: "1.0.4" + url_launcher_web: + dependency: transitive + description: + name: url_launcher_web + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.0+2" vector_math: dependency: transitive description: @@ -207,4 +233,4 @@ packages: version: "3.5.0" sdks: dart: ">=2.6.0-dev <3.0.0" - flutter: ">=1.9.1+hotfix.4 <2.0.0" + flutter: ">=1.12.8 <2.0.0" diff --git a/chrome-os-best-practices/pubspec.lock b/chrome-os-best-practices/pubspec.lock index f4c786e00..9a0f87f64 100755 --- a/chrome-os-best-practices/pubspec.lock +++ b/chrome-os-best-practices/pubspec.lock @@ -63,7 +63,7 @@ packages: name: cupertino_icons url: "https://pub.dartlang.org" source: hosted - version: "0.1.2" + version: "0.1.3" flutter: dependency: "direct main" description: flutter diff --git a/flutter_maps_firestore/pubspec.lock b/flutter_maps_firestore/pubspec.lock index 0fbc7156b..55e9f4798 100644 --- a/flutter_maps_firestore/pubspec.lock +++ b/flutter_maps_firestore/pubspec.lock @@ -42,7 +42,7 @@ packages: name: cloud_firestore url: "https://pub.dartlang.org" source: hosted - version: "0.12.10+2" + version: "0.12.11" collection: dependency: transitive description: @@ -64,20 +64,34 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.1.3" + firebase: + dependency: transitive + description: + name: firebase + url: "https://pub.dartlang.org" + source: hosted + version: "7.1.0" firebase_core: dependency: transitive description: name: firebase_core url: "https://pub.dartlang.org" source: hosted - version: "0.4.2" + version: "0.4.3+1" firebase_core_platform_interface: dependency: transitive description: name: firebase_core_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "1.0.0" + version: "1.0.2" + firebase_core_web: + dependency: transitive + description: + name: firebase_core_web + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.1+1" flutter: dependency: "direct main" description: flutter @@ -88,13 +102,18 @@ packages: description: flutter source: sdk version: "0.0.0" + flutter_web_plugins: + dependency: transitive + description: flutter + source: sdk + version: "0.0.0" google_maps_flutter: dependency: "direct main" description: name: google_maps_flutter url: "https://pub.dartlang.org" source: hosted - version: "0.5.21+12" + version: "0.5.21+15" google_maps_webservice: dependency: "direct main" description: @@ -123,6 +142,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.1.4" + js: + dependency: transitive + description: + name: js + url: "https://pub.dartlang.org" + source: hosted + version: "0.6.1+1" location: dependency: "direct main" description: @@ -172,13 +198,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.0.5" - quiver_hashcode: - dependency: transitive - description: - name: quiver_hashcode - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.0" sky_engine: dependency: transitive description: flutter @@ -249,4 +268,4 @@ packages: version: "3.5.0" sdks: dart: ">=2.5.0 <3.0.0" - flutter: ">=1.9.1+hotfix.5 <2.0.0" + flutter: ">=1.12.13+hotfix.4 <2.0.0" diff --git a/gallery/gallery/pubspec.lock b/gallery/gallery/pubspec.lock index 7f2b6f2f1..0b30d1a6c 100644 --- a/gallery/gallery/pubspec.lock +++ b/gallery/gallery/pubspec.lock @@ -98,14 +98,14 @@ packages: name: flare_dart url: "https://pub.dartlang.org" source: hosted - version: "2.3.0" + version: "2.3.2" flare_flutter: dependency: "direct main" description: name: flare_flutter url: "https://pub.dartlang.org" source: hosted - version: "1.8.1" + version: "1.8.3" flutter: dependency: "direct main" description: flutter @@ -247,6 +247,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.4.0" + plugin_platform_interface: + dependency: transitive + description: + name: plugin_platform_interface + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1" pub_semver: dependency: transitive description: @@ -281,7 +288,14 @@ packages: name: shared_preferences url: "https://pub.dartlang.org" source: hosted - version: "0.5.4+9" + version: "0.5.6" + shared_preferences_macos: + dependency: transitive + description: + name: shared_preferences_macos + url: "https://pub.dartlang.org" + source: hosted + version: "0.0.1+3" shared_preferences_platform_interface: dependency: transitive description: @@ -289,6 +303,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.0.1" + shared_preferences_web: + dependency: transitive + description: + name: shared_preferences_web + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.2+2" shrine_images: dependency: "direct main" description: @@ -356,7 +377,7 @@ packages: name: url_launcher url: "https://pub.dartlang.org" source: hosted - version: "5.2.7" + version: "5.4.1" url_launcher_fde: dependency: "direct main" description: @@ -366,20 +387,27 @@ packages: url: "git://github.com/google/flutter-desktop-embedding.git" source: git version: "0.0.1" + url_launcher_macos: + dependency: transitive + description: + name: url_launcher_macos + url: "https://pub.dartlang.org" + source: hosted + version: "0.0.1+2" url_launcher_platform_interface: dependency: transitive description: name: url_launcher_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "1.0.1" + version: "1.0.4" url_launcher_web: dependency: "direct main" description: name: url_launcher_web url: "https://pub.dartlang.org" source: hosted - version: "0.1.0+1" + version: "0.1.0+2" vector_math: dependency: transitive description: @@ -410,4 +438,4 @@ packages: version: "2.2.0" sdks: dart: ">=2.4.0 <3.0.0" - flutter: ">=1.10.0 <2.0.0" + flutter: ">=1.12.13+hotfix.4 <2.0.0" diff --git a/isolate_example/lib/data_transfer_page.dart b/isolate_example/lib/data_transfer_page.dart index f72cb434e..ba47f8764 100644 --- a/isolate_example/lib/data_transfer_page.dart +++ b/isolate_example/lib/data_transfer_page.dart @@ -23,7 +23,7 @@ class DataTransferPageStarter extends StatelessWidget { @override Widget build(BuildContext context) { return ChangeNotifierProvider( - builder: (context) => DataTransferIsolateController(), + create: (context) => DataTransferIsolateController(), child: DataTransferPage(), ); } diff --git a/isolate_example/lib/infinite_process_page.dart b/isolate_example/lib/infinite_process_page.dart index 831ff1ef9..5beac5ab7 100644 --- a/isolate_example/lib/infinite_process_page.dart +++ b/isolate_example/lib/infinite_process_page.dart @@ -22,7 +22,7 @@ class InfiniteProcessPageStarter extends StatelessWidget { @override Widget build(context) { return ChangeNotifierProvider( - builder: (context) => InfiniteProcessIsolateController(), + create: (context) => InfiniteProcessIsolateController(), child: InfiniteProcessPage(), ); } diff --git a/isolate_example/pubspec.lock b/isolate_example/pubspec.lock index 97b552440..0ca14fc04 100644 --- a/isolate_example/pubspec.lock +++ b/isolate_example/pubspec.lock @@ -115,7 +115,7 @@ packages: name: provider url: "https://pub.dartlang.org" source: hosted - version: "3.1.0+1" + version: "3.2.0" quiver: dependency: transitive description: diff --git a/jsonexample/pubspec.lock b/jsonexample/pubspec.lock index 72b9b64c6..db4f71420 100644 --- a/jsonexample/pubspec.lock +++ b/jsonexample/pubspec.lock @@ -77,21 +77,21 @@ packages: name: build_runner url: "https://pub.dartlang.org" source: hosted - version: "1.7.1" + version: "1.7.2" build_runner_core: dependency: transitive description: name: build_runner_core url: "https://pub.dartlang.org" source: hosted - version: "4.2.0" + version: "4.3.0" built_collection: dependency: "direct main" description: name: built_collection url: "https://pub.dartlang.org" source: hosted - version: "4.2.2" + version: "4.3.0" built_value: dependency: "direct main" description: @@ -428,7 +428,7 @@ packages: name: stream_transform url: "https://pub.dartlang.org" source: hosted - version: "0.0.19" + version: "0.0.20" string_scanner: dependency: transitive description: @@ -500,4 +500,4 @@ packages: source: hosted version: "2.2.0" sdks: - dart: ">=2.5.0 <3.0.0" + dart: ">=2.6.0 <3.0.0" diff --git a/place_tracker/pubspec.lock b/place_tracker/pubspec.lock index 82f491e51..c6024d6e0 100644 --- a/place_tracker/pubspec.lock +++ b/place_tracker/pubspec.lock @@ -63,7 +63,7 @@ packages: name: cupertino_icons url: "https://pub.dartlang.org" source: hosted - version: "0.1.2" + version: "0.1.3" flutter: dependency: "direct main" description: flutter diff --git a/platform_design/pubspec.lock b/platform_design/pubspec.lock index b34a97341..32e2dee1f 100644 --- a/platform_design/pubspec.lock +++ b/platform_design/pubspec.lock @@ -63,7 +63,7 @@ packages: name: cupertino_icons url: "https://pub.dartlang.org" source: hosted - version: "0.1.2" + version: "0.1.3" english_words: dependency: "direct main" description: diff --git a/platform_view_swift/pubspec.lock b/platform_view_swift/pubspec.lock index f4c786e00..9a0f87f64 100644 --- a/platform_view_swift/pubspec.lock +++ b/platform_view_swift/pubspec.lock @@ -63,7 +63,7 @@ packages: name: cupertino_icons url: "https://pub.dartlang.org" source: hosted - version: "0.1.2" + version: "0.1.3" flutter: dependency: "direct main" description: flutter diff --git a/provider_counter/lib/main.dart b/provider_counter/lib/main.dart index 11e5b7133..8fb7d2592 100644 --- a/provider_counter/lib/main.dart +++ b/provider_counter/lib/main.dart @@ -17,7 +17,7 @@ void main() { // Initialize the model in the builder. That way, Provider // can own Counter's lifecycle, making sure to call `dispose` // when not needed anymore. - builder: (context) => Counter(), + create: (context) => Counter(), child: MyApp(), ), ); diff --git a/provider_counter/pubspec.lock b/provider_counter/pubspec.lock index 0bb2096bb..f0710a428 100644 --- a/provider_counter/pubspec.lock +++ b/provider_counter/pubspec.lock @@ -63,7 +63,7 @@ packages: name: cupertino_icons url: "https://pub.dartlang.org" source: hosted - version: "0.1.2" + version: "0.1.3" flutter: dependency: "direct main" description: flutter @@ -122,7 +122,7 @@ packages: name: provider url: "https://pub.dartlang.org" source: hosted - version: "3.1.0+1" + version: "3.2.0" quiver: dependency: transitive description: diff --git a/provider_counter/test/widget_test.dart b/provider_counter/test/widget_test.dart index cb77e8ab3..105b6eb9a 100644 --- a/provider_counter/test/widget_test.dart +++ b/provider_counter/test/widget_test.dart @@ -12,7 +12,7 @@ void main() { // Build our app, provide it with a model, and trigger a frame. await tester.pumpWidget( ChangeNotifierProvider( - builder: (context) => Counter(), + create: (context) => Counter(), child: MyApp(), ), ); diff --git a/provider_shopper/lib/main.dart b/provider_shopper/lib/main.dart index 41e357ad7..14a5055de 100644 --- a/provider_shopper/lib/main.dart +++ b/provider_shopper/lib/main.dart @@ -22,13 +22,13 @@ class MyApp extends StatelessWidget { providers: [ // In this sample app, CatalogModel never changes, so a simple Provider // is sufficient. - Provider(builder: (context) => CatalogModel()), + Provider(create: (context) => CatalogModel()), // CartModel is implemented as a ChangeNotifier, which calls for the use // of ChangeNotifierProvider. Moreover, CartModel depends // on CatalogModel, so a ProxyProvider is needed. ChangeNotifierProxyProvider( - initialBuilder: (context) => CartModel.empty(), - builder: (context, catalog, previousCart) => + create: (context) => CartModel.empty(), + update: (context, catalog, previousCart) => CartModel(catalog, previousCart), ), ], diff --git a/provider_shopper/pubspec.lock b/provider_shopper/pubspec.lock index 97b552440..0ca14fc04 100644 --- a/provider_shopper/pubspec.lock +++ b/provider_shopper/pubspec.lock @@ -115,7 +115,7 @@ packages: name: provider url: "https://pub.dartlang.org" source: hosted - version: "3.1.0+1" + version: "3.2.0" quiver: dependency: transitive description: diff --git a/veggieseasons/pubspec.lock b/veggieseasons/pubspec.lock index 6ade6d0e8..83197b2fe 100644 --- a/veggieseasons/pubspec.lock +++ b/veggieseasons/pubspec.lock @@ -63,7 +63,7 @@ packages: name: cupertino_icons url: "https://pub.dartlang.org" source: hosted - version: "0.1.2" + version: "0.1.3" flutter: dependency: "direct main" description: flutter @@ -81,6 +81,11 @@ packages: description: flutter source: sdk version: "0.0.0" + flutter_web_plugins: + dependency: transitive + description: flutter + source: sdk + version: "0.0.0" font_awesome_flutter: dependency: "direct main" description: @@ -157,7 +162,28 @@ packages: name: shared_preferences url: "https://pub.dartlang.org" source: hosted - version: "0.5.4+5" + version: "0.5.6" + shared_preferences_macos: + dependency: transitive + description: + name: shared_preferences_macos + url: "https://pub.dartlang.org" + source: hosted + version: "0.0.1+3" + shared_preferences_platform_interface: + dependency: transitive + description: + name: shared_preferences_platform_interface + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1" + shared_preferences_web: + dependency: transitive + description: + name: shared_preferences_web + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.2+2" sky_engine: dependency: transitive description: flutter @@ -235,4 +261,4 @@ packages: version: "2.2.0" sdks: dart: ">=2.5.0 <3.0.0" - flutter: ">=1.6.7 <2.0.0" + flutter: ">=1.12.13+hotfix.4 <2.0.0" diff --git a/web/_tool/pubspec.lock b/web/_tool/pubspec.lock index 0889d5436..d9d2186bd 100644 --- a/web/_tool/pubspec.lock +++ b/web/_tool/pubspec.lock @@ -21,7 +21,7 @@ packages: name: markdown url: "https://pub.dartlang.org" source: hosted - version: "2.1.2" + version: "2.1.3" path: dependency: "direct main" description: diff --git a/web/dad_jokes/pubspec.lock b/web/dad_jokes/pubspec.lock index 015c3b323..25f228398 100644 --- a/web/dad_jokes/pubspec.lock +++ b/web/dad_jokes/pubspec.lock @@ -61,7 +61,7 @@ packages: name: pedantic url: "https://pub.dartlang.org" source: hosted - version: "1.8.0+1" + version: "1.9.0" sky_engine: dependency: transitive description: flutter diff --git a/web/filipino_cuisine/pubspec.lock b/web/filipino_cuisine/pubspec.lock index c7cc2061b..03bf5157d 100644 --- a/web/filipino_cuisine/pubspec.lock +++ b/web/filipino_cuisine/pubspec.lock @@ -75,7 +75,7 @@ packages: name: pedantic url: "https://pub.dartlang.org" source: hosted - version: "1.8.0+1" + version: "1.9.0" sky_engine: dependency: transitive description: flutter diff --git a/web/github_dataviz/pubspec.lock b/web/github_dataviz/pubspec.lock index 677f3c586..bbf521c85 100644 --- a/web/github_dataviz/pubspec.lock +++ b/web/github_dataviz/pubspec.lock @@ -68,7 +68,7 @@ packages: name: pedantic url: "https://pub.dartlang.org" source: hosted - version: "1.8.0+1" + version: "1.9.0" sky_engine: dependency: transitive description: flutter diff --git a/web/slide_puzzle/pubspec.lock b/web/slide_puzzle/pubspec.lock index df65ea0fa..1438b87aa 100644 --- a/web/slide_puzzle/pubspec.lock +++ b/web/slide_puzzle/pubspec.lock @@ -1,13 +1,20 @@ # Generated by pub # See https://dart.dev/tools/pub/glossary#lockfile packages: + _fe_analyzer_shared: + dependency: transitive + description: + name: _fe_analyzer_shared + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1" analyzer: dependency: transitive description: name: analyzer url: "https://pub.dartlang.org" source: hosted - version: "0.36.4" + version: "0.39.2+1" archive: dependency: transitive description: @@ -88,13 +95,6 @@ packages: description: flutter source: sdk version: "0.0.0" - front_end: - dependency: transitive - description: - name: front_end - url: "https://pub.dartlang.org" - source: hosted - version: "0.1.19" glob: dependency: transitive description: @@ -151,13 +151,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "0.6.1+1" - kernel: - dependency: transitive - description: - name: kernel - url: "https://pub.dartlang.org" - source: hosted - version: "0.3.19" logging: dependency: transitive description: