diff --git a/animations/pubspec.lock b/animations/pubspec.lock index 95d8556f2..444ac4138 100644 --- a/animations/pubspec.lock +++ b/animations/pubspec.lock @@ -7,56 +7,56 @@ packages: name: async url: "https://pub.dartlang.org" source: hosted - version: "2.5.0-nullsafety.1" + version: "2.5.0-nullsafety.3" boolean_selector: dependency: transitive description: name: boolean_selector url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.1" + version: "2.1.0-nullsafety.3" characters: dependency: transitive description: name: characters url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.3" + version: "1.1.0-nullsafety.5" charcode: dependency: transitive description: name: charcode url: "https://pub.dartlang.org" source: hosted - version: "1.2.0-nullsafety.1" + version: "1.2.0-nullsafety.3" clock: dependency: transitive description: name: clock url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.1" + version: "1.1.0-nullsafety.3" collection: dependency: transitive description: name: collection url: "https://pub.dartlang.org" source: hosted - version: "1.15.0-nullsafety.3" + version: "1.15.0-nullsafety.5" cupertino_icons: dependency: "direct main" description: name: cupertino_icons url: "https://pub.dartlang.org" source: hosted - version: "1.0.0" + version: "1.0.2" fake_async: dependency: transitive description: name: fake_async url: "https://pub.dartlang.org" source: hosted - version: "1.2.0-nullsafety.1" + version: "1.2.0-nullsafety.3" flutter: dependency: "direct main" description: flutter @@ -73,21 +73,21 @@ packages: name: matcher url: "https://pub.dartlang.org" source: hosted - version: "0.12.10-nullsafety.1" + version: "0.12.10-nullsafety.3" meta: dependency: transitive description: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.3" + version: "1.3.0-nullsafety.6" path: dependency: transitive description: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.8.0-nullsafety.1" + version: "1.8.0-nullsafety.3" pedantic: dependency: "direct dev" description: @@ -106,55 +106,55 @@ packages: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.8.0-nullsafety.2" + version: "1.8.0-nullsafety.4" stack_trace: dependency: transitive description: name: stack_trace url: "https://pub.dartlang.org" source: hosted - version: "1.10.0-nullsafety.1" + version: "1.10.0-nullsafety.6" stream_channel: dependency: transitive description: name: stream_channel url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.1" + version: "2.1.0-nullsafety.3" string_scanner: dependency: transitive description: name: string_scanner url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.1" + version: "1.1.0-nullsafety.3" term_glyph: dependency: transitive description: name: term_glyph url: "https://pub.dartlang.org" source: hosted - version: "1.2.0-nullsafety.1" + version: "1.2.0-nullsafety.3" test_api: dependency: transitive description: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.2.19-nullsafety.2" + version: "0.2.19-nullsafety.6" typed_data: dependency: transitive description: name: typed_data url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.3" + version: "1.3.0-nullsafety.5" vector_math: dependency: transitive description: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.3" + version: "2.1.0-nullsafety.5" sdks: - dart: ">=2.10.0 <2.11.0" + dart: ">=2.12.0-0.0 <3.0.0" diff --git a/experimental/web_dashboard/pubspec.lock b/experimental/web_dashboard/pubspec.lock index 8f16f4da9..15aa6d673 100644 --- a/experimental/web_dashboard/pubspec.lock +++ b/experimental/web_dashboard/pubspec.lock @@ -14,7 +14,7 @@ packages: name: analyzer url: "https://pub.dartlang.org" source: hosted - version: "0.41.1" + version: "0.41.2" args: dependency: transitive description: @@ -42,7 +42,7 @@ packages: name: build url: "https://pub.dartlang.org" source: hosted - version: "1.6.0" + version: "1.6.2" build_config: dependency: transitive description: @@ -56,28 +56,28 @@ packages: name: build_daemon url: "https://pub.dartlang.org" source: hosted - version: "2.1.4" + version: "2.1.7" build_resolvers: dependency: transitive description: name: build_resolvers url: "https://pub.dartlang.org" source: hosted - version: "1.5.1" + version: "1.5.3" build_runner: dependency: "direct dev" description: name: build_runner url: "https://pub.dartlang.org" source: hosted - version: "1.10.11" + version: "1.11.1" build_runner_core: dependency: transitive description: name: build_runner_core url: "https://pub.dartlang.org" source: hosted - version: "6.1.5" + version: "6.1.7" built_collection: dependency: transitive description: @@ -168,7 +168,7 @@ packages: name: code_builder url: "https://pub.dartlang.org" source: hosted - version: "3.5.0" + version: "3.6.0" collection: dependency: transitive description: @@ -189,7 +189,7 @@ packages: name: coverage url: "https://pub.dartlang.org" source: hosted - version: "0.14.2" + version: "0.15.1" crypto: dependency: transitive description: @@ -210,7 +210,7 @@ packages: name: dart_style url: "https://pub.dartlang.org" source: hosted - version: "1.3.10" + version: "1.3.11" fake_async: dependency: transitive description: @@ -309,7 +309,7 @@ packages: name: google_sign_in url: "https://pub.dartlang.org" source: hosted - version: "4.5.6" + version: "4.5.9" google_sign_in_platform_interface: dependency: transitive description: @@ -449,7 +449,7 @@ packages: name: node_preamble url: "https://pub.dartlang.org" source: hosted - version: "1.4.12" + version: "1.4.13" package_config: dependency: transitive description: @@ -491,7 +491,7 @@ packages: name: provider url: "https://pub.dartlang.org" source: hosted - version: "4.3.2+3" + version: "4.3.3" pub_semver: dependency: transitive description: @@ -526,21 +526,21 @@ packages: name: shelf_packages_handler url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.0.1" shelf_static: dependency: transitive description: name: shelf_static url: "https://pub.dartlang.org" source: hosted - version: "0.2.9+1" + version: "0.2.9+2" shelf_web_socket: dependency: transitive description: name: shelf_web_socket url: "https://pub.dartlang.org" source: hosted - version: "0.2.3" + version: "0.2.4" sky_engine: dependency: transitive description: flutter @@ -615,7 +615,7 @@ packages: name: test url: "https://pub.dartlang.org" source: hosted - version: "1.16.0-nullsafety.13" + version: "1.16.0-nullsafety.17" test_api: dependency: transitive description: @@ -629,7 +629,7 @@ packages: name: test_core url: "https://pub.dartlang.org" source: hosted - version: "0.3.12-nullsafety.12" + version: "0.3.12-nullsafety.15" timing: dependency: transitive description: @@ -678,7 +678,7 @@ packages: name: web_socket_channel url: "https://pub.dartlang.org" source: hosted - version: "1.1.0" + version: "1.2.0" webkit_inspection_protocol: dependency: transitive description: @@ -695,4 +695,4 @@ packages: version: "2.2.1" sdks: dart: ">=2.12.0-0.0 <3.0.0" - flutter: ">=1.16.0 <2.0.0" + flutter: ">=1.16.0" diff --git a/form_app/pubspec.lock b/form_app/pubspec.lock index 741122ca7..785abf860 100644 --- a/form_app/pubspec.lock +++ b/form_app/pubspec.lock @@ -28,14 +28,14 @@ packages: name: async url: "https://pub.dartlang.org" source: hosted - version: "2.5.0-nullsafety.1" + version: "2.5.0-nullsafety.3" boolean_selector: dependency: transitive description: name: boolean_selector url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.1" + version: "2.1.0-nullsafety.3" build: dependency: transitive description: @@ -98,14 +98,14 @@ packages: name: characters url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.3" + version: "1.1.0-nullsafety.5" charcode: dependency: transitive description: name: charcode url: "https://pub.dartlang.org" source: hosted - version: "1.2.0-nullsafety.1" + version: "1.2.0-nullsafety.3" checked_yaml: dependency: transitive description: @@ -126,7 +126,7 @@ packages: name: clock url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.1" + version: "1.1.0-nullsafety.3" code_builder: dependency: transitive description: @@ -140,7 +140,7 @@ packages: name: collection url: "https://pub.dartlang.org" source: hosted - version: "1.15.0-nullsafety.3" + version: "1.15.0-nullsafety.5" convert: dependency: transitive description: @@ -182,7 +182,7 @@ packages: name: fake_async url: "https://pub.dartlang.org" source: hosted - version: "1.2.0-nullsafety.1" + version: "1.2.0-nullsafety.3" file: dependency: transitive description: @@ -290,14 +290,14 @@ packages: name: matcher url: "https://pub.dartlang.org" source: hosted - version: "0.12.10-nullsafety.1" + version: "0.12.10-nullsafety.3" meta: dependency: transitive description: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.3" + version: "1.3.0-nullsafety.6" mime: dependency: transitive description: @@ -339,7 +339,7 @@ packages: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.8.0-nullsafety.1" + version: "1.8.0-nullsafety.3" pedantic: dependency: transitive description: @@ -407,21 +407,21 @@ packages: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.8.0-nullsafety.2" + version: "1.8.0-nullsafety.4" stack_trace: dependency: transitive description: name: stack_trace url: "https://pub.dartlang.org" source: hosted - version: "1.10.0-nullsafety.1" + version: "1.10.0-nullsafety.6" stream_channel: dependency: transitive description: name: stream_channel url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.1" + version: "2.1.0-nullsafety.3" stream_transform: dependency: transitive description: @@ -435,21 +435,21 @@ packages: name: string_scanner url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.1" + version: "1.1.0-nullsafety.3" term_glyph: dependency: transitive description: name: term_glyph url: "https://pub.dartlang.org" source: hosted - version: "1.2.0-nullsafety.1" + version: "1.2.0-nullsafety.3" test_api: dependency: transitive description: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.2.19-nullsafety.2" + version: "0.2.19-nullsafety.6" timing: dependency: transitive description: @@ -463,14 +463,14 @@ packages: name: typed_data url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.3" + version: "1.3.0-nullsafety.5" vector_math: dependency: transitive description: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.3" + version: "2.1.0-nullsafety.5" watcher: dependency: transitive description: @@ -493,4 +493,4 @@ packages: source: hosted version: "2.2.1" sdks: - dart: ">=2.10.0 <2.11.0" + dart: ">=2.12.0-0.0 <3.0.0" diff --git a/place_tracker/pubspec.lock b/place_tracker/pubspec.lock index 7af4a9959..c80846e70 100644 --- a/place_tracker/pubspec.lock +++ b/place_tracker/pubspec.lock @@ -7,42 +7,42 @@ packages: name: async url: "https://pub.dartlang.org" source: hosted - version: "2.5.0-nullsafety.1" + version: "2.5.0-nullsafety.3" boolean_selector: dependency: transitive description: name: boolean_selector url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.1" + version: "2.1.0-nullsafety.3" characters: dependency: transitive description: name: characters url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.3" + version: "1.1.0-nullsafety.5" charcode: dependency: transitive description: name: charcode url: "https://pub.dartlang.org" source: hosted - version: "1.2.0-nullsafety.1" + version: "1.2.0-nullsafety.3" clock: dependency: transitive description: name: clock url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.1" + version: "1.1.0-nullsafety.3" collection: dependency: transitive description: name: collection url: "https://pub.dartlang.org" source: hosted - version: "1.15.0-nullsafety.3" + version: "1.15.0-nullsafety.5" convert: dependency: transitive description: @@ -70,14 +70,14 @@ packages: name: cupertino_icons url: "https://pub.dartlang.org" source: hosted - version: "1.0.0" + version: "1.0.2" fake_async: dependency: transitive description: name: fake_async url: "https://pub.dartlang.org" source: hosted - version: "1.2.0-nullsafety.1" + version: "1.2.0-nullsafety.3" flutter: dependency: "direct main" description: flutter @@ -113,21 +113,21 @@ packages: name: google_maps_flutter url: "https://pub.dartlang.org" source: hosted - version: "1.0.6" + version: "1.1.1" google_maps_flutter_platform_interface: dependency: transitive description: name: google_maps_flutter_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "1.0.5" + version: "1.1.0" google_maps_flutter_web: dependency: "direct main" description: name: google_maps_flutter_web url: "https://pub.dartlang.org" source: hosted - version: "0.1.0+8" + version: "0.1.1" html: dependency: transitive description: @@ -135,6 +135,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "0.14.0+4" + js: + dependency: transitive + description: + name: js + url: "https://pub.dartlang.org" + source: hosted + version: "0.6.3-nullsafety.3" js_wrapping: dependency: transitive description: @@ -148,14 +155,14 @@ packages: name: matcher url: "https://pub.dartlang.org" source: hosted - version: "0.12.10-nullsafety.1" + version: "0.12.10-nullsafety.3" meta: dependency: transitive description: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.3" + version: "1.3.0-nullsafety.6" nested: dependency: transitive description: @@ -169,7 +176,7 @@ packages: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.8.0-nullsafety.1" + version: "1.8.0-nullsafety.3" pedantic: dependency: "direct dev" description: @@ -190,7 +197,7 @@ packages: name: provider url: "https://pub.dartlang.org" source: hosted - version: "4.3.2+3" + version: "4.3.3" sanitize_html: dependency: transitive description: @@ -209,21 +216,21 @@ packages: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.8.0-nullsafety.2" + version: "1.8.0-nullsafety.4" stack_trace: dependency: transitive description: name: stack_trace url: "https://pub.dartlang.org" source: hosted - version: "1.10.0-nullsafety.1" + version: "1.10.0-nullsafety.6" stream_channel: dependency: transitive description: name: stream_channel url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.1" + version: "2.1.0-nullsafety.3" stream_transform: dependency: transitive description: @@ -237,28 +244,28 @@ packages: name: string_scanner url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.1" + version: "1.1.0-nullsafety.3" term_glyph: dependency: transitive description: name: term_glyph url: "https://pub.dartlang.org" source: hosted - version: "1.2.0-nullsafety.1" + version: "1.2.0-nullsafety.3" test_api: dependency: transitive description: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.2.19-nullsafety.2" + version: "0.2.19-nullsafety.6" typed_data: dependency: transitive description: name: typed_data url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.3" + version: "1.3.0-nullsafety.5" uuid: dependency: "direct main" description: @@ -272,7 +279,7 @@ packages: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.3" + version: "2.1.0-nullsafety.5" sdks: - dart: ">=2.10.0 <2.11.0" - flutter: ">=1.22.0 <2.0.0" + dart: ">=2.12.0-0.0 <3.0.0" + flutter: ">=1.22.0" diff --git a/provider_shopper/pubspec.lock b/provider_shopper/pubspec.lock index 56ed87f2b..ef969e037 100644 --- a/provider_shopper/pubspec.lock +++ b/provider_shopper/pubspec.lock @@ -7,49 +7,49 @@ packages: name: async url: "https://pub.dartlang.org" source: hosted - version: "2.5.0-nullsafety.1" + version: "2.5.0-nullsafety.3" boolean_selector: dependency: transitive description: name: boolean_selector url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.1" + version: "2.1.0-nullsafety.3" characters: dependency: transitive description: name: characters url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.3" + version: "1.1.0-nullsafety.5" charcode: dependency: transitive description: name: charcode url: "https://pub.dartlang.org" source: hosted - version: "1.2.0-nullsafety.1" + version: "1.2.0-nullsafety.3" clock: dependency: transitive description: name: clock url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.1" + version: "1.1.0-nullsafety.3" collection: dependency: transitive description: name: collection url: "https://pub.dartlang.org" source: hosted - version: "1.15.0-nullsafety.3" + version: "1.15.0-nullsafety.5" fake_async: dependency: transitive description: name: fake_async url: "https://pub.dartlang.org" source: hosted - version: "1.2.0-nullsafety.1" + version: "1.2.0-nullsafety.3" flutter: dependency: "direct main" description: flutter @@ -66,14 +66,14 @@ packages: name: matcher url: "https://pub.dartlang.org" source: hosted - version: "0.12.10-nullsafety.1" + version: "0.12.10-nullsafety.3" meta: dependency: transitive description: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.3" + version: "1.3.0-nullsafety.6" nested: dependency: transitive description: @@ -87,7 +87,7 @@ packages: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.8.0-nullsafety.1" + version: "1.8.0-nullsafety.3" pedantic: dependency: "direct dev" description: @@ -101,7 +101,7 @@ packages: name: provider url: "https://pub.dartlang.org" source: hosted - version: "4.3.2+3" + version: "4.3.3" sky_engine: dependency: transitive description: flutter @@ -113,56 +113,56 @@ packages: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.8.0-nullsafety.2" + version: "1.8.0-nullsafety.4" stack_trace: dependency: transitive description: name: stack_trace url: "https://pub.dartlang.org" source: hosted - version: "1.10.0-nullsafety.1" + version: "1.10.0-nullsafety.6" stream_channel: dependency: transitive description: name: stream_channel url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.1" + version: "2.1.0-nullsafety.3" string_scanner: dependency: transitive description: name: string_scanner url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.1" + version: "1.1.0-nullsafety.3" term_glyph: dependency: transitive description: name: term_glyph url: "https://pub.dartlang.org" source: hosted - version: "1.2.0-nullsafety.1" + version: "1.2.0-nullsafety.3" test_api: dependency: transitive description: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.2.19-nullsafety.2" + version: "0.2.19-nullsafety.6" typed_data: dependency: transitive description: name: typed_data url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.3" + version: "1.3.0-nullsafety.5" vector_math: dependency: transitive description: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.3" + version: "2.1.0-nullsafety.5" sdks: - dart: ">=2.10.0-110 <2.11.0" + dart: ">=2.12.0-0.0 <3.0.0" flutter: ">=1.16.0" diff --git a/web/_tool/pubspec.lock b/web/_tool/pubspec.lock index a05a2b57b..fe89ca131 100644 --- a/web/_tool/pubspec.lock +++ b/web/_tool/pubspec.lock @@ -14,27 +14,27 @@ packages: name: charcode url: "https://pub.dartlang.org" source: hosted - version: "1.1.3" + version: "1.2.0-nullsafety.3" markdown: dependency: "direct main" description: name: markdown url: "https://pub.dartlang.org" source: hosted - version: "2.1.8" + version: "4.0.0-nullsafety.0" meta: dependency: transitive description: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.2.4" + version: "1.3.0-nullsafety.6" path: dependency: "direct main" description: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.7.0" + version: "1.8.0-nullsafety.3" sdks: - dart: ">=2.6.0 <3.0.0" + dart: ">=2.12.0-0 <3.0.0" diff --git a/web/_tool/pubspec.yaml b/web/_tool/pubspec.yaml index 08ed30f37..34e0df8b4 100644 --- a/web/_tool/pubspec.yaml +++ b/web/_tool/pubspec.yaml @@ -1,6 +1,9 @@ name: tool publish_to: none +environment: + sdk: '>=2.10.0 <3.0.0' + dependencies: - markdown: ^2.0.3 - path: ^1.6.2 + markdown: ^4.0.0-nullsafety.0 + path: ^1.8.0-nullsafety.3 diff --git a/web/charts/pubspec.lock b/web/charts/pubspec.lock index 7a9343a08..fbb036cd0 100644 --- a/web/charts/pubspec.lock +++ b/web/charts/pubspec.lock @@ -7,7 +7,7 @@ packages: name: characters url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.3" + version: "1.1.0-nullsafety.5" charts_common: dependency: transitive description: @@ -28,7 +28,7 @@ packages: name: collection url: "https://pub.dartlang.org" source: hosted - version: "1.15.0-nullsafety.3" + version: "1.15.0-nullsafety.5" flutter: dependency: "direct main" description: flutter @@ -54,7 +54,7 @@ packages: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.3" + version: "1.3.0-nullsafety.6" path: dependency: transitive description: @@ -73,13 +73,13 @@ packages: name: typed_data url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.3" + version: "1.3.0-nullsafety.5" vector_math: dependency: transitive description: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.3" + version: "2.1.0-nullsafety.5" sdks: - dart: ">=2.10.0 <2.11.0" + dart: ">=2.12.0-0 <3.0.0" diff --git a/web/filipino_cuisine/pubspec.lock b/web/filipino_cuisine/pubspec.lock index e60746a65..e0259c16e 100644 --- a/web/filipino_cuisine/pubspec.lock +++ b/web/filipino_cuisine/pubspec.lock @@ -7,7 +7,7 @@ packages: name: characters url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.3" + version: "1.1.0-nullsafety.5" charcode: dependency: transitive description: @@ -21,7 +21,7 @@ packages: name: collection url: "https://pub.dartlang.org" source: hosted - version: "1.15.0-nullsafety.3" + version: "1.15.0-nullsafety.5" flutter: dependency: "direct main" description: flutter @@ -61,7 +61,7 @@ packages: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.3" + version: "1.3.0-nullsafety.6" path: dependency: transitive description: @@ -115,14 +115,14 @@ packages: name: typed_data url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.3" + version: "1.3.0-nullsafety.5" vector_math: dependency: transitive description: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.3" + version: "2.1.0-nullsafety.5" sdks: - dart: ">=2.10.0-110 <2.11.0" - flutter: ">=0.1.4 <3.0.0" + dart: ">=2.12.0-0 <3.0.0" + flutter: ">=0.1.4" diff --git a/web/form_app b/web/form_app index 6ddab16cd..665168be1 120000 --- a/web/form_app +++ b/web/form_app @@ -1 +1 @@ -../experimental/form_app \ No newline at end of file +../form_app \ No newline at end of file diff --git a/web/github_dataviz/pubspec.lock b/web/github_dataviz/pubspec.lock index eb91a1e1e..056dbbceb 100644 --- a/web/github_dataviz/pubspec.lock +++ b/web/github_dataviz/pubspec.lock @@ -7,7 +7,7 @@ packages: name: characters url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.3" + version: "1.1.0-nullsafety.5" charcode: dependency: transitive description: @@ -21,7 +21,7 @@ packages: name: collection url: "https://pub.dartlang.org" source: hosted - version: "1.15.0-nullsafety.3" + version: "1.15.0-nullsafety.5" flutter: dependency: "direct main" description: flutter @@ -54,7 +54,7 @@ packages: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.3" + version: "1.3.0-nullsafety.6" path: dependency: transitive description: @@ -101,13 +101,13 @@ packages: name: typed_data url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.3" + version: "1.3.0-nullsafety.5" vector_math: dependency: transitive description: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.3" + version: "2.1.0-nullsafety.5" sdks: - dart: ">=2.10.0-110 <2.11.0" + dart: ">=2.12.0-0 <3.0.0" diff --git a/web/particle_background/pubspec.lock b/web/particle_background/pubspec.lock index 5dbb7029b..49eea0373 100644 --- a/web/particle_background/pubspec.lock +++ b/web/particle_background/pubspec.lock @@ -7,14 +7,14 @@ packages: name: characters url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.3" + version: "1.1.0-nullsafety.5" collection: dependency: transitive description: name: collection url: "https://pub.dartlang.org" source: hosted - version: "1.15.0-nullsafety.3" + version: "1.15.0-nullsafety.5" flutter: dependency: "direct main" description: flutter @@ -26,7 +26,7 @@ packages: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.3" + version: "1.3.0-nullsafety.6" sky_engine: dependency: transitive description: flutter @@ -38,13 +38,13 @@ packages: name: typed_data url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.3" + version: "1.3.0-nullsafety.5" vector_math: dependency: transitive description: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.3" + version: "2.1.0-nullsafety.5" sdks: - dart: ">=2.10.0-110 <2.11.0" + dart: ">=2.12.0-0 <3.0.0" diff --git a/web/peanut.yaml b/web/peanut.yaml index d3e2abd18..16440125e 100644 --- a/web/peanut.yaml +++ b/web/peanut.yaml @@ -9,7 +9,6 @@ directories: - particle_background/web - slide_puzzle/web - timeflow/web -- vision_challenge/web - form_app/web - web_dashboard/web - place_tracker/web diff --git a/web/samples_index/lib/cookbook.dart b/web/samples_index/lib/cookbook.dart index b1a46bf82..b323855fa 100644 --- a/web/samples_index/lib/cookbook.dart +++ b/web/samples_index/lib/cookbook.dart @@ -55,7 +55,7 @@ class CookbookScraper { Future takeScreenshot(String url) async { var screenshot = await _driver.captureScreenshotAsList(); - var file = File('web${screenshotPath(url)}'); + var file = File('web/${screenshotPath(url)}'); await file.create(recursive: true); await file.writeAsBytes(screenshot); } @@ -72,5 +72,9 @@ String screenshotPath(String url) { String parseFileName(String link) { var p = path.basename(link); var dot = p.indexOf('.'); - return p.substring(0, dot); + var detailName = p.substring(0, dot); + // var categoryName = path.split(link); + var components = path.split(link); + var categoryName = components[components.length - 2]; + return '$categoryName-$detailName'; } diff --git a/web/samples_index/lib/src/cookbook.json b/web/samples_index/lib/src/cookbook.json index 73c97eddc..33810791a 100644 --- a/web/samples_index/lib/src/cookbook.json +++ b/web/samples_index/lib/src/cookbook.json @@ -5,7 +5,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/page-route-animation.png", + "url": "images/cookbook/animation-page-route-animation.png", "alt": "Cookbook article" } ], @@ -30,7 +30,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/physics-simulation.png", + "url": "images/cookbook/animation-physics-simulation.png", "alt": "Cookbook article" } ], @@ -55,7 +55,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/animated-container.png", + "url": "images/cookbook/animation-animated-container.png", "alt": "Cookbook article" } ], @@ -80,7 +80,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/opacity-animation.png", + "url": "images/cookbook/animation-opacity-animation.png", "alt": "Cookbook article" } ], @@ -105,7 +105,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/drawer.png", + "url": "images/cookbook/design-drawer.png", "alt": "Cookbook article" } ], @@ -130,7 +130,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/snackbars.png", + "url": "images/cookbook/design-snackbars.png", "alt": "Cookbook article" } ], @@ -155,7 +155,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/package-fonts.png", + "url": "images/cookbook/design-package-fonts.png", "alt": "Cookbook article" } ], @@ -180,7 +180,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/orientation.png", + "url": "images/cookbook/design-orientation.png", "alt": "Cookbook article" } ], @@ -205,7 +205,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/fonts.png", + "url": "images/cookbook/design-fonts.png", "alt": "Cookbook article" } ], @@ -230,7 +230,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/themes.png", + "url": "images/cookbook/design-themes.png", "alt": "Cookbook article" } ], @@ -255,7 +255,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/tabs.png", + "url": "images/cookbook/design-tabs.png", "alt": "Cookbook article" } ], @@ -280,7 +280,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/validation.png", + "url": "images/cookbook/forms-validation.png", "alt": "Cookbook article" } ], @@ -305,7 +305,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/text-input.png", + "url": "images/cookbook/forms-text-input.png", "alt": "Cookbook article" } ], @@ -330,7 +330,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/focus.png", + "url": "images/cookbook/forms-focus.png", "alt": "Cookbook article" } ], @@ -355,7 +355,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/text-field-changes.png", + "url": "images/cookbook/forms-text-field-changes.png", "alt": "Cookbook article" } ], @@ -380,7 +380,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/retrieve-input.png", + "url": "images/cookbook/forms-retrieve-input.png", "alt": "Cookbook article" } ], @@ -405,7 +405,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/ripples.png", + "url": "images/cookbook/gestures-ripples.png", "alt": "Cookbook article" } ], @@ -430,7 +430,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/handling-taps.png", + "url": "images/cookbook/gestures-handling-taps.png", "alt": "Cookbook article" } ], @@ -455,7 +455,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/dismissible.png", + "url": "images/cookbook/gestures-dismissible.png", "alt": "Cookbook article" } ], @@ -480,7 +480,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/network-image.png", + "url": "images/cookbook/images-network-image.png", "alt": "Cookbook article" } ], @@ -505,7 +505,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/fading-in-images.png", + "url": "images/cookbook/images-fading-in-images.png", "alt": "Cookbook article" } ], @@ -530,7 +530,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/cached-images.png", + "url": "images/cookbook/images-cached-images.png", "alt": "Cookbook article" } ], @@ -555,7 +555,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/grid-lists.png", + "url": "images/cookbook/lists-grid-lists.png", "alt": "Cookbook article" } ], @@ -580,7 +580,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/horizontal-list.png", + "url": "images/cookbook/lists-horizontal-list.png", "alt": "Cookbook article" } ], @@ -605,7 +605,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/mixed-list.png", + "url": "images/cookbook/lists-mixed-list.png", "alt": "Cookbook article" } ], @@ -630,7 +630,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/floating-app-bar.png", + "url": "images/cookbook/lists-floating-app-bar.png", "alt": "Cookbook article" } ], @@ -655,7 +655,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/basic-list.png", + "url": "images/cookbook/lists-basic-list.png", "alt": "Cookbook article" } ], @@ -680,7 +680,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/long-lists.png", + "url": "images/cookbook/lists-long-lists.png", "alt": "Cookbook article" } ], @@ -705,7 +705,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/error-reporting.png", + "url": "images/cookbook/maintenance-error-reporting.png", "alt": "Cookbook article" } ], @@ -730,7 +730,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/hero-animations.png", + "url": "images/cookbook/navigation-hero-animations.png", "alt": "Cookbook article" } ], @@ -755,7 +755,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/navigation-basics.png", + "url": "images/cookbook/navigation-navigation-basics.png", "alt": "Cookbook article" } ], @@ -780,7 +780,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/named-routes.png", + "url": "images/cookbook/navigation-named-routes.png", "alt": "Cookbook article" } ], @@ -805,7 +805,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/navigate-with-arguments.png", + "url": "images/cookbook/navigation-navigate-with-arguments.png", "alt": "Cookbook article" } ], @@ -830,7 +830,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/returning-data.png", + "url": "images/cookbook/navigation-returning-data.png", "alt": "Cookbook article" } ], @@ -855,7 +855,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/passing-data.png", + "url": "images/cookbook/navigation-passing-data.png", "alt": "Cookbook article" } ], @@ -875,12 +875,37 @@ "date": null, "channel": null }, + { + "name": "Delete data on the internet", + "author": "Flutter", + "screenshots": [ + { + "url": "images/cookbook/networking-delete-data.png", + "alt": "Cookbook article" + } + ], + "source": "https://flutter.dev/docs/cookbook/networking/delete-data.html", + "web": null, + "description": "This recipe covers how to delete data over\nthe internet using the http package.", + "difficulty": null, + "widgets": [], + "packages": [], + "tags": [ + "cookbook", + "networking" + ], + "platforms": [], + "links": [], + "type": "cookbook", + "date": null, + "channel": null + }, { "name": "Fetch data from the internet", "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/fetch-data.png", + "url": "images/cookbook/networking-fetch-data.png", "alt": "Cookbook article" } ], @@ -905,13 +930,13 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/authenticated-requests.png", + "url": "images/cookbook/networking-authenticated-requests.png", "alt": "Cookbook article" } ], "source": "https://flutter.dev/docs/cookbook/networking/authenticated-requests.html", "web": null, - "description": "To fetch data from many web services, you need to provide\nauthorization. There are many ways to do this, but perhaps the most common\nuses the Authorization HTTP header.", + "description": "To fetch data from most web services, you need to provide\nauthorization. There are many ways to do this,\nbut perhaps the most common uses the Authorization HTTP header.", "difficulty": null, "widgets": [], "packages": [], @@ -930,7 +955,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/background-parsing.png", + "url": "images/cookbook/networking-background-parsing.png", "alt": "Cookbook article" } ], @@ -955,13 +980,38 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/send-data.png", + "url": "images/cookbook/networking-send-data.png", "alt": "Cookbook article" } ], "source": "https://flutter.dev/docs/cookbook/networking/send-data.html", "web": null, - "description": "Sending data to the internet is necessary for most apps.\nThe http package has got it covered too.", + "description": "Sending data to the internet is necessary for most apps.\nThe http package has got that covered, too.", + "difficulty": null, + "widgets": [], + "packages": [], + "tags": [ + "cookbook", + "networking" + ], + "platforms": [], + "links": [], + "type": "cookbook", + "date": null, + "channel": null + }, + { + "name": "Update data over the internet", + "author": "Flutter", + "screenshots": [ + { + "url": "images/cookbook/networking-update-data.png", + "alt": "Cookbook article" + } + ], + "source": "https://flutter.dev/docs/cookbook/networking/update-data.html", + "web": null, + "description": "Updating data over the internet is necessary for most apps.\nThe http package has got that covered!", "difficulty": null, "widgets": [], "packages": [], @@ -980,7 +1030,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/web-sockets.png", + "url": "images/cookbook/networking-web-sockets.png", "alt": "Cookbook article" } ], @@ -1005,13 +1055,13 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/sqlite.png", + "url": "images/cookbook/persistence-sqlite.png", "alt": "Cookbook article" } ], "source": "https://flutter.dev/docs/cookbook/persistence/sqlite.html", "web": null, - "description": "If writing an app that needs to persist and query larger amounts of data on\nthe local device, consider using a database instead of a local file or\nkey-value store. In general, databases provide faster inserts, updates,\nand queries, compared to other local persistence solutions.", + "description": "If you are writing an app that needs to persist and query large amounts of data on\nthe local device, consider using a database instead of a local file or\nkey-value store. In general, databases provide faster inserts, updates,\nand queries compared to other local persistence solutions.", "difficulty": null, "widgets": [], "packages": [], @@ -1030,7 +1080,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/reading-writing-files.png", + "url": "images/cookbook/persistence-reading-writing-files.png", "alt": "Cookbook article" } ], @@ -1055,7 +1105,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/key-value.png", + "url": "images/cookbook/persistence-key-value.png", "alt": "Cookbook article" } ], @@ -1080,7 +1130,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/play-video.png", + "url": "images/cookbook/plugins-play-video.png", "alt": "Cookbook article" } ], @@ -1105,7 +1155,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/picture-using-camera.png", + "url": "images/cookbook/plugins-picture-using-camera.png", "alt": "Cookbook article" } ], @@ -1130,13 +1180,13 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/introduction.png", + "url": "images/cookbook/integration-introduction.png", "alt": "Cookbook article" } ], "source": "https://flutter.dev/docs/cookbook/testing/integration/introduction.html", "web": null, - "description": "Unit tests and widget tests are handy for testing individual classes,\nfunctions, or widgets. However, they generally don’t test how\nindividual pieces work together as a whole or capture the performance\nof an application running on a real device. These tasks are performed\nwith integration tests.", + "description": "Unit tests and widget tests are handy for testing individual classes,\nfunctions, or widgets. However, they generally don’t test how\nindividual pieces work together as a whole, or capture the performance\nof an application running on a real device. These tasks are performed\nwith integration tests.", "difficulty": null, "widgets": [], "packages": [], @@ -1155,7 +1205,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/scrolling.png", + "url": "images/cookbook/integration-scrolling.png", "alt": "Cookbook article" } ], @@ -1180,7 +1230,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/profiling.png", + "url": "images/cookbook/integration-profiling.png", "alt": "Cookbook article" } ], @@ -1205,13 +1255,13 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/introduction.png", + "url": "images/cookbook/unit-introduction.png", "alt": "Cookbook article" } ], "source": "https://flutter.dev/docs/cookbook/testing/unit/introduction.html", "web": null, - "description": "How can you ensure that your app continues to work as you add more features or\nchange existing functionality? By writing tests.", + "description": "How can you ensure that your app continues to work as you\nadd more features or change existing functionality?\nBy writing tests.", "difficulty": null, "widgets": [], "packages": [], @@ -1230,7 +1280,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/mocking.png", + "url": "images/cookbook/unit-mocking.png", "alt": "Cookbook article" } ], @@ -1255,7 +1305,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/introduction.png", + "url": "images/cookbook/widget-introduction.png", "alt": "Cookbook article" } ], @@ -1280,7 +1330,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/finders.png", + "url": "images/cookbook/widget-finders.png", "alt": "Cookbook article" } ], @@ -1305,7 +1355,7 @@ "author": "Flutter", "screenshots": [ { - "url": "images/cookbook/tap-drag.png", + "url": "images/cookbook/widget-tap-drag.png", "alt": "Cookbook article" } ], diff --git a/web/samples_index/lib/src/samples.yaml b/web/samples_index/lib/src/samples.yaml index 8964846fc..2d29a1366 100644 --- a/web/samples_index/lib/src/samples.yaml +++ b/web/samples_index/lib/src/samples.yaml @@ -524,24 +524,6 @@ samples: web: web/timeflow type: demo - - name: Vision Challenge - author: Yukkei Choi - screenshots: - - url: images/vision_challenge1.png - alt: Vision Challenge screenshot - - url: images/vision_challenge2.png - alt: Vision Challenge screenshot - source: https://github.com/flutter/samples/tree/master/web/vision_challenge - description: > - A fun game to test your color perception abilities. - difficulty: advanced - widgets: [] - packages: [] - platforms: ['web'] - tags: ['demo', 'game'] - web: web/vision_challenge - type: demo - - name: Dice author: Jaime Blasco screenshots: diff --git a/web/samples_index/web/images/cookbook/animation-animated-container.png b/web/samples_index/web/images/cookbook/animation-animated-container.png new file mode 100644 index 000000000..cdc66a75e Binary files /dev/null and b/web/samples_index/web/images/cookbook/animation-animated-container.png differ diff --git a/web/samples_index/web/images/cookbook/animation-opacity-animation.png b/web/samples_index/web/images/cookbook/animation-opacity-animation.png new file mode 100644 index 000000000..b39080e04 Binary files /dev/null and b/web/samples_index/web/images/cookbook/animation-opacity-animation.png differ diff --git a/web/samples_index/web/images/cookbook/animation-page-route-animation.png b/web/samples_index/web/images/cookbook/animation-page-route-animation.png new file mode 100644 index 000000000..29188d36c Binary files /dev/null and b/web/samples_index/web/images/cookbook/animation-page-route-animation.png differ diff --git a/web/samples_index/web/images/cookbook/animation-physics-simulation.png b/web/samples_index/web/images/cookbook/animation-physics-simulation.png new file mode 100644 index 000000000..725aa624d Binary files /dev/null and b/web/samples_index/web/images/cookbook/animation-physics-simulation.png differ diff --git a/web/samples_index/web/images/cookbook/design-drawer.png b/web/samples_index/web/images/cookbook/design-drawer.png new file mode 100644 index 000000000..c39bffdac Binary files /dev/null and b/web/samples_index/web/images/cookbook/design-drawer.png differ diff --git a/web/samples_index/web/images/cookbook/design-fonts.png b/web/samples_index/web/images/cookbook/design-fonts.png new file mode 100644 index 000000000..0aaf4660e Binary files /dev/null and b/web/samples_index/web/images/cookbook/design-fonts.png differ diff --git a/web/samples_index/web/images/cookbook/design-orientation.png b/web/samples_index/web/images/cookbook/design-orientation.png new file mode 100644 index 000000000..cdcd7986b Binary files /dev/null and b/web/samples_index/web/images/cookbook/design-orientation.png differ diff --git a/web/samples_index/web/images/cookbook/design-package-fonts.png b/web/samples_index/web/images/cookbook/design-package-fonts.png new file mode 100644 index 000000000..e300b6645 Binary files /dev/null and b/web/samples_index/web/images/cookbook/design-package-fonts.png differ diff --git a/web/samples_index/web/images/cookbook/design-snackbars.png b/web/samples_index/web/images/cookbook/design-snackbars.png new file mode 100644 index 000000000..5ac9a21ce Binary files /dev/null and b/web/samples_index/web/images/cookbook/design-snackbars.png differ diff --git a/web/samples_index/web/images/cookbook/design-tabs.png b/web/samples_index/web/images/cookbook/design-tabs.png new file mode 100644 index 000000000..fbb28ab3b Binary files /dev/null and b/web/samples_index/web/images/cookbook/design-tabs.png differ diff --git a/web/samples_index/web/images/cookbook/design-themes.png b/web/samples_index/web/images/cookbook/design-themes.png new file mode 100644 index 000000000..0cdda433d Binary files /dev/null and b/web/samples_index/web/images/cookbook/design-themes.png differ diff --git a/web/samples_index/web/images/cookbook/forms-focus.png b/web/samples_index/web/images/cookbook/forms-focus.png new file mode 100644 index 000000000..1d0b0875d Binary files /dev/null and b/web/samples_index/web/images/cookbook/forms-focus.png differ diff --git a/web/samples_index/web/images/cookbook/forms-retrieve-input.png b/web/samples_index/web/images/cookbook/forms-retrieve-input.png new file mode 100644 index 000000000..260fb6c06 Binary files /dev/null and b/web/samples_index/web/images/cookbook/forms-retrieve-input.png differ diff --git a/web/samples_index/web/images/cookbook/forms-text-field-changes.png b/web/samples_index/web/images/cookbook/forms-text-field-changes.png new file mode 100644 index 000000000..e85d73390 Binary files /dev/null and b/web/samples_index/web/images/cookbook/forms-text-field-changes.png differ diff --git a/web/samples_index/web/images/cookbook/forms-text-input.png b/web/samples_index/web/images/cookbook/forms-text-input.png new file mode 100644 index 000000000..9c79c0e21 Binary files /dev/null and b/web/samples_index/web/images/cookbook/forms-text-input.png differ diff --git a/web/samples_index/web/images/cookbook/forms-validation.png b/web/samples_index/web/images/cookbook/forms-validation.png new file mode 100644 index 000000000..8a384a3e5 Binary files /dev/null and b/web/samples_index/web/images/cookbook/forms-validation.png differ diff --git a/web/samples_index/web/images/cookbook/gestures-dismissible.png b/web/samples_index/web/images/cookbook/gestures-dismissible.png new file mode 100644 index 000000000..bf0e74a2b Binary files /dev/null and b/web/samples_index/web/images/cookbook/gestures-dismissible.png differ diff --git a/web/samples_index/web/images/cookbook/gestures-handling-taps.png b/web/samples_index/web/images/cookbook/gestures-handling-taps.png new file mode 100644 index 000000000..1a5165cbe Binary files /dev/null and b/web/samples_index/web/images/cookbook/gestures-handling-taps.png differ diff --git a/web/samples_index/web/images/cookbook/gestures-ripples.png b/web/samples_index/web/images/cookbook/gestures-ripples.png new file mode 100644 index 000000000..db9265b11 Binary files /dev/null and b/web/samples_index/web/images/cookbook/gestures-ripples.png differ diff --git a/web/samples_index/web/images/cookbook/images-cached-images.png b/web/samples_index/web/images/cookbook/images-cached-images.png new file mode 100644 index 000000000..c3334ae39 Binary files /dev/null and b/web/samples_index/web/images/cookbook/images-cached-images.png differ diff --git a/web/samples_index/web/images/cookbook/images-fading-in-images.png b/web/samples_index/web/images/cookbook/images-fading-in-images.png new file mode 100644 index 000000000..577e59378 Binary files /dev/null and b/web/samples_index/web/images/cookbook/images-fading-in-images.png differ diff --git a/web/samples_index/web/images/cookbook/images-network-image.png b/web/samples_index/web/images/cookbook/images-network-image.png new file mode 100644 index 000000000..9757c84f2 Binary files /dev/null and b/web/samples_index/web/images/cookbook/images-network-image.png differ diff --git a/web/samples_index/web/images/cookbook/integration-introduction.png b/web/samples_index/web/images/cookbook/integration-introduction.png new file mode 100644 index 000000000..fecce1f25 Binary files /dev/null and b/web/samples_index/web/images/cookbook/integration-introduction.png differ diff --git a/web/samples_index/web/images/cookbook/integration-profiling.png b/web/samples_index/web/images/cookbook/integration-profiling.png new file mode 100644 index 000000000..da94a63ac Binary files /dev/null and b/web/samples_index/web/images/cookbook/integration-profiling.png differ diff --git a/web/samples_index/web/images/cookbook/integration-scrolling.png b/web/samples_index/web/images/cookbook/integration-scrolling.png new file mode 100644 index 000000000..5493b3576 Binary files /dev/null and b/web/samples_index/web/images/cookbook/integration-scrolling.png differ diff --git a/web/samples_index/web/images/cookbook/lists-basic-list.png b/web/samples_index/web/images/cookbook/lists-basic-list.png new file mode 100644 index 000000000..13b703efd Binary files /dev/null and b/web/samples_index/web/images/cookbook/lists-basic-list.png differ diff --git a/web/samples_index/web/images/cookbook/lists-floating-app-bar.png b/web/samples_index/web/images/cookbook/lists-floating-app-bar.png new file mode 100644 index 000000000..f16f1766c Binary files /dev/null and b/web/samples_index/web/images/cookbook/lists-floating-app-bar.png differ diff --git a/web/samples_index/web/images/cookbook/lists-grid-lists.png b/web/samples_index/web/images/cookbook/lists-grid-lists.png new file mode 100644 index 000000000..4a125e35b Binary files /dev/null and b/web/samples_index/web/images/cookbook/lists-grid-lists.png differ diff --git a/web/samples_index/web/images/cookbook/lists-horizontal-list.png b/web/samples_index/web/images/cookbook/lists-horizontal-list.png new file mode 100644 index 000000000..383dc756a Binary files /dev/null and b/web/samples_index/web/images/cookbook/lists-horizontal-list.png differ diff --git a/web/samples_index/web/images/cookbook/lists-long-lists.png b/web/samples_index/web/images/cookbook/lists-long-lists.png new file mode 100644 index 000000000..87880291a Binary files /dev/null and b/web/samples_index/web/images/cookbook/lists-long-lists.png differ diff --git a/web/samples_index/web/images/cookbook/lists-mixed-list.png b/web/samples_index/web/images/cookbook/lists-mixed-list.png new file mode 100644 index 000000000..28959f56b Binary files /dev/null and b/web/samples_index/web/images/cookbook/lists-mixed-list.png differ diff --git a/web/samples_index/web/images/cookbook/maintenance-error-reporting.png b/web/samples_index/web/images/cookbook/maintenance-error-reporting.png new file mode 100644 index 000000000..d8a4bcf3f Binary files /dev/null and b/web/samples_index/web/images/cookbook/maintenance-error-reporting.png differ diff --git a/web/samples_index/web/images/cookbook/navigation-hero-animations.png b/web/samples_index/web/images/cookbook/navigation-hero-animations.png new file mode 100644 index 000000000..0a7e83494 Binary files /dev/null and b/web/samples_index/web/images/cookbook/navigation-hero-animations.png differ diff --git a/web/samples_index/web/images/cookbook/navigation-named-routes.png b/web/samples_index/web/images/cookbook/navigation-named-routes.png new file mode 100644 index 000000000..22bf779fc Binary files /dev/null and b/web/samples_index/web/images/cookbook/navigation-named-routes.png differ diff --git a/web/samples_index/web/images/cookbook/navigation-navigate-with-arguments.png b/web/samples_index/web/images/cookbook/navigation-navigate-with-arguments.png new file mode 100644 index 000000000..e935d643b Binary files /dev/null and b/web/samples_index/web/images/cookbook/navigation-navigate-with-arguments.png differ diff --git a/web/samples_index/web/images/cookbook/navigation-navigation-basics.png b/web/samples_index/web/images/cookbook/navigation-navigation-basics.png new file mode 100644 index 000000000..b4de1845b Binary files /dev/null and b/web/samples_index/web/images/cookbook/navigation-navigation-basics.png differ diff --git a/web/samples_index/web/images/cookbook/navigation-passing-data.png b/web/samples_index/web/images/cookbook/navigation-passing-data.png new file mode 100644 index 000000000..8b80b692f Binary files /dev/null and b/web/samples_index/web/images/cookbook/navigation-passing-data.png differ diff --git a/web/samples_index/web/images/cookbook/navigation-returning-data.png b/web/samples_index/web/images/cookbook/navigation-returning-data.png new file mode 100644 index 000000000..a005c464e Binary files /dev/null and b/web/samples_index/web/images/cookbook/navigation-returning-data.png differ diff --git a/web/samples_index/web/images/cookbook/networking-authenticated-requests.png b/web/samples_index/web/images/cookbook/networking-authenticated-requests.png new file mode 100644 index 000000000..68a69156c Binary files /dev/null and b/web/samples_index/web/images/cookbook/networking-authenticated-requests.png differ diff --git a/web/samples_index/web/images/cookbook/networking-background-parsing.png b/web/samples_index/web/images/cookbook/networking-background-parsing.png new file mode 100644 index 000000000..f2352ed42 Binary files /dev/null and b/web/samples_index/web/images/cookbook/networking-background-parsing.png differ diff --git a/web/samples_index/web/images/cookbook/networking-delete-data.png b/web/samples_index/web/images/cookbook/networking-delete-data.png new file mode 100644 index 000000000..40596e48b Binary files /dev/null and b/web/samples_index/web/images/cookbook/networking-delete-data.png differ diff --git a/web/samples_index/web/images/cookbook/networking-fetch-data.png b/web/samples_index/web/images/cookbook/networking-fetch-data.png new file mode 100644 index 000000000..cfab777de Binary files /dev/null and b/web/samples_index/web/images/cookbook/networking-fetch-data.png differ diff --git a/web/samples_index/web/images/cookbook/networking-send-data.png b/web/samples_index/web/images/cookbook/networking-send-data.png new file mode 100644 index 000000000..315150f5e Binary files /dev/null and b/web/samples_index/web/images/cookbook/networking-send-data.png differ diff --git a/web/samples_index/web/images/cookbook/networking-update-data.png b/web/samples_index/web/images/cookbook/networking-update-data.png new file mode 100644 index 000000000..7d099cf46 Binary files /dev/null and b/web/samples_index/web/images/cookbook/networking-update-data.png differ diff --git a/web/samples_index/web/images/cookbook/networking-web-sockets.png b/web/samples_index/web/images/cookbook/networking-web-sockets.png new file mode 100644 index 000000000..39490fb76 Binary files /dev/null and b/web/samples_index/web/images/cookbook/networking-web-sockets.png differ diff --git a/web/samples_index/web/images/cookbook/persistence-key-value.png b/web/samples_index/web/images/cookbook/persistence-key-value.png new file mode 100644 index 000000000..38b771751 Binary files /dev/null and b/web/samples_index/web/images/cookbook/persistence-key-value.png differ diff --git a/web/samples_index/web/images/cookbook/persistence-reading-writing-files.png b/web/samples_index/web/images/cookbook/persistence-reading-writing-files.png new file mode 100644 index 000000000..0b6743dd0 Binary files /dev/null and b/web/samples_index/web/images/cookbook/persistence-reading-writing-files.png differ diff --git a/web/samples_index/web/images/cookbook/persistence-sqlite.png b/web/samples_index/web/images/cookbook/persistence-sqlite.png new file mode 100644 index 000000000..3437e2b0b Binary files /dev/null and b/web/samples_index/web/images/cookbook/persistence-sqlite.png differ diff --git a/web/samples_index/web/images/cookbook/plugins-picture-using-camera.png b/web/samples_index/web/images/cookbook/plugins-picture-using-camera.png new file mode 100644 index 000000000..cf7696dbf Binary files /dev/null and b/web/samples_index/web/images/cookbook/plugins-picture-using-camera.png differ diff --git a/web/samples_index/web/images/cookbook/plugins-play-video.png b/web/samples_index/web/images/cookbook/plugins-play-video.png new file mode 100644 index 000000000..936d11e51 Binary files /dev/null and b/web/samples_index/web/images/cookbook/plugins-play-video.png differ diff --git a/web/samples_index/web/images/cookbook/unit-introduction.png b/web/samples_index/web/images/cookbook/unit-introduction.png new file mode 100644 index 000000000..0d2ee7b55 Binary files /dev/null and b/web/samples_index/web/images/cookbook/unit-introduction.png differ diff --git a/web/samples_index/web/images/cookbook/unit-mocking.png b/web/samples_index/web/images/cookbook/unit-mocking.png new file mode 100644 index 000000000..f94e1aa85 Binary files /dev/null and b/web/samples_index/web/images/cookbook/unit-mocking.png differ diff --git a/web/samples_index/web/images/cookbook/widget-finders.png b/web/samples_index/web/images/cookbook/widget-finders.png new file mode 100644 index 000000000..32c9e06af Binary files /dev/null and b/web/samples_index/web/images/cookbook/widget-finders.png differ diff --git a/web/samples_index/web/images/cookbook/widget-introduction.png b/web/samples_index/web/images/cookbook/widget-introduction.png new file mode 100644 index 000000000..6b7c8e0e0 Binary files /dev/null and b/web/samples_index/web/images/cookbook/widget-introduction.png differ diff --git a/web/samples_index/web/images/cookbook/widget-tap-drag.png b/web/samples_index/web/images/cookbook/widget-tap-drag.png new file mode 100644 index 000000000..41fc1ff24 Binary files /dev/null and b/web/samples_index/web/images/cookbook/widget-tap-drag.png differ diff --git a/web/samples_index/web/images/vision_challenge1.png b/web/samples_index/web/images/vision_challenge1.png deleted file mode 100644 index 6b4075c7f..000000000 Binary files a/web/samples_index/web/images/vision_challenge1.png and /dev/null differ diff --git a/web/samples_index/web/images/vision_challenge2.png b/web/samples_index/web/images/vision_challenge2.png deleted file mode 100644 index 3977c2f53..000000000 Binary files a/web/samples_index/web/images/vision_challenge2.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/animated-container.png b/web/samples_index/webimages/cookbook/animated-container.png deleted file mode 100644 index 4bc8ae9ac..000000000 Binary files a/web/samples_index/webimages/cookbook/animated-container.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/authenticated-requests.png b/web/samples_index/webimages/cookbook/authenticated-requests.png deleted file mode 100644 index 224ef5ed7..000000000 Binary files a/web/samples_index/webimages/cookbook/authenticated-requests.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/background-parsing.png b/web/samples_index/webimages/cookbook/background-parsing.png deleted file mode 100644 index 48e44f68c..000000000 Binary files a/web/samples_index/webimages/cookbook/background-parsing.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/basic-list.png b/web/samples_index/webimages/cookbook/basic-list.png deleted file mode 100644 index 32c2a1159..000000000 Binary files a/web/samples_index/webimages/cookbook/basic-list.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/cached-images.png b/web/samples_index/webimages/cookbook/cached-images.png deleted file mode 100644 index 8d90dfefd..000000000 Binary files a/web/samples_index/webimages/cookbook/cached-images.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/dismissible.png b/web/samples_index/webimages/cookbook/dismissible.png deleted file mode 100644 index 1b52a946a..000000000 Binary files a/web/samples_index/webimages/cookbook/dismissible.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/drawer.png b/web/samples_index/webimages/cookbook/drawer.png deleted file mode 100644 index 59372d6af..000000000 Binary files a/web/samples_index/webimages/cookbook/drawer.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/error-reporting.png b/web/samples_index/webimages/cookbook/error-reporting.png deleted file mode 100644 index b29b5f54e..000000000 Binary files a/web/samples_index/webimages/cookbook/error-reporting.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/fading-in-images.png b/web/samples_index/webimages/cookbook/fading-in-images.png deleted file mode 100644 index 3802e2ddb..000000000 Binary files a/web/samples_index/webimages/cookbook/fading-in-images.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/fetch-data.png b/web/samples_index/webimages/cookbook/fetch-data.png deleted file mode 100644 index b8e63db8c..000000000 Binary files a/web/samples_index/webimages/cookbook/fetch-data.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/finders.png b/web/samples_index/webimages/cookbook/finders.png deleted file mode 100644 index 2617fcd52..000000000 Binary files a/web/samples_index/webimages/cookbook/finders.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/floating-app-bar.png b/web/samples_index/webimages/cookbook/floating-app-bar.png deleted file mode 100644 index c28e16d22..000000000 Binary files a/web/samples_index/webimages/cookbook/floating-app-bar.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/focus.png b/web/samples_index/webimages/cookbook/focus.png deleted file mode 100644 index ab6c835c7..000000000 Binary files a/web/samples_index/webimages/cookbook/focus.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/fonts.png b/web/samples_index/webimages/cookbook/fonts.png deleted file mode 100644 index 73f0cf288..000000000 Binary files a/web/samples_index/webimages/cookbook/fonts.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/grid-lists.png b/web/samples_index/webimages/cookbook/grid-lists.png deleted file mode 100644 index 7c32c8b3e..000000000 Binary files a/web/samples_index/webimages/cookbook/grid-lists.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/handling-taps.png b/web/samples_index/webimages/cookbook/handling-taps.png deleted file mode 100644 index 1021374ed..000000000 Binary files a/web/samples_index/webimages/cookbook/handling-taps.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/hero-animations.png b/web/samples_index/webimages/cookbook/hero-animations.png deleted file mode 100644 index 711b2d643..000000000 Binary files a/web/samples_index/webimages/cookbook/hero-animations.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/horizontal-list.png b/web/samples_index/webimages/cookbook/horizontal-list.png deleted file mode 100644 index ae4062405..000000000 Binary files a/web/samples_index/webimages/cookbook/horizontal-list.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/introduction.png b/web/samples_index/webimages/cookbook/introduction.png deleted file mode 100644 index ff1dd1d97..000000000 Binary files a/web/samples_index/webimages/cookbook/introduction.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/key-value.png b/web/samples_index/webimages/cookbook/key-value.png deleted file mode 100644 index 5bff847b1..000000000 Binary files a/web/samples_index/webimages/cookbook/key-value.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/long-lists.png b/web/samples_index/webimages/cookbook/long-lists.png deleted file mode 100644 index da85744fb..000000000 Binary files a/web/samples_index/webimages/cookbook/long-lists.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/mixed-list.png b/web/samples_index/webimages/cookbook/mixed-list.png deleted file mode 100644 index 15f1329e4..000000000 Binary files a/web/samples_index/webimages/cookbook/mixed-list.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/mocking.png b/web/samples_index/webimages/cookbook/mocking.png deleted file mode 100644 index 393a5d891..000000000 Binary files a/web/samples_index/webimages/cookbook/mocking.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/named-routes.png b/web/samples_index/webimages/cookbook/named-routes.png deleted file mode 100644 index f6ce0080d..000000000 Binary files a/web/samples_index/webimages/cookbook/named-routes.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/navigate-with-arguments.png b/web/samples_index/webimages/cookbook/navigate-with-arguments.png deleted file mode 100644 index 0dce10dc5..000000000 Binary files a/web/samples_index/webimages/cookbook/navigate-with-arguments.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/navigation-basics.png b/web/samples_index/webimages/cookbook/navigation-basics.png deleted file mode 100644 index a9e73ed47..000000000 Binary files a/web/samples_index/webimages/cookbook/navigation-basics.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/network-image.png b/web/samples_index/webimages/cookbook/network-image.png deleted file mode 100644 index 7d8beada8..000000000 Binary files a/web/samples_index/webimages/cookbook/network-image.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/opacity-animation.png b/web/samples_index/webimages/cookbook/opacity-animation.png deleted file mode 100644 index 1de97874a..000000000 Binary files a/web/samples_index/webimages/cookbook/opacity-animation.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/orientation.png b/web/samples_index/webimages/cookbook/orientation.png deleted file mode 100644 index 8dedc2be2..000000000 Binary files a/web/samples_index/webimages/cookbook/orientation.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/package-fonts.png b/web/samples_index/webimages/cookbook/package-fonts.png deleted file mode 100644 index 0f941212c..000000000 Binary files a/web/samples_index/webimages/cookbook/package-fonts.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/page-route-animation.png b/web/samples_index/webimages/cookbook/page-route-animation.png deleted file mode 100644 index 02dfa9409..000000000 Binary files a/web/samples_index/webimages/cookbook/page-route-animation.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/passing-data.png b/web/samples_index/webimages/cookbook/passing-data.png deleted file mode 100644 index 862a87982..000000000 Binary files a/web/samples_index/webimages/cookbook/passing-data.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/physics-simulation.png b/web/samples_index/webimages/cookbook/physics-simulation.png deleted file mode 100644 index 262f7ccf9..000000000 Binary files a/web/samples_index/webimages/cookbook/physics-simulation.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/picture-using-camera.png b/web/samples_index/webimages/cookbook/picture-using-camera.png deleted file mode 100644 index 5ad2b6ef7..000000000 Binary files a/web/samples_index/webimages/cookbook/picture-using-camera.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/play-video.png b/web/samples_index/webimages/cookbook/play-video.png deleted file mode 100644 index ccf72c0e1..000000000 Binary files a/web/samples_index/webimages/cookbook/play-video.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/profiling.png b/web/samples_index/webimages/cookbook/profiling.png deleted file mode 100644 index 4ecc9b919..000000000 Binary files a/web/samples_index/webimages/cookbook/profiling.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/reading-writing-files.png b/web/samples_index/webimages/cookbook/reading-writing-files.png deleted file mode 100644 index 47ee879cd..000000000 Binary files a/web/samples_index/webimages/cookbook/reading-writing-files.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/retrieve-input.png b/web/samples_index/webimages/cookbook/retrieve-input.png deleted file mode 100644 index 958ca060f..000000000 Binary files a/web/samples_index/webimages/cookbook/retrieve-input.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/returning-data.png b/web/samples_index/webimages/cookbook/returning-data.png deleted file mode 100644 index 19ef97f2c..000000000 Binary files a/web/samples_index/webimages/cookbook/returning-data.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/ripples.png b/web/samples_index/webimages/cookbook/ripples.png deleted file mode 100644 index 2587f0729..000000000 Binary files a/web/samples_index/webimages/cookbook/ripples.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/scrolling.png b/web/samples_index/webimages/cookbook/scrolling.png deleted file mode 100644 index d6f84d36c..000000000 Binary files a/web/samples_index/webimages/cookbook/scrolling.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/send-data.png b/web/samples_index/webimages/cookbook/send-data.png deleted file mode 100644 index 6b1fce500..000000000 Binary files a/web/samples_index/webimages/cookbook/send-data.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/snackbars.png b/web/samples_index/webimages/cookbook/snackbars.png deleted file mode 100644 index 3a5bc3226..000000000 Binary files a/web/samples_index/webimages/cookbook/snackbars.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/sqlite.png b/web/samples_index/webimages/cookbook/sqlite.png deleted file mode 100644 index 6fb80c04c..000000000 Binary files a/web/samples_index/webimages/cookbook/sqlite.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/tabs.png b/web/samples_index/webimages/cookbook/tabs.png deleted file mode 100644 index 3fafaea62..000000000 Binary files a/web/samples_index/webimages/cookbook/tabs.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/tap-drag.png b/web/samples_index/webimages/cookbook/tap-drag.png deleted file mode 100644 index 67ab3d088..000000000 Binary files a/web/samples_index/webimages/cookbook/tap-drag.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/text-field-changes.png b/web/samples_index/webimages/cookbook/text-field-changes.png deleted file mode 100644 index e2719c1e8..000000000 Binary files a/web/samples_index/webimages/cookbook/text-field-changes.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/text-input.png b/web/samples_index/webimages/cookbook/text-input.png deleted file mode 100644 index 8776a58ca..000000000 Binary files a/web/samples_index/webimages/cookbook/text-input.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/themes.png b/web/samples_index/webimages/cookbook/themes.png deleted file mode 100644 index cc39908e5..000000000 Binary files a/web/samples_index/webimages/cookbook/themes.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/validation.png b/web/samples_index/webimages/cookbook/validation.png deleted file mode 100644 index 53dc4ef5a..000000000 Binary files a/web/samples_index/webimages/cookbook/validation.png and /dev/null differ diff --git a/web/samples_index/webimages/cookbook/web-sockets.png b/web/samples_index/webimages/cookbook/web-sockets.png deleted file mode 100644 index 70cd48a50..000000000 Binary files a/web/samples_index/webimages/cookbook/web-sockets.png and /dev/null differ diff --git a/web/timeflow/pubspec.lock b/web/timeflow/pubspec.lock index 5dbb7029b..49eea0373 100644 --- a/web/timeflow/pubspec.lock +++ b/web/timeflow/pubspec.lock @@ -7,14 +7,14 @@ packages: name: characters url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.3" + version: "1.1.0-nullsafety.5" collection: dependency: transitive description: name: collection url: "https://pub.dartlang.org" source: hosted - version: "1.15.0-nullsafety.3" + version: "1.15.0-nullsafety.5" flutter: dependency: "direct main" description: flutter @@ -26,7 +26,7 @@ packages: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.3" + version: "1.3.0-nullsafety.6" sky_engine: dependency: transitive description: flutter @@ -38,13 +38,13 @@ packages: name: typed_data url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.3" + version: "1.3.0-nullsafety.5" vector_math: dependency: transitive description: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.3" + version: "2.1.0-nullsafety.5" sdks: - dart: ">=2.10.0-110 <2.11.0" + dart: ">=2.12.0-0 <3.0.0" diff --git a/web/vision_challenge/LICENSE b/web/vision_challenge/LICENSE deleted file mode 100644 index 39ac907e4..000000000 --- a/web/vision_challenge/LICENSE +++ /dev/null @@ -1,25 +0,0 @@ -Copyright 2019 Yukkei Choi - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - -1. Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the -distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/web/vision_challenge/README.md b/web/vision_challenge/README.md deleted file mode 100644 index a24f7b660..000000000 --- a/web/vision_challenge/README.md +++ /dev/null @@ -1,55 +0,0 @@ -A fun game to test your color perception abilities. - -Contributed as part of the Flutter Create 5K challenge by Yukkei Choi. - -## How to play - -Tap the unique color block as fast as possible. - -## Features - -1. Each round when user taps the unique color block, score will be increased by one. -2. Timer: 30 seconds countdown. -3. Color difference will be stepwise reduced when user reached a higher score. -4. If it is difficult to distinguish the unique color block, user can "SHAKE" the device to shift to another theme color, while the position of the unique color block still keep the same. -5. Provide a restart button at the end, user can infinitely play again without relaunching the app. -6. After each replay, game board's theme color will be different from the previous play. -7. Give user a grade based on the final score: - -| score range | grade | -|-------------|-------| -| 0 - 9 | Fail | -| 10 - 19 | D | -| 20 - 29 | C | -| 30 - 34 | B | -| 35 - 39 | B+ | -| 40 - 44 | A | -| 45 or above | A+ | - -## Graphics - -1. I created all graphics used on the app by using Photoshop. -2. Flutter is great and now I'm able to demonstrate my artwork on the app into practice. - -## Techniques used - -1. Use stateful widget to run the timer countdown animation. -2. Since only 5kb is allowed, the grade is calculated by using math, instead of writing if-else statement. -3. Use redux to store the game states: - -| state | description | data type | -|-------|----------------------------------------------------------|-------------------| -| score | Store the player score | int | -| board | Locate the position of unique color block | [[int],[int],...] | -| count | Count the no. of replay, for switching the theme color | int | -| page | Current page / game status | int | - -| page | description | -|------|----------------------------------------------------------------| -| -1 | First launch the app, show the welcome screen with instruction | -| 0 | Game in progress | -| 1 | Game end, show result | - -## Limitation - -Limited to portrait view. diff --git a/web/vision_challenge/assets/10.png b/web/vision_challenge/assets/10.png deleted file mode 100644 index 35513ce15..000000000 Binary files a/web/vision_challenge/assets/10.png and /dev/null differ diff --git a/web/vision_challenge/assets/20.png b/web/vision_challenge/assets/20.png deleted file mode 100644 index d0aeebaf2..000000000 Binary files a/web/vision_challenge/assets/20.png and /dev/null differ diff --git a/web/vision_challenge/assets/30.png b/web/vision_challenge/assets/30.png deleted file mode 100644 index 4f6d6b5b7..000000000 Binary files a/web/vision_challenge/assets/30.png and /dev/null differ diff --git a/web/vision_challenge/assets/35.png b/web/vision_challenge/assets/35.png deleted file mode 100644 index 4cf8bfa29..000000000 Binary files a/web/vision_challenge/assets/35.png and /dev/null differ diff --git a/web/vision_challenge/assets/40.png b/web/vision_challenge/assets/40.png deleted file mode 100644 index ac35e3ab8..000000000 Binary files a/web/vision_challenge/assets/40.png and /dev/null differ diff --git a/web/vision_challenge/assets/45.png b/web/vision_challenge/assets/45.png deleted file mode 100644 index b0be94893..000000000 Binary files a/web/vision_challenge/assets/45.png and /dev/null differ diff --git a/web/vision_challenge/assets/99.png b/web/vision_challenge/assets/99.png deleted file mode 100644 index 0e27ee554..000000000 Binary files a/web/vision_challenge/assets/99.png and /dev/null differ diff --git a/web/vision_challenge/assets/FontManifest.json b/web/vision_challenge/assets/FontManifest.json deleted file mode 100644 index 5921ca028..000000000 --- a/web/vision_challenge/assets/FontManifest.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "family": "MaterialIcons", - "fonts": [ - { - "asset": "https://fonts.gstatic.com/s/materialicons/v42/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2" - } - ] - } -] \ No newline at end of file diff --git a/web/vision_challenge/assets/p0.jpg b/web/vision_challenge/assets/p0.jpg deleted file mode 100644 index b4dabad62..000000000 Binary files a/web/vision_challenge/assets/p0.jpg and /dev/null differ diff --git a/web/vision_challenge/assets/p1.jpg b/web/vision_challenge/assets/p1.jpg deleted file mode 100644 index c688ec887..000000000 Binary files a/web/vision_challenge/assets/p1.jpg and /dev/null differ diff --git a/web/vision_challenge/assets/preview.png b/web/vision_challenge/assets/preview.png deleted file mode 100644 index 7b2b98ed1..000000000 Binary files a/web/vision_challenge/assets/preview.png and /dev/null differ diff --git a/web/vision_challenge/lib/game.dart b/web/vision_challenge/lib/game.dart deleted file mode 100644 index 3cfcdcf98..000000000 --- a/web/vision_challenge/lib/game.dart +++ /dev/null @@ -1,207 +0,0 @@ -import 'dart:math'; - -import 'package:flutter/material.dart'; -import 'package:flutter_redux/flutter_redux.dart'; -import 'package:redux/redux.dart'; - -setText(text, size, color) => Text(text, - style: TextStyle( - fontSize: size, - color: color, - fontWeight: FontWeight.bold, - decoration: TextDecoration.none)); - -pad(double left, double top) => EdgeInsets.fromLTRB(left, top, 0, 0); - -setBg(name) => BoxDecoration( - image: DecorationImage( - fit: BoxFit.cover, - alignment: Alignment.topLeft, - image: AssetImage(name))); - -class Game extends StatelessWidget { - final Store store; - Game(this.store); - _grade(int score) => [10, 20, 30, 35, 40, 45, 99] - .where((i) => i > score) - .reduce(min) - .toString(); - - _createBoard(double size, List> blocks, int depth, - MaterialColor color) => - Row( - mainAxisAlignment: MainAxisAlignment.spaceEvenly, - children: blocks - .map((cols) => Column( - mainAxisAlignment: MainAxisAlignment.spaceEvenly, - children: cols - .map((item) => Flexible( - child: GestureDetector( - onTap: () { - if (item == 1) store.dispatch(Action.next); - }, - child: Container( - width: size, - height: size, - color: item > 0 ? color[depth] : color)), - )) - .toList())) - .toList()); - - @override - Widget build(BuildContext context) => StoreConnector( - // onInit: (state) => ShakeDetector.autoStart( - // onPhoneShake: () => store.dispatch(Action.shake)), - converter: (store) => store.state, - builder: (context, state) { - var w = MediaQuery.of(context).size.height / 16 * 9, - size = w / (state.board.length + 1), - depth = [1 + state.score ~/ 5, 4].reduce(min) * 100, - colors = [ - Colors.blue, - Colors.orange, - Colors.pink, - Colors.purple, - Colors.cyan - ]; - - return Scaffold( - backgroundColor: Color(0xFFBCE1F6), - body: Center( - child: SizedBox( - height: MediaQuery.of(context).size.height, - width: MediaQuery.of(context).size.height / 16 * 9, - child: Container( - decoration: setBg(state.page < 0 ? 'p0.jpg' : 'p1.jpg'), - child: state.page >= 0 - ? Column( - crossAxisAlignment: CrossAxisAlignment.center, - children: [ - Container( - height: w * 0.325, - padding: pad(0, w * 0.145), - child: setText(state.score.toString(), - w * 0.2, Colors.white)), - Container( - height: w * 0.35, - padding: pad(w * 0.69, state.page * 7.0), - child: state.page < 1 - ? Timer( - onEnd: () => - store.dispatch(Action.end), - width: w) - : setText('End', w * 0.08, Colors.red)), - state.page < 1 - ? Container( - width: w, - height: w * 1.05, - padding: pad(0, w * 0.05), - child: _createBoard( - size, - state.board, - depth, - colors[ - state.count % colors.length])) - : Container( - width: w, - height: w, - decoration: - setBg(_grade(state.score) + '.png')) - ]) - : Container()), - ), - ), - floatingActionButton: state.page != 0 - ? Container( - // width: w * 0.2, - // height: w * 0.2, - child: FloatingActionButton( - child: Icon( - state.page < 1 ? Icons.play_arrow : Icons.refresh), - onPressed: () => store.dispatch(Action.start))) - : Container()); - }); -} - -class Timer extends StatefulWidget { - Timer({this.onEnd, this.width}); - final VoidCallback onEnd; - final double width; - @override - _TimerState createState() => _TimerState(); -} - -class _TimerState extends State with TickerProviderStateMixin { - Animation _animate; - int _sec = 31; - - @override - void initState() { - super.initState(); - _animate = StepTween(begin: _sec, end: 0).animate( - AnimationController(duration: Duration(seconds: _sec), vsync: this) - ..forward(from: 0.0)) - ..addStatusListener((AnimationStatus s) { - if (s == AnimationStatus.completed) widget.onEnd(); - }); - } - - @override - Widget build(BuildContext context) => AnimatedBuilder( - animation: _animate, - builder: (BuildContext context, Widget child) => setText( - _animate.value.toString().padLeft(2, '0'), - widget.width * 0.12, - Colors.green)); -} - -//REDUX -@immutable -class AppState { - final int score, page, count; - final List> board; - AppState({this.score, this.page, this.board, this.count}); - AppState.init() - : score = 0, - page = -1, - count = 0, - board = newBoard(0); -} - -enum Action { next, end, start, shake } - -AppState reducer(AppState s, act) { - switch (act) { - case Action.next: - return AppState( - score: s.score + 1, - page: s.page, - count: s.count, - board: newBoard(s.score + 1)); - case Action.end: - return AppState( - score: s.score, page: 1, count: s.count + 1, board: s.board); - case Action.start: - return AppState(score: 0, page: 0, count: s.count, board: newBoard(0)); - case Action.shake: - return AppState( - score: s.score, page: s.page, count: s.count + 1, board: s.board); - default: - return s; - } -} - -List> newBoard(score) { - var size = score < 7 ? score + 3 : 10, - rng = Random(), - bingoRow = rng.nextInt(size), - bingoCol = rng.nextInt(size); - List> board = []; - for (var i = 0; i < size; i++) { - List row = []; - for (var j = 0; j < size; j++) - row.add(i == bingoRow && j == bingoCol ? 1 : 0); - board.add(row); - } - return board; -} diff --git a/web/vision_challenge/lib/main.dart b/web/vision_challenge/lib/main.dart deleted file mode 100644 index 60bda4aed..000000000 --- a/web/vision_challenge/lib/main.dart +++ /dev/null @@ -1,20 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_redux/flutter_redux.dart'; -import 'package:redux/redux.dart'; -import 'game.dart'; - -void main() { - final store = Store( - reducer, - initialState: AppState.init(), - ); - - runApp( - StoreProvider( - store: store, - child: MaterialApp( - home: Game(store), - ), - ), - ); -} diff --git a/web/vision_challenge/pubspec.lock b/web/vision_challenge/pubspec.lock deleted file mode 100644 index 838827aa4..000000000 --- a/web/vision_challenge/pubspec.lock +++ /dev/null @@ -1,64 +0,0 @@ -# Generated by pub -# See https://dart.dev/tools/pub/glossary#lockfile -packages: - characters: - dependency: transitive - description: - name: characters - url: "https://pub.dartlang.org" - source: hosted - version: "1.1.0-nullsafety.3" - collection: - dependency: transitive - description: - name: collection - url: "https://pub.dartlang.org" - source: hosted - version: "1.15.0-nullsafety.3" - flutter: - dependency: "direct main" - description: flutter - source: sdk - version: "0.0.0" - flutter_redux: - dependency: "direct main" - description: - name: flutter_redux - url: "https://pub.dartlang.org" - source: hosted - version: "0.5.4" - meta: - dependency: transitive - description: - name: meta - url: "https://pub.dartlang.org" - source: hosted - version: "1.3.0-nullsafety.3" - redux: - dependency: "direct main" - description: - name: redux - url: "https://pub.dartlang.org" - source: hosted - version: "3.0.0" - sky_engine: - dependency: transitive - description: flutter - source: sdk - version: "0.0.99" - typed_data: - dependency: transitive - description: - name: typed_data - url: "https://pub.dartlang.org" - source: hosted - version: "1.3.0-nullsafety.3" - vector_math: - dependency: transitive - description: - name: vector_math - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.0-nullsafety.3" -sdks: - dart: ">=2.10.0 <2.11.0" diff --git a/web/vision_challenge/pubspec.yaml b/web/vision_challenge/pubspec.yaml deleted file mode 100644 index 9ada7fc89..000000000 --- a/web/vision_challenge/pubspec.yaml +++ /dev/null @@ -1,25 +0,0 @@ -name: vision_challenge -author: Yukkei Choi - -environment: - sdk: ">=2.10.0 <3.0.0" - -dependencies: - flutter: - sdk: flutter - redux: ^3.0.0 - flutter_redux: ^0.5.3 - -flutter: - uses-material-design: true - assets: - - 10.png - - 20.png - - 30.png - - 35.png - - 40.png - - 45.png - - 99.png - - p0.jpg - - p1.jpg - - preview.png diff --git a/web/vision_challenge/web/index.html b/web/vision_challenge/web/index.html deleted file mode 100644 index 1785ebb8b..000000000 --- a/web/vision_challenge/web/index.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - -