diff --git a/.cirrus.yml b/.cirrus.yml
index 3d83be3b41..f159c264fd 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -33,17 +33,14 @@ task:
FIREBASE_PUBLIC_TOKEN: ENCRYPTED[37e8b82f167864cae9a3f4d2cf3f37dea331d9375c295327c45de524f6c588fa6f6d63e5784f10f6d43ce29689f36c92]
docs_script: ./dev/bots/docs.sh
- name: deploy_gallery
- only_if: $CIRRUS_BRANCH == 'dev'
depends_on:
- docs
- analyze
- - tests-linux
- - tool_tests-linux
- build_tests-linux
env:
SHARD: deploy_gallery
GOOGLE_DEVELOPER_SERVICE_ACCOUNT_ACTOR_FASTLANE: ENCRYPTED[d9ac1462c3c556fc2f8165c9d5566a16497d8ebc38a50357f7f3abf136b7f83e1d1d76dde36fee356cb0f9ebf7a89346]
- ANDROID_GALLERY_UPLOAD_KEY: ENCRYPTED[0b3e681b4507aec433ef29c79b715f15f8c75ecd25315ea286b0b2bcb8b28d578634eead5aa2c54086a25e8da1bb219a]
+ ANDROID_GALLERY_UPLOAD_KEY: ENCRYPTED[0f2aca35f05b26add5d9edea2a7449341269a2b7e22d5c667f876996e2e8bc44ff1369431ebf73b7c5581fd95d0e5902]
test_script: ./dev/bots/deploy_gallery.sh
- name: analyze
test_script:
@@ -118,7 +115,7 @@ task:
- bin\flutter.bat update-packages
- git fetch origin master
test_all_script:
- - bin\cache\dart-sdk\bin\dart.exe -c dev\bots\test.dart
+ - bin\cache\dart-sdk\bin\dart.exe --enable-asserts dev\bots\test.dart
matrix:
- name: tests-windows
env:
@@ -144,28 +141,23 @@ task:
task:
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true'
name: deploy_gallery-macos
- only_if: $CIRRUS_BRANCH == 'dev'
pub_cache:
folder: ~/.pub-cache
depends_on:
- analyze
- - tests-macos
- - tool_tests-macos
- build_tests-macos
- - add2app-macos
env:
# Name the SDK directory to include a space so that we constantly
# test path names with spaces in them.
CIRRUS_WORKING_DIR: "/tmp/flutter sdk"
SHARD: deploy_gallery
+ # Apple Fastlane password.
+ FASTLANE_PASSWORD: ENCRYPTED[4b1f0b8d52874e9de965acd46c79743f3b81f3a513614179b9be7cf53dc8258753e257bdadb11a298ee455259df21865]
+ # Private repo for publishing certificates.
+ PUBLISHING_MATCH_CERTIFICATE_REPO: ENCRYPTED[3c0e78877d933fc80107aa6f3790fd1cf927250b852d6cb53202be696b4903ed8ca839b809626aaf18050bf7e436fab7]
+ PUBLISHING_MATCH_REPO_TOKEN: ENCRYPTED[3d1230b744c6ed6c788a91bec741b769401dbcd426b18f9af8080bfeefdfc21913ca4047980c5b5b7ce823f12e7b6b19]
# Apple Certificates Match Passphrase
MATCH_PASSWORD: ENCRYPTED[db07f252234397090e3ec59152d9ec1831f5ecd0ef97d247b1dca757bbb9ef9b7c832a39bce2caf1949ccdf097e59a73]
- # Apple Fastlane password, ASP, and Session information.
- FASTLANE_PASSWORD: ENCRYPTED[0bf9bb0cc2cb32a0ed18470cf2c9df0f587cce5f8b04adbd6cff15ca5bde7a74f721ee580227b132ab6b032f08e52ae0]
- FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD: ENCRYPTED[b219cc13c757f36cb62bfca5102d6115f1cc283aeb974f20c657bc4991c0cc144e30cf5d8183e41cc1df1668b4d14210]
- FASTLANE_SESSION: ENCRYPTED[88246e355e55cd5e361a575f5d5b762f5826cb9d5285cb93a263b1cad04ec09bdedb1cbd74df5ec02d6043360fa04acd]
- # Private repo for publishing certificates.
- PUBLISHING_MATCH_CERTIFICATE_REPO: git@github.com:flutter/private_publishing_certificates.git
osx_instance:
image: mojave-xcode-10.1
# occasionally the clock on these machines is out of sync
diff --git a/.github/ISSUE_TEMPLATE/ACTIVATION.md b/.github/ISSUE_TEMPLATE/ACTIVATION.md
index 3fbe21c746..c438b36052 100644
--- a/.github/ISSUE_TEMPLATE/ACTIVATION.md
+++ b/.github/ISSUE_TEMPLATE/ACTIVATION.md
@@ -10,13 +10,13 @@ about: You have run into problems while downloading or installing Flutter, or th
If you are looking for support, please check out our documentation
or consider asking a question on Stack Overflow:
- * https://flutter.io/
+ * https://flutter.dev/
* https://docs.flutter.io/
* https://stackoverflow.com/questions/tagged/flutter?sort=frequent
If you have found a bug or if our documentation doesn't have an answer
to what you're looking for, then fill our the template below. Please read
- our guide to filing a bug first: https://flutter.io/bug-reports/
+ our guide to filing a bug first: https://flutter.dev/bug-reports/
-->
## Steps to Reproduce
diff --git a/.github/ISSUE_TEMPLATE/BUG.md b/.github/ISSUE_TEMPLATE/BUG.md
index c5dc70f408..aa8a8e7ca5 100644
--- a/.github/ISSUE_TEMPLATE/BUG.md
+++ b/.github/ISSUE_TEMPLATE/BUG.md
@@ -9,13 +9,13 @@ about: You are writing an application with Flutter but the application is crashi
If you are looking for support, please check out our documentation
or consider asking a question on Stack Overflow:
- * https://flutter.io/
+ * https://flutter.dev/
* https://docs.flutter.io/
* https://stackoverflow.com/questions/tagged/flutter?sort=frequent
If you have found a bug or if our documentation doesn't have an answer
to what you're looking for, then fill our the template below. Please read
- our guide to filing a bug first: https://flutter.io/bug-reports/
+ our guide to filing a bug first: https://flutter.dev/bug-reports/
-->
## Steps to Reproduce
diff --git a/.github/ISSUE_TEMPLATE/SUPPORT.md b/.github/ISSUE_TEMPLATE/SUPPORT.md
index 82d2b542f1..6ac0badb37 100644
--- a/.github/ISSUE_TEMPLATE/SUPPORT.md
+++ b/.github/ISSUE_TEMPLATE/SUPPORT.md
@@ -8,7 +8,7 @@ about: You have a question for how to achieve a particular effect, or you need h
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 3f125ce8bb..5515c8c2a6 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -21,7 +21,7 @@ our trust and demonstrated a commitment to Flutter.
This document focuses on what is needed to contribute by writing code
and submitting pull requests for the Flutter framework. For
information on contributing in other ways, see [the community page
-on flutter.io](https://flutter.io/community).
+on flutter.dev](https://flutter.dev/community).
Developing for Flutter
----------------------
@@ -50,17 +50,17 @@ presented.
which describes the steps you need to configure your computer to
work on Flutter's framework. Flutter's framework uses mainly Dart.
-4. [Tree hygiene](https://github.com/flutter/flutter/wiki/Tree-hygiene),
+5. [Tree hygiene](https://github.com/flutter/flutter/wiki/Tree-hygiene),
which covers how to land a PR, how to do code review, how to
handle breaking changes, how to handle regressions, and how to
handle post-commit test failures.
-3. [Issue hygiene](https://github.com/flutter/flutter/wiki/Issue-hygiene),
+6. [Issue hygiene](https://github.com/flutter/flutter/wiki/Issue-hygiene),
which covers our processes around triaging bugs, escalating high
priority bugs, assigning bugs, and our GitHub labels and
milestones.
-5. [Our style guide](https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo),
+7. [Our style guide](https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo),
which includes advice for designing APIs for Flutter, and how to
format code in the framework.
diff --git a/README.md b/README.md
index cf919a3dbc..868a291341 100644
--- a/README.md
+++ b/README.md
@@ -1,107 +1,62 @@
-# Flutter ![Flutter logo][]
+# [![Flutter logo][]][flutter.dev]
-[![Gitter Channel][]][Gitter badge]
[![Build Status - Cirrus][]][Build status]
+[![Gitter Channel][]][Gitter badge]
-# Build beautiful native apps in record time
+Flutter is Google's mobile app SDK for crafting high-quality native interfaces
+on iOS and Android in record time. Flutter works with existing code, is used by
+developers and organizations around the world, and is free and open source.
-Flutter is Google’s mobile app SDK for crafting high-quality native interfaces on iOS and Android in record time. Flutter works with existing code, is used by developers and organizations around the world, and is free and open source.
+## Documentation
-### Documentation
-
-**Main site: [flutter.dev][]**
-* [Install](https://flutter.dev/get-started/install/)
-* [Get started](https://flutter.dev/get-started/)
-* [API documentation](https://docs.flutter.dev/)
-* [Changelog](https://github.com/flutter/flutter/wiki/Changelog)
-* [How to contribute](https://github.com/flutter/flutter/blob/master/CONTRIBUTING.md)
+* [Install Flutter](https://flutter.dev/get-started/)
+* [Flutter documentation](https://flutter.dev/docs)
+* [Development wiki](https://github.com/flutter/flutter/wiki)
+* [Contributing to Flutter](https://github.com/flutter/flutter/blob/master/CONTRIBUTING.md)
For announcements about new releases and breaking changes, follow the
[flutter-announce@googlegroups.com](https://groups.google.com/forum/#!forum/flutter-announce)
mailing list.
-## Fast development
+## About Flutter
-Flutter's hot reload helps you quickly
-and easily experiment, build UIs, add features, and fix
-bugs. Experience sub-second reload times,
-without losing state, on
-emulators, simulators, and hardware for iOS
-and Android.
+We think Flutter will help you create beautiful, fast apps, with a productive,
+extensible and open development model.
-
+### Beautiful apps
-## Expressive and flexible UI
-Quickly ship features with a focus on native end-user experiences.
-Layered architecture allows full customization, which results in incredibly
-fast rendering and expressive and flexible designs.
+We want to enable designers to deliver their full creative vision without being
+forced to water it down due to limitations of the underlying framework.
+Flutter's [layered architecture] gives you control over every pixel on the
+screen, and its powerful compositing capabilities let you overlay and animate
+graphics, video, text and controls without limitation. Flutter includes a full
+[set of widgets][widget catalog] that deliver pixel-perfect experiences on both
+iOS and Android.
-Delight your users with Flutter's built-in
-beautiful Material Design and
-Cupertino (iOS-flavor) widgets, rich motion APIs,
-smooth natural scrolling, and platform awareness.
+![Reflectly hero image][Reflectly hero image]
-[
](https://github.com/flutter/flutter/tree/master/examples/flutter_gallery/lib/demo/animation)
-
+### Fast apps
-[
](https://github.com/flutter/flutter/blob/master/examples/flutter_gallery/lib/demo/contacts_demo.dart)
-[
](https://codelabs.developers.google.com/codelabs/flutter/)
+Flutter is fast. It's powered by the same hardware-accelerated [Skia] 2D
+graphics library that underpins Chrome and Android. We architected Flutter to
+support glitch-free, jank-free graphics at the native speed of your device.
+Flutter code is powered by the world-class [Dart platform], which enables
+compilation to native 32-bit and 64-bit ARM code for iOS and Android.
-Browse the widget catalog.
+### Productive development
-## Modern, reactive framework
+Flutter offers stateful hot reload, allowing you to make changes to your code
+and see the results instantly without restarting your app or losing its state.
-Easily compose your UI with Flutter's
-modern functional-reactive framework and
-rich set of platform, layout, and foundation widgets.
-Solve your tough UI challenges with
-powerful and flexible APIs for 2D, animation, gestures,
-effects, and more.
+[![Hot reload animation][]][Hot reload]
-```dart
-class CounterState extends State {
- int counter = 0;
+### Extensible and open model
- void increment() {
- // Tells the Flutter framework that state has changed,
- // so the framework can run build() and update the display.
- setState(() {
- counter++;
- });
- }
-
- Widget build(BuildContext context) {
- // This method is rerun every time setState is called.
- // The Flutter framework has been optimized to make rerunning
- // build methods fast, so that you can just rebuild anything that
- // needs updating rather than having to individually change
- // instances of widgets.
- return Row(
- children: [
- RaisedButton(
- onPressed: increment,
- child: Text('Increment'),
- ),
- Text('Count: $counter'),
- ],
- );
- }
-}
-```
-
-Browse the widget catalog
-and learn more about the
-functional-reactive framework.
-
-## Access native features and SDKs
-
-Make your app come to life
-with platform APIs, 3rd party SDKs,
-and native code.
-Flutter lets you reuse your existing Java/Kotlin and ObjC/Swift code,
-and access native features and SDKs on Android and iOS.
-
-Accessing platform features is easy. Here is a snippet from our interop example:
+Flutter works with any development tool, but includes editor plug-ins for both
+[Visual Studio Code] and [IntelliJ / Android Studio]. Flutter provides
+[thousands of packages][Flutter packages] to speed your development, regardless
+of your target platform. And accessing platform features is easy. Here is a
+snippet from our [interop example]:
```dart
Future getBatteryLevel() async {
@@ -118,35 +73,24 @@ Future getBatteryLevel() async {
}
```
-Learn how to use packages or
-write platform channels
-to access native code, APIs, and SDKs.
-
-## Unified app development
-
-Flutter has the tools and libraries to help you easily
-bring your ideas to life on iOS and Android.
-If you don't have any mobile development experience, Flutter
-is an easy and fast way to build beautiful mobile apps.
-If you are an experienced iOS or Android developer,
-you can use Flutter for your views and leverage much of your
-existing Java/Kotlin/ObjC/Swift investment.
-
-Learn more about what makes Flutter special in the
-technical overview.
-
-# More resources
-
-Join us in our [Gitter chat room](https://gitter.im/flutter/flutter) or join our public mailing list,
-[flutter-dev@googlegroups.com](https://groups.google.com/forum/#!forum/flutter-dev).
-
-# How to contribute
-
-To join the team working on Flutter, see our [contributor guide](CONTRIBUTING.md).
+Flutter is a fully open source project, and we welcome contributions.
+Information on how to get started can be found at our
+[contributor guide](CONTRIBUTING.md).
+[Flutter logo]: https://flutter.dev/assets/flutter-lockup-4cb0ee072ab312e59784d9fbf4fb7ad42688a7fdaea1270ccf6bbf4f34b7e03f.svg
+[flutter.dev]: https://flutter.dev
[Build Status - Cirrus]: https://api.cirrus-ci.com/github/flutter/flutter.svg
[Build status]: https://cirrus-ci.com/github/flutter/flutter/master
-[flutter.dev]: https://flutter.dev
-[Flutter logo]: https://github.com/dart-lang/site-shared/blob/master/src/_assets/image/flutter/icon/64.png?raw=1
[Gitter Channel]: https://badges.gitter.im/flutter/flutter.svg
-[Gitter badge]: https://gitter.im/flutter/flutter?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
\ No newline at end of file
+[Gitter badge]: https://gitter.im/flutter/flutter?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
+[layered architecture]: https://flutter.dev/docs/resources/inside-flutter
+[widget catalog]: https://flutter.dev/widgets/
+[Reflectly hero image]: https://github.com/flutter/website/blob/master/src/images/homepage/reflectly-hero-600px.png
+[Skia]: https://skia.org/
+[Dart platform]: https://www.dartlang.org/
+[Hot reload animation]: https://raw.githubusercontent.com/flutter/website/master/src/_assets/image/tools/android-studio/hot-reload.gif
+[Hot reload]: https://flutter.dev/docs/development/tools/hot-reload
+[Visual Studio Code]: https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
+[IntelliJ / Android Studio]: https://plugins.jetbrains.com/plugin/9212-flutter
+[Flutter packages]: https://pub.dartlang.org/flutter
+[interop example]: https://github.com/flutter/flutter/tree/master/examples/platform_channel
\ No newline at end of file
diff --git a/bin/flutter b/bin/flutter
index 178994f56d..18bad48710 100755
--- a/bin/flutter
+++ b/bin/flutter
@@ -41,11 +41,11 @@ function _rmlock () {
function retry_upgrade {
local total_tries="10"
- local remaining_tries=$(($total_tries - 1))
- while [[ "$remaining_tries" > 0 ]]; do
+ local remaining_tries=$((total_tries - 1))
+ while [[ "$remaining_tries" -gt 0 ]]; do
(cd "$FLUTTER_TOOLS_DIR" && "$PUB" upgrade "$VERBOSITY") && break
echo "Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds... ($remaining_tries tries left)"
- remaining_tries=$(($remaining_tries - 1))
+ remaining_tries=$((remaining_tries - 1))
sleep 5
done
@@ -102,6 +102,12 @@ function upgrade_flutter () {
fi
local revision="$(cd "$FLUTTER_ROOT"; git rev-parse HEAD)"
+
+ # Invalidate cache if:
+ # * SNAPSHOT_PATH is not a file, or
+ # * STAMP_PATH is not a file with nonzero size, or
+ # * Contents of STAMP_PATH is not our local git HEAD revision, or
+ # * pubspec.yaml last modified after pubspec.lock
if [[ ! -f "$SNAPSHOT_PATH" || ! -s "$STAMP_PATH" || "$(cat "$STAMP_PATH")" != "$revision" || "$FLUTTER_TOOLS_DIR/pubspec.yaml" -nt "$FLUTTER_TOOLS_DIR/pubspec.lock" ]]; then
rm -f "$FLUTTER_ROOT/version"
touch "$FLUTTER_ROOT/bin/cache/.dartignore"
@@ -121,7 +127,7 @@ function upgrade_flutter () {
retry_upgrade
- "$DART" --snapshot="$SNAPSHOT_PATH" --snapshot-kind=app-jit --packages="$FLUTTER_TOOLS_DIR/.packages" "$SCRIPT_PATH" training
+ "$DART" $FLUTTER_TOOL_ARGS --snapshot="$SNAPSHOT_PATH" --packages="$FLUTTER_TOOLS_DIR/.packages" "$SCRIPT_PATH"
echo "$revision" > "$STAMP_PATH"
fi
# The exit here is duplicitous since the function is run in a subshell,
diff --git a/bin/flutter.bat b/bin/flutter.bat
index 7aa7020c2b..4547692f87 100644
--- a/bin/flutter.bat
+++ b/bin/flutter.bat
@@ -152,7 +152,11 @@ GOTO :after_subroutine
POPD
- "%dart%" --snapshot="%snapshot_path%" --snapshot-kind=app-jit --packages="%flutter_tools_dir%\.packages" "%script_path%"
+ IF "%FLUTTER_TOOL_ARGS%" == "" (
+ "%dart%" --snapshot="%snapshot_path%" --packages="%flutter_tools_dir%\.packages" "%script_path%"
+ ) else (
+ "%dart%" "%FLUTTER_TOOL_ARGS%" --snapshot="%snapshot_path%" --packages="%flutter_tools_dir%\.packages" "%script_path%"
+ )
IF "%ERRORLEVEL%" NEQ "0" (
ECHO Error: Unable to create dart snapshot for flutter tool.
SET exit_code=%ERRORLEVEL%
diff --git a/bin/internal/engine.version b/bin/internal/engine.version
index 3f047b14fd..1267d857a6 100644
--- a/bin/internal/engine.version
+++ b/bin/internal/engine.version
@@ -1 +1 @@
-0d83a2ecd1bb78f8e1f0ed9719ff3751cdfdd064
+7d1da567434a820853ed6fae1f6ed65b9de5ba4f
diff --git a/bin/internal/goldens.version b/bin/internal/goldens.version
index 3100f32ba6..acb3aae6dc 100644
--- a/bin/internal/goldens.version
+++ b/bin/internal/goldens.version
@@ -1 +1 @@
-894e9634cda6eb940d1ad4efb20b63a174bb7797
+3048ed023e5cc1d8e201f7abbba346e73cf5fa2c
diff --git a/bin/internal/update_dart_sdk.ps1 b/bin/internal/update_dart_sdk.ps1
index 99eb647271..c64be58f44 100644
--- a/bin/internal/update_dart_sdk.ps1
+++ b/bin/internal/update_dart_sdk.ps1
@@ -28,7 +28,7 @@ $psMajorVersionRequired = 5
$psMajorVersionLocal = $PSVersionTable.PSVersion.Major
if ($psMajorVersionLocal -lt $psMajorVersionRequired) {
Write-Host "Flutter requires PowerShell $psMajorVersionRequired.0 or newer."
- Write-Host "See https://flutter.io/docs/get-started/install/windows for more."
+ Write-Host "See https://flutter.dev/docs/get-started/install/windows for more."
return
}
diff --git a/bin/internal/update_dart_sdk.sh b/bin/internal/update_dart_sdk.sh
index 999576c178..761886fd98 100755
--- a/bin/internal/update_dart_sdk.sh
+++ b/bin/internal/update_dart_sdk.sh
@@ -74,7 +74,7 @@ if [ ! -f "$ENGINE_STAMP" ] || [ "$ENGINE_VERSION" != `cat "$ENGINE_STAMP"` ]; t
echo
echo "Failed to retrieve the Dart SDK from: $DART_SDK_URL"
echo "If you're located in China, please see this page:"
- echo " https://flutter.io/community/china"
+ echo " https://flutter.dev/community/china"
echo
rm -f -- "$DART_SDK_ZIP"
exit 1
diff --git a/dev/automated_tests/flutter_test/exception_handling_expectation.txt b/dev/automated_tests/flutter_test/exception_handling_expectation.txt
index a7ec74b22a..18da868e75 100644
--- a/dev/automated_tests/flutter_test/exception_handling_expectation.txt
+++ b/dev/automated_tests/flutter_test/exception_handling_expectation.txt
@@ -8,8 +8,8 @@ When the exception was thrown, this was the stack:
#1 .+ \(package:flutter_test[/\\]src[/\\]widget_tester\.dart:[0-9]+:[0-9]+\)
<>
-^\(elided [0-9]+ .+\)$
-
+^\(elided [0-9]+ frames.+$
+<>
The test description was:
Exception handling in test harness - string
════════════════════════════════════════════════════════════════════════════════════════════════════
@@ -27,8 +27,8 @@ When the exception was thrown, this was the stack:
#1 .+ \(package:flutter_test[/\\]src[/\\]widget_tester\.dart:[0-9]+:[0-9]+\)
<>
-^\(elided [0-9]+ .+\)$
-
+^\(elided [0-9]+ .+$
+<>
The test description was:
Exception handling in test harness - FlutterError
════════════════════════════════════════════════════════════════════════════════════════════════════
@@ -49,8 +49,8 @@ When the exception was thrown, this was the stack:
#[0-9]+ +.+ \(package:flutter_test[/\\]src[/\\]binding.dart:[0-9]+:[0-9]+\)
#[0-9]+ +.+ \(package:flutter_test[/\\]src[/\\]widget_tester\.dart:[0-9]+:[0-9]+\)
<>
-^\(elided [0-9]+ .+\)$
-
+^\(elided [0-9]+ .+$
+<>
The test description was:
Exception handling in test harness - uncaught Future error
════════════════════════════════════════════════════════════════════════════════════════════════════
diff --git a/dev/automated_tests/pubspec.yaml b/dev/automated_tests/pubspec.yaml
index 116f819896..1ff3dee217 100644
--- a/dev/automated_tests/pubspec.yaml
+++ b/dev/automated_tests/pubspec.yaml
@@ -9,29 +9,26 @@ dependencies:
sdk: flutter
flutter_test:
sdk: flutter
- test: 1.5.3
+ test: 1.6.1
- analyzer: 0.35.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ analyzer: 0.35.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
args: 1.5.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- async: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ async: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
boolean_selector: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection: 1.14.11 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto: 2.0.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- csslib: 0.14.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- front_end: 0.1.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ front_end: 0.1.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob: 1.1.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- html: 0.13.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http: 0.12.0+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_multi_server: 2.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_parser: 3.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
io: 0.3.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
js: 0.6.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- json_rpc_2: 2.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- kernel: 0.3.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- logging: 0.11.3+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- matcher: 0.12.3+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ json_rpc_2: 2.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ kernel: 0.3.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ matcher: 0.12.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime: 0.9.6+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket: 1.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
@@ -40,32 +37,30 @@ dependencies:
package_resolver: 1.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path: 1.6.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pedantic: 1.5.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- plugin: 0.2.0+3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool: 1.4.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver: 1.4.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- quiver: 2.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf: 0.7.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ quiver: 2.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf: 0.7.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_packages_handler: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_static: 0.2.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf_web_socket: 0.2.2+4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf_web_socket: 0.2.2+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_map_stack_trace: 1.1.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_maps: 0.10.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span: 1.5.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stack_trace: 1.9.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- stream_channel: 1.6.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stream_channel: 2.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_api: 0.2.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_core: 0.2.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_api: 0.2.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_core: 0.2.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
typed_data: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- utf: 0.9.0+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vector_math: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- vm_service_client: 0.2.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ vm_service_client: 0.2.6+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher: 0.9.7+10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- web_socket_channel: 1.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ web_socket_channel: 1.0.12 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
yaml: 2.1.15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
flutter:
uses-material-design: true
-# PUBSPEC CHECKSUM: 9655
+# PUBSPEC CHECKSUM: df08
diff --git a/dev/benchmarks/complex_layout/pubspec.yaml b/dev/benchmarks/complex_layout/pubspec.yaml
index 299ce115e7..f04b1fcff0 100644
--- a/dev/benchmarks/complex_layout/pubspec.yaml
+++ b/dev/benchmarks/complex_layout/pubspec.yaml
@@ -17,65 +17,60 @@ dependencies:
# flutter update-packages --force-upgrade
flutter_gallery_assets: 0.1.8
- async: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ async: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection: 1.14.11 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto: 2.0.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
file: 5.0.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- intl: 0.15.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- json_rpc_2: 2.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ intl: 0.15.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ json_rpc_2: 2.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path: 1.6.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver: 1.4.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span: 1.5.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stack_trace: 1.9.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- stream_channel: 1.6.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stream_channel: 2.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
typed_data: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vector_math: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- vm_service_client: 0.2.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- web_socket_channel: 1.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ vm_service_client: 0.2.6+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ web_socket_channel: 1.0.12 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
dev_dependencies:
flutter_test:
sdk: flutter
- test: 1.5.3
+ test: 1.6.1
- analyzer: 0.35.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ analyzer: 0.35.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
args: 1.5.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
boolean_selector: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- csslib: 0.14.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- front_end: 0.1.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ front_end: 0.1.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob: 1.1.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- html: 0.13.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http: 0.12.0+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_multi_server: 2.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_parser: 3.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
io: 0.3.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
js: 0.6.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- kernel: 0.3.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- logging: 0.11.3+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- matcher: 0.12.3+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ kernel: 0.3.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ matcher: 0.12.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime: 0.9.6+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket: 1.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble: 1.4.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_config: 1.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_resolver: 1.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pedantic: 1.5.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- plugin: 0.2.0+3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool: 1.4.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- quiver: 2.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf: 0.7.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ quiver: 2.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf: 0.7.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_packages_handler: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_static: 0.2.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf_web_socket: 0.2.2+4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf_web_socket: 0.2.2+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_map_stack_trace: 1.1.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_maps: 0.10.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_api: 0.2.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_core: 0.2.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- utf: 0.9.0+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_api: 0.2.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_core: 0.2.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher: 0.9.7+10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
yaml: 2.1.15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
@@ -85,4 +80,4 @@ flutter:
- packages/flutter_gallery_assets/people/square/ali.png
- packages/flutter_gallery_assets/places/india_chettinad_silk_maker.png
-# PUBSPEC CHECKSUM: ca28
+# PUBSPEC CHECKSUM: 68db
diff --git a/dev/benchmarks/macrobenchmarks/pubspec.yaml b/dev/benchmarks/macrobenchmarks/pubspec.yaml
index efa702c596..5bb5eb20f9 100644
--- a/dev/benchmarks/macrobenchmarks/pubspec.yaml
+++ b/dev/benchmarks/macrobenchmarks/pubspec.yaml
@@ -17,69 +17,64 @@ dependencies:
# flutter update-packages --force-upgrade
flutter_gallery_assets: 0.1.8
- async: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ async: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection: 1.14.11 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto: 2.0.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
file: 5.0.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- intl: 0.15.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- json_rpc_2: 2.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ intl: 0.15.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ json_rpc_2: 2.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path: 1.6.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver: 1.4.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span: 1.5.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stack_trace: 1.9.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- stream_channel: 1.6.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stream_channel: 2.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
typed_data: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vector_math: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- vm_service_client: 0.2.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- web_socket_channel: 1.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ vm_service_client: 0.2.6+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ web_socket_channel: 1.0.12 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
dev_dependencies:
flutter_test:
sdk: flutter
- test: 1.5.3
+ test: 1.6.1
- analyzer: 0.35.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ analyzer: 0.35.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
args: 1.5.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
boolean_selector: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- csslib: 0.14.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- front_end: 0.1.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ front_end: 0.1.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob: 1.1.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- html: 0.13.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http: 0.12.0+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_multi_server: 2.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_parser: 3.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
io: 0.3.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
js: 0.6.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- kernel: 0.3.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- logging: 0.11.3+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- matcher: 0.12.3+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ kernel: 0.3.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ matcher: 0.12.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime: 0.9.6+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket: 1.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble: 1.4.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_config: 1.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_resolver: 1.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pedantic: 1.5.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- plugin: 0.2.0+3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool: 1.4.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- quiver: 2.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf: 0.7.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ quiver: 2.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf: 0.7.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_packages_handler: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_static: 0.2.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf_web_socket: 0.2.2+4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf_web_socket: 0.2.2+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_map_stack_trace: 1.1.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_maps: 0.10.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_api: 0.2.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_core: 0.2.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- utf: 0.9.0+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_api: 0.2.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_core: 0.2.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher: 0.9.7+10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
yaml: 2.1.15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
flutter:
uses-material-design: true
-# PUBSPEC CHECKSUM: ca28
+# PUBSPEC CHECKSUM: 68db
diff --git a/dev/benchmarks/microbenchmarks/lib/geometry/rrect_contains_bench.dart b/dev/benchmarks/microbenchmarks/lib/geometry/rrect_contains_bench.dart
new file mode 100644
index 0000000000..810a9a4e4d
--- /dev/null
+++ b/dev/benchmarks/microbenchmarks/lib/geometry/rrect_contains_bench.dart
@@ -0,0 +1,29 @@
+// Copyright 2019 The Flutter Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'dart:ui';
+
+import '../common.dart';
+
+const int _kNumIters = 10000;
+
+void main() {
+ final Stopwatch watch = Stopwatch();
+ print('RRect contains benchmark...');
+ watch.start();
+ for (int i = 0; i < _kNumIters; i += 1) {
+ final RRect outter = RRect.fromLTRBR(10, 10, 20, 20, const Radius.circular(2.0));
+ outter.contains(const Offset(15, 15));
+ }
+ watch.stop();
+
+ final BenchmarkResultPrinter printer = BenchmarkResultPrinter();
+ printer.addResult(
+ description: 'RRect contains',
+ value: watch.elapsedMicroseconds / _kNumIters,
+ unit: 'µs per iteration',
+ name: 'rrect_contains_iteration',
+ );
+ printer.printToStdout();
+}
diff --git a/dev/benchmarks/microbenchmarks/pubspec.yaml b/dev/benchmarks/microbenchmarks/pubspec.yaml
index a0a646e60f..82f4663c1e 100644
--- a/dev/benchmarks/microbenchmarks/pubspec.yaml
+++ b/dev/benchmarks/microbenchmarks/pubspec.yaml
@@ -13,33 +13,30 @@ dependencies:
sdk: flutter
stocks:
path: ../../../examples/stocks
- test: 1.5.3
+ test: 1.6.1
- analyzer: 0.35.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ analyzer: 0.35.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
args: 1.5.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- async: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ async: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
boolean_selector: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection: 1.14.11 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto: 2.0.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- csslib: 0.14.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- dart_style: 1.2.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- front_end: 0.1.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ dart_style: 1.2.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ front_end: 0.1.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob: 1.1.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- html: 0.13.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http: 0.12.0+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_multi_server: 2.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_parser: 3.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- intl: 0.15.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ intl: 0.15.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
intl_translation: 0.17.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
io: 0.3.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
isolate: 2.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
js: 0.6.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- json_rpc_2: 2.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- kernel: 0.3.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- logging: 0.11.3+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- matcher: 0.12.3+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ json_rpc_2: 2.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ kernel: 0.3.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ matcher: 0.12.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime: 0.9.6+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket: 1.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble: 1.4.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
@@ -48,32 +45,30 @@ dependencies:
path: 1.6.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pedantic: 1.5.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
petitparser: 2.2.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- plugin: 0.2.0+3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool: 1.4.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver: 1.4.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- quiver: 2.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf: 0.7.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ quiver: 2.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf: 0.7.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_packages_handler: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_static: 0.2.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf_web_socket: 0.2.2+4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf_web_socket: 0.2.2+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_map_stack_trace: 1.1.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_maps: 0.10.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span: 1.5.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stack_trace: 1.9.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- stream_channel: 1.6.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stream_channel: 2.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_api: 0.2.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_core: 0.2.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_api: 0.2.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_core: 0.2.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
typed_data: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- utf: 0.9.0+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vector_math: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- vm_service_client: 0.2.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ vm_service_client: 0.2.6+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher: 0.9.7+10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- web_socket_channel: 1.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ web_socket_channel: 1.0.12 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
yaml: 2.1.15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
flutter:
uses-material-design: true
-# PUBSPEC CHECKSUM: a9b0
+# PUBSPEC CHECKSUM: ae65
diff --git a/dev/bots/analyze-sample-code.dart b/dev/bots/analyze-sample-code.dart
index 6af14703f9..23a97584e5 100644
--- a/dev/bots/analyze-sample-code.dart
+++ b/dev/bots/analyze-sample-code.dart
@@ -165,7 +165,7 @@ class SampleChecker {
static final RegExp _codeBlockEndRegex = RegExp(r'///\s+```\s*$');
/// A RegExp that matches a Dart constructor.
- static final RegExp _constructorRegExp = RegExp(r'[A-Z][a-zA-Z0-9<>.]*\(');
+ static final RegExp _constructorRegExp = RegExp(r'(const\s+)?_*[A-Z][a-zA-Z0-9<>._]*\(');
/// Whether or not to keep the temp directory around after running.
///
@@ -742,7 +742,7 @@ linter:
if (block.isEmpty) {
throw SampleCheckerException('$line: Empty ```dart block in sample code.');
}
- if (block.first.startsWith('new ') || block.first.startsWith('const ') || block.first.startsWith(_constructorRegExp)) {
+ if (block.first.startsWith('new ') || block.first.startsWith(_constructorRegExp)) {
_expressionId += 1;
return Section.surround(line, 'dynamic expression$_expressionId = ', block.toList(), ';');
} else if (block.first.startsWith('await ')) {
diff --git a/dev/bots/analyze.dart b/dev/bots/analyze.dart
index b6c4ab1784..4456bdcfb7 100644
--- a/dev/bots/analyze.dart
+++ b/dev/bots/analyze.dart
@@ -94,12 +94,12 @@ Future _verifyInternationalizations() async {
final EvalResult genResult = await _evalCommand(
dart,
[
- path.join('dev', 'tools', 'gen_localizations.dart'),
+ path.join('dev', 'tools', 'localization', 'gen_localizations.dart'),
],
workingDirectory: flutterRoot,
);
- final String localizationsFile = path.join('packages', 'flutter_localizations', 'lib', 'src', 'l10n', 'localizations.dart');
+ final String localizationsFile = path.join('packages', 'flutter_localizations', 'lib', 'src', 'l10n', 'generated_material_localizations.dart');
final String expectedResult = await File(localizationsFile).readAsString();
if (genResult.stdout.trim() != expectedResult.trim()) {
diff --git a/dev/bots/deploy_gallery.sh b/dev/bots/deploy_gallery.sh
index b47126c492..24e7dfa951 100755
--- a/dev/bots/deploy_gallery.sh
+++ b/dev/bots/deploy_gallery.sh
@@ -35,7 +35,7 @@ if [[ "$SHARD" = "deploy_gallery" ]]; then
flutter build apk --release -t lib/main_publish.dart
)
echo "Android Flutter Gallery built"
- if [[ -z "$CIRRUS_PULL_REQUEST" && "$CIRRUS_BRANCH" == "dev" && "$version" != *"pre"* ]]; then
+ if [[ -z "$CIRRUS_PR" && "$CIRRUS_BRANCH" == "dev" && "$version" != *"pre"* ]]; then
echo "Deploying Flutter Gallery $version to Play Store..."
set +x # Don't echo back the below.
if [ -n "$ANDROID_GALLERY_UPLOAD_KEY" ]; then
@@ -56,11 +56,12 @@ if [[ "$SHARD" = "deploy_gallery" ]]; then
flutter build ios --release --no-codesign -t lib/main_publish.dart
)
echo "iOS Flutter Gallery built"
- if [[ -z "$CIRRUS_PULL_REQUEST" ]]; then
+ if [[ -z "$CIRRUS_PR" ]]; then
if [[ "$CIRRUS_BRANCH" == "dev" && "$version" != *"pre"* ]]; then
echo "Archiving with distribution profile and deploying to TestFlight..."
(
cd examples/flutter_gallery/ios
+ export DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS="-t DAV"
fastlane build_and_deploy_testflight upload:true
)
else
diff --git a/dev/bots/docs.sh b/dev/bots/docs.sh
index 05ee7ae8ae..5dab299139 100755
--- a/dev/bots/docs.sh
+++ b/dev/bots/docs.sh
@@ -104,7 +104,7 @@ if [[ -d "$FLUTTER_PUB_CACHE" ]]; then
fi
# Install and activate dartdoc.
-"$PUB" global activate dartdoc 0.28.2
+"$PUB" global activate dartdoc 0.28.3+1
# This script generates a unified doc set, and creates
# a custom index.html, placing everything into dev/docs/doc.
diff --git a/dev/bots/pubspec.yaml b/dev/bots/pubspec.yaml
index f4710b6fb0..c4b3d6a8e4 100644
--- a/dev/bots/pubspec.yaml
+++ b/dev/bots/pubspec.yaml
@@ -13,62 +13,56 @@ dependencies:
platform: 2.2.0
http: 0.12.0+1
http_parser: 3.1.3
- test: 1.5.3
+ test: 1.6.1
googleapis: 0.53.0
googleapis_auth: 0.2.7
_discoveryapis_commons: 0.1.8+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- analyzer: 0.35.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- async: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ analyzer: 0.35.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ async: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
boolean_selector: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection: 1.14.11 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto: 2.0.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- csslib: 0.14.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
file: 5.0.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- front_end: 0.1.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ front_end: 0.1.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob: 1.1.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- html: 0.13.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_multi_server: 2.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- intl: 0.15.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ intl: 0.15.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
io: 0.3.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
js: 0.6.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- json_rpc_2: 2.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- kernel: 0.3.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- logging: 0.11.3+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- matcher: 0.12.3+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ json_rpc_2: 2.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ kernel: 0.3.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ matcher: 0.12.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime: 0.9.6+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket: 1.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble: 1.4.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_config: 1.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_resolver: 1.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pedantic: 1.5.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- plugin: 0.2.0+3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool: 1.4.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver: 1.4.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf: 0.7.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf: 0.7.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_packages_handler: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_static: 0.2.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf_web_socket: 0.2.2+4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf_web_socket: 0.2.2+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_map_stack_trace: 1.1.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_maps: 0.10.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span: 1.5.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stack_trace: 1.9.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- stream_channel: 1.6.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stream_channel: 2.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_core: 0.2.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_core: 0.2.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
typed_data: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- utf: 0.9.0+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- vm_service_client: 0.2.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ vm_service_client: 0.2.6+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher: 0.9.7+10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- web_socket_channel: 1.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ web_socket_channel: 1.0.12 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
yaml: 2.1.15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
dev_dependencies:
mockito: 4.0.0
- test_api: 0.2.2
+ test_api: 0.2.4
-
-# PUBSPEC CHECKSUM: 422e
+# PUBSPEC CHECKSUM: 81e0
diff --git a/dev/bots/test.dart b/dev/bots/test.dart
index 60a54b8b86..5b92184caa 100644
--- a/dev/bots/test.dart
+++ b/dev/bots/test.dart
@@ -180,16 +180,24 @@ Future _runToolTests() async {
final bq.BigqueryApi bigqueryApi = await _getBigqueryApi();
await _runSmokeTests();
+ // The flutter_tool will currently be snapshotted without asserts. We need
+ // to force it to be regenerated with them enabled.
+ if (!Platform.isWindows) {
+ File(path.join(flutterRoot, 'bin', 'cache', 'flutter_tools.snapshot')).deleteSync();
+ File(path.join(flutterRoot, 'bin', 'cache', 'flutter_tools.stamp')).deleteSync();
+ }
if (noUseBuildRunner) {
await _pubRunTest(
path.join(flutterRoot, 'packages', 'flutter_tools'),
tableData: bigqueryApi?.tabledata,
+ enableFlutterToolAsserts: !Platform.isWindows,
);
} else {
await _buildRunnerTest(
path.join(flutterRoot, 'packages', 'flutter_tools'),
flutterRoot,
tableData: bigqueryApi?.tabledata,
+ enableFlutterToolAsserts: !Platform.isWindows,
);
}
diff --git a/dev/bots/test/analyze-sample-code-test-input/known_broken_documentation.dart b/dev/bots/test/analyze-sample-code-test-input/known_broken_documentation.dart
index 6a00c15f9a..fd3c78ed3f 100644
--- a/dev/bots/test/analyze-sample-code-test-input/known_broken_documentation.dart
+++ b/dev/bots/test/analyze-sample-code-test-input/known_broken_documentation.dart
@@ -7,6 +7,10 @@
// Examples can assume:
// bool _visible = true;
+// class _Text extends Text {
+// const _Text(String text) : super(text);
+// const _Text.__(String text) : super(text);
+// }
/// A blabla that blabla its blabla blabla blabla.
///
@@ -41,3 +45,41 @@
/// )
/// ```
/// {@end-tool}
+///
+/// {@tool sample}
+/// regular const constructor
+///
+/// ```dart
+/// const Text('Poor wandering ones!')
+/// ```
+/// {@end-tool}
+///
+/// {@tool sample}
+/// const private constructor
+/// ```dart
+/// const _Text('Poor wandering ones!')
+/// ```
+/// {@end-tool}
+///
+/// {@tool sample}
+/// yet another const private constructor
+/// ```dart
+/// const _Text.__('Poor wandering ones!')
+/// ```
+/// {@end-tool}
+///
+/// {@tool sample}
+/// const variable
+///
+/// ```dart
+/// const text0 = Text('Poor wandering ones!');
+/// ```
+/// {@end-tool}
+///
+/// {@tool sample}
+/// more const variables
+///
+/// ```dart
+/// const text1 = _Text('Poor wandering ones!');
+/// ```
+/// {@end-tool}
diff --git a/dev/bots/test/analyze-sample-code_test.dart b/dev/bots/test/analyze-sample-code_test.dart
index 0d46585a6d..8e0f347a15 100644
--- a/dev/bots/test/analyze-sample-code_test.dart
+++ b/dev/bots/test/analyze-sample-code_test.dart
@@ -17,14 +17,14 @@ void main() {
..removeWhere((String line) => line.startsWith('Analyzer output:'));
expect(process.exitCode, isNot(equals(0)));
expect(stderrLines, [
- 'known_broken_documentation.dart:26:9: new Opacity(',
+ 'known_broken_documentation.dart:30:9: new Opacity(',
'>>> Unnecessary new keyword (unnecessary_new)',
- 'known_broken_documentation.dart:38:9: new Opacity(',
+ 'known_broken_documentation.dart:42:9: new Opacity(',
'>>> Unnecessary new keyword (unnecessary_new)',
'',
'Found 1 sample code errors.',
'',
]);
- expect(stdoutLines, ['Found 2 sample code sections.', 'Starting analysis of samples.', '']);
+ expect(stdoutLines, ['Found 7 sample code sections.', 'Starting analysis of samples.', '']);
}, skip: Platform.isWindows);
}
diff --git a/dev/ci/docker_linux/Dockerfile b/dev/ci/docker_linux/Dockerfile
index 8f0e546059..44fd67a829 100644
--- a/dev/ci/docker_linux/Dockerfile
+++ b/dev/ci/docker_linux/Dockerfile
@@ -1,4 +1,4 @@
-# Flutter (https://flutter.io) Developement Environment for Linux
+# Flutter (https://flutter.dev) Developement Environment for Linux
# ===============================================================
#
# This environment passes all Linux Flutter Doctor checks and is sufficient
@@ -58,7 +58,7 @@ RUN unzip -q -d "${ANDROID_TOOLS_ROOT}" "${ANDROID_SDK_ARCHIVE}"
# Suppressing output of sdkmanager to keep log size down
# (it prints install progress WAY too often).
RUN yes "y" | "${ANDROID_TOOLS_ROOT}/tools/bin/sdkmanager" "tools" > /dev/null
-RUN yes "y" | "${ANDROID_TOOLS_ROOT}/tools/bin/sdkmanager" "build-tools;28.0.0" > /dev/null
+RUN yes "y" | "${ANDROID_TOOLS_ROOT}/tools/bin/sdkmanager" "build-tools;28.0.3" > /dev/null
RUN yes "y" | "${ANDROID_TOOLS_ROOT}/tools/bin/sdkmanager" "platforms;android-28" > /dev/null
RUN yes "y" | "${ANDROID_TOOLS_ROOT}/tools/bin/sdkmanager" "platform-tools" > /dev/null
RUN yes "y" | "${ANDROID_TOOLS_ROOT}/tools/bin/sdkmanager" "extras;android;m2repository" > /dev/null
@@ -100,6 +100,10 @@ ENV LANG en_US.UTF-8
# Install coveralls and Firebase
# This is why we need ruby installed.
-RUN gem install coveralls
-RUN gem install bundler
+# Skip all the documentation (-N) since it's just on CI.
+RUN gem install coveralls -N
+RUN gem install bundler -N
+# Install fastlane which is used on Linux to build and deploy Android
+# builds to the Play Store.
+RUN gem install fastlane -N
diff --git a/dev/devicelab/bin/tasks/drive_perf_debug_warning.dart b/dev/devicelab/bin/tasks/drive_perf_debug_warning.dart
new file mode 100644
index 0000000000..78bf7be7b3
--- /dev/null
+++ b/dev/devicelab/bin/tasks/drive_perf_debug_warning.dart
@@ -0,0 +1,52 @@
+// Copyright 2019 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'dart:async';
+
+import 'package:flutter_devicelab/framework/adb.dart';
+import 'package:flutter_devicelab/framework/framework.dart';
+import 'package:flutter_devicelab/framework/utils.dart';
+
+Future _runWithMode(String mode, String deviceId) async {
+ final StringBuffer stderr = StringBuffer();
+ await evalFlutter('drive', stderr: stderr, options: [
+ mode,
+ '-t',
+ 'test_driver/scroll_perf.dart',
+ '-d',
+ deviceId,
+ ]);
+ return stderr.toString();
+}
+
+Future run() async {
+ cd('${flutterDirectory.path}/examples/flutter_gallery');
+ final Device device = await devices.workingDevice;
+ await device.unlock();
+ final String deviceId = device.deviceId;
+ await flutter('packages', options: ['get']);
+
+ const String warningPiece = 'THIS BENCHMARK IS BEING RUN IN DEBUG MODE';
+
+ final String debugOutput = await _runWithMode('--debug', deviceId);
+ if (!debugOutput.contains(warningPiece)) {
+ return TaskResult.failure(
+ 'Could not find the following warning message piece: $warningPiece'
+ );
+ }
+
+ final String profileOutput = await _runWithMode('--profile', deviceId);
+ if (profileOutput.contains(warningPiece)) {
+ return TaskResult.failure(
+ 'Unexpected warning message piece in profile mode: $warningPiece'
+ );
+ }
+
+ return TaskResult.success(null);
+}
+
+Future main() async {
+ deviceOperatingSystem = DeviceOperatingSystem.android;
+ await task(run);
+}
diff --git a/dev/devicelab/bin/tasks/flutter_test_performance.dart b/dev/devicelab/bin/tasks/flutter_test_performance.dart
index 0e5ef8d979..3843f1c53f 100644
--- a/dev/devicelab/bin/tasks/flutter_test_performance.dart
+++ b/dev/devicelab/bin/tasks/flutter_test_performance.dart
@@ -36,11 +36,18 @@ enum TestStep {
testPassed,
}
-Future runTest() async {
+Future runTest({bool coverage = false}) async {
final Stopwatch clock = Stopwatch()..start();
+ final List arguments = [
+ 'test',
+ ];
+ if (coverage) {
+ arguments.add('--coverage');
+ }
+ arguments.add(path.join('flutter_test', 'trivial_widget_test.dart'));
final Process analysis = await startProcess(
path.join(flutterDirectory.path, 'bin', 'flutter'),
- ['test', path.join('flutter_test', 'trivial_widget_test.dart')],
+ arguments,
workingDirectory: path.join(flutterDirectory.path, 'dev', 'automated_tests'),
);
int badLines = 0;
@@ -50,6 +57,8 @@ Future runTest() async {
if (step == TestStep.starting && entry == 'Building flutter tool...') {
// ignore this line
step = TestStep.buildingFlutterTool;
+ } else if (step == TestStep.testPassed && entry.contains('Collecting coverage information...')) {
+ // ignore this line
} else if (step.index < TestStep.runningPubGet.index && entry == 'Running "flutter packages get" in automated_tests...') {
// ignore this line
step = TestStep.runningPubGet;
@@ -113,10 +122,13 @@ void main() {
.replaceAll('_xyzzy', 'owner')
);
final int interfaceChange = await runTest(); // run test again with interface changed
+ // run test with coverage enabled.
+ final int withCoverage = await runTest(coverage: true);
final Map data = {
'without_change_elapsed_time_ms': withoutChange,
'implementation_change_elapsed_time_ms': implementationChange,
'interface_change_elapsed_time_ms': interfaceChange,
+ 'with_coverage_time_ms': withCoverage,
};
return TaskResult.success(data, benchmarkScoreKeys: data.keys.toList());
} finally {
diff --git a/dev/devicelab/bin/tasks/uncaught_image_error_linux.dart b/dev/devicelab/bin/tasks/uncaught_image_error_linux.dart
new file mode 100644
index 0000000000..6b9567f7ec
--- /dev/null
+++ b/dev/devicelab/bin/tasks/uncaught_image_error_linux.dart
@@ -0,0 +1,57 @@
+// Copyright 2019 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'dart:async';
+import 'dart:convert';
+import 'dart:io';
+
+import 'package:flutter_devicelab/framework/adb.dart';
+import 'package:flutter_devicelab/framework/framework.dart';
+import 'package:flutter_devicelab/framework/utils.dart';
+import 'package:path/path.dart' as path;
+
+Future main() async {
+ deviceOperatingSystem = DeviceOperatingSystem.android;
+ await task(() async {
+ return inDirectory('${flutterDirectory.path}/dev/integration_tests/image_loading', () async {
+ final Device device = await devices.workingDevice;
+ await device.unlock();
+ final String deviceId = device.deviceId;
+ await flutter('packages', options: ['get']);
+ bool passed = false;
+
+ final List options = [
+ '-v',
+ '-t',
+ 'lib/main.dart',
+ '-d',
+ deviceId,
+ ];
+ final Process process = await startProcess(
+ path.join(flutterDirectory.path, 'bin', 'flutter'),
+ ['run']..addAll(options));
+
+ final Stream lines = process.stdout
+ .transform(utf8.decoder)
+ .transform(const LineSplitter());
+
+ await for (String line in lines) {
+ print(line);
+ if (line.contains('ERROR caught by framework')) {
+ passed = true;
+ break;
+ }
+ if (line.contains('EXCEPTION CAUGHT BY FLUTTER FRAMEWORK ')) {
+ passed = false;
+ break;
+ }
+ }
+ if (passed) {
+ return TaskResult.success(null);
+ } else {
+ return TaskResult.failure('Failed to catch sync error in image loading.');
+ }
+ });
+ });
+}
diff --git a/dev/devicelab/lib/framework/utils.dart b/dev/devicelab/lib/framework/utils.dart
index fc99b47cee..c562a3fd9a 100644
--- a/dev/devicelab/lib/framework/utils.dart
+++ b/dev/devicelab/lib/framework/utils.dart
@@ -303,6 +303,7 @@ Future eval(
Map environment,
bool canFail = false, // as in, whether failures are ok. False means that they are fatal.
String workingDirectory,
+ StringBuffer stderr, // if not null, the stderr will be written here
}) async {
final Process process = await startProcess(executable, arguments, environment: environment, workingDirectory: workingDirectory);
@@ -321,6 +322,7 @@ Future eval(
.transform(const LineSplitter())
.listen((String line) {
print('stderr: $line');
+ stderr?.writeln(line);
}, onDone: () { stderrDone.complete(); });
await Future.wait(>[stdoutDone.future, stderrDone.future]);
@@ -347,10 +349,11 @@ Future evalFlutter(String command, {
List options = const [],
bool canFail = false, // as in, whether failures are ok. False means that they are fatal.
Map environment,
+ StringBuffer stderr, // if not null, the stderr will be written here.
}) {
final List args = [command]..addAll(options);
return eval(path.join(flutterDirectory.path, 'bin', 'flutter'), args,
- canFail: canFail, environment: environment);
+ canFail: canFail, environment: environment, stderr: stderr);
}
String get dartBin =>
diff --git a/dev/devicelab/lib/tasks/integration_tests.dart b/dev/devicelab/lib/tasks/integration_tests.dart
index e59337bc1e..f6c7eb739a 100644
--- a/dev/devicelab/lib/tasks/integration_tests.dart
+++ b/dev/devicelab/lib/tasks/integration_tests.dart
@@ -71,6 +71,13 @@ TaskFunction createCodegenerationIntegrationTest() {
);
}
+TaskFunction createImageLoadingIntegrationTest() {
+ return DriverTest(
+ '${flutterDirectory.path}/dev/integration_tests/image_loading',
+ 'lib/main.dart',
+ );
+}
+
TaskFunction createFlutterCreateOfflineTest() {
return () async {
final Directory tempDir = Directory.systemTemp.createTempSync('flutter_create_test.');
diff --git a/dev/devicelab/lib/tasks/microbenchmarks.dart b/dev/devicelab/lib/tasks/microbenchmarks.dart
index c4dd4ef24e..e1128ef649 100644
--- a/dev/devicelab/lib/tasks/microbenchmarks.dart
+++ b/dev/devicelab/lib/tasks/microbenchmarks.dart
@@ -51,6 +51,7 @@ TaskFunction createMicrobenchmarkTask() {
final Map allResults = {};
allResults.addAll(await _runMicrobench('lib/stocks/layout_bench.dart'));
allResults.addAll(await _runMicrobench('lib/stocks/build_bench.dart'));
+ allResults.addAll(await _runMicrobench('lib/geometry/rrect_contains_bench.dart'));
allResults.addAll(await _runMicrobench('lib/gestures/velocity_tracker_bench.dart'));
allResults.addAll(await _runMicrobench('lib/stocks/animation_bench.dart'));
diff --git a/dev/devicelab/lib/tasks/perf_tests.dart b/dev/devicelab/lib/tasks/perf_tests.dart
index 515d122636..98217cddbb 100644
--- a/dev/devicelab/lib/tasks/perf_tests.dart
+++ b/dev/devicelab/lib/tasks/perf_tests.dart
@@ -274,7 +274,7 @@ class CompileTest {
await flutter('build', options: options);
watch.stop();
final String appPath = '$cwd/build/ios/Release-iphoneos/Runner.app/';
- // IPAs are created manually, https://flutter.io/ios-release/
+ // IPAs are created manually, https://flutter.dev/ios-release/
await exec('tar', ['-zcf', 'build/app.ipa', appPath]);
releaseSizeInBytes = await file('$cwd/build/app.ipa').length();
if (reportPackageContentSizes)
diff --git a/dev/devicelab/manifest.yaml b/dev/devicelab/manifest.yaml
index a5db41a1a1..015125febe 100644
--- a/dev/devicelab/manifest.yaml
+++ b/dev/devicelab/manifest.yaml
@@ -97,6 +97,14 @@ tasks:
stage: devicelab
required_agent_capabilities: ["linux/android"]
+ uncaught_image_error_linux:
+ description: >
+ Ensures that an error thrown into the zone can be caught by the ImageStream
+ completer
+ stage: devicelab
+ flaky: true
+ required_agent_capabilities: ["linux/android"]
+
flutter_gallery_android__compile:
description: >
Collects various performance metrics of compiling the Flutter
@@ -140,6 +148,13 @@ tasks:
stage: devicelab
required_agent_capabilities: ["mac/android"]
+ drive_perf_debug_warning:
+ description: >
+ Check that driver will print warnings when traceAction is called in debug mode.
+ stage: devicelab
+ required_agent_capabilities: ["mac/android"]
+ flaky: true
+
cull_opacity_perf__timeline_summary:
description: >
Measures the runtime performance of culling opacity widgets on Android.
@@ -151,7 +166,6 @@ tasks:
Measures the runtime performance of cubic bezier animations on Android.
stage: devicelab
required_agent_capabilities: ["mac/android"]
- flaky: true
flavors_test:
description: >
diff --git a/dev/devicelab/pubspec.yaml b/dev/devicelab/pubspec.yaml
index bc79d221b5..fa6d5ee5ca 100644
--- a/dev/devicelab/pubspec.yaml
+++ b/dev/devicelab/pubspec.yaml
@@ -16,62 +16,59 @@ dependencies:
platform: 2.2.0
process: 3.0.9
stack_trace: 1.9.3
- vm_service_client: 0.2.6
+ vm_service_client: 0.2.6+1
+
+ logging: 0.11.3+2
archive: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- async: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ async: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection: 1.14.11 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto: 2.0.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- intl: 0.15.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- json_rpc_2: 2.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ intl: 0.15.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ json_rpc_2: 2.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
petitparser: 2.2.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver: 1.4.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span: 1.5.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- stream_channel: 1.6.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stream_channel: 2.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
typed_data: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- web_socket_channel: 1.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ web_socket_channel: 1.0.12 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
xml: 3.4.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
dev_dependencies:
# See packages/flutter_test/pubspec.yaml for why we're pinning this version.
- test: 1.5.3
+ test: 1.6.1
- analyzer: 0.35.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ analyzer: 0.35.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
boolean_selector: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- csslib: 0.14.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- front_end: 0.1.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ front_end: 0.1.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob: 1.1.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- html: 0.13.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http: 0.12.0+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_multi_server: 2.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_parser: 3.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
io: 0.3.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
js: 0.6.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- kernel: 0.3.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- logging: 0.11.3+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- matcher: 0.12.3+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ kernel: 0.3.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ matcher: 0.12.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime: 0.9.6+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket: 1.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble: 1.4.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_config: 1.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_resolver: 1.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pedantic: 1.5.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- plugin: 0.2.0+3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool: 1.4.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf: 0.7.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf: 0.7.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_packages_handler: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_static: 0.2.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf_web_socket: 0.2.2+4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf_web_socket: 0.2.2+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_map_stack_trace: 1.1.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_maps: 0.10.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_api: 0.2.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_core: 0.2.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- utf: 0.9.0+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_api: 0.2.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_core: 0.2.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher: 0.9.7+10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
yaml: 2.1.15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
-# PUBSPEC CHECKSUM: d7e6
+# PUBSPEC CHECKSUM: 7c5d
diff --git a/dev/docs/dashing.json b/dev/docs/dashing.json
index 4076446758..3e96f0bb24 100644
--- a/dev/docs/dashing.json
+++ b/dev/docs/dashing.json
@@ -3,7 +3,7 @@
"package": "flutter",
"author": {
"name": "The Flutter Team",
- "link": "https://flutter.io"
+ "link": "https://flutter.dev"
},
"index": "index.html",
"icon32x32": "flutter/static-assets/favicon.png",
diff --git a/dev/integration_tests/android_semantics_testing/pubspec.yaml b/dev/integration_tests/android_semantics_testing/pubspec.yaml
index fc34fbbfa4..285b467552 100644
--- a/dev/integration_tests/android_semantics_testing/pubspec.yaml
+++ b/dev/integration_tests/android_semantics_testing/pubspec.yaml
@@ -6,31 +6,28 @@ dependencies:
sdk: flutter
flutter_driver:
sdk: flutter
- test: 1.5.3
+ test: 1.6.1
- analyzer: 0.35.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ analyzer: 0.35.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
args: 1.5.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- async: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ async: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
boolean_selector: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection: 1.14.11 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto: 2.0.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- csslib: 0.14.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
file: 5.0.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- front_end: 0.1.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ front_end: 0.1.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob: 1.1.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- html: 0.13.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http: 0.12.0+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_multi_server: 2.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_parser: 3.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- intl: 0.15.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ intl: 0.15.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
io: 0.3.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
js: 0.6.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- json_rpc_2: 2.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- kernel: 0.3.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- logging: 0.11.3+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- matcher: 0.12.3+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ json_rpc_2: 2.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ kernel: 0.3.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ matcher: 0.12.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime: 0.9.6+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket: 1.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
@@ -39,31 +36,29 @@ dependencies:
package_resolver: 1.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path: 1.6.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pedantic: 1.5.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- plugin: 0.2.0+3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool: 1.4.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver: 1.4.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf: 0.7.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf: 0.7.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_packages_handler: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_static: 0.2.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf_web_socket: 0.2.2+4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf_web_socket: 0.2.2+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_map_stack_trace: 1.1.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_maps: 0.10.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span: 1.5.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stack_trace: 1.9.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- stream_channel: 1.6.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stream_channel: 2.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_api: 0.2.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_core: 0.2.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_api: 0.2.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_core: 0.2.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
typed_data: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- utf: 0.9.0+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vector_math: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- vm_service_client: 0.2.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ vm_service_client: 0.2.6+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher: 0.9.7+10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- web_socket_channel: 1.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ web_socket_channel: 1.0.12 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
yaml: 2.1.15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
flutter:
uses-material-design: true
-# PUBSPEC CHECKSUM: 2b9e
+# PUBSPEC CHECKSUM: 6251
diff --git a/dev/integration_tests/android_views/pubspec.yaml b/dev/integration_tests/android_views/pubspec.yaml
index 9325cf43aa..e272fb83cb 100644
--- a/dev/integration_tests/android_views/pubspec.yaml
+++ b/dev/integration_tests/android_views/pubspec.yaml
@@ -15,68 +15,63 @@ dependencies:
ref: c47f1308188dca65b3899228cac37f252ea8b411
path: dev/integration_tests/assets_for_android_views
- async: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ async: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto: 2.0.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
file: 5.0.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- intl: 0.15.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- json_rpc_2: 2.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ intl: 0.15.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ json_rpc_2: 2.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path: 1.6.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver: 1.4.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span: 1.5.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stack_trace: 1.9.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- stream_channel: 1.6.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stream_channel: 2.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
typed_data: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vector_math: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- vm_service_client: 0.2.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- web_socket_channel: 1.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ vm_service_client: 0.2.6+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ web_socket_channel: 1.0.12 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
dev_dependencies:
flutter_test:
sdk: flutter
- test: 1.5.3
+ test: 1.6.1
- analyzer: 0.35.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ analyzer: 0.35.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
args: 1.5.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
boolean_selector: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- csslib: 0.14.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- front_end: 0.1.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ front_end: 0.1.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob: 1.1.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- html: 0.13.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http: 0.12.0+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_multi_server: 2.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_parser: 3.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
io: 0.3.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
js: 0.6.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- kernel: 0.3.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- logging: 0.11.3+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- matcher: 0.12.3+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ kernel: 0.3.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ matcher: 0.12.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime: 0.9.6+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket: 1.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble: 1.4.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_config: 1.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_resolver: 1.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pedantic: 1.5.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- plugin: 0.2.0+3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool: 1.4.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- quiver: 2.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf: 0.7.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ quiver: 2.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf: 0.7.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_packages_handler: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_static: 0.2.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf_web_socket: 0.2.2+4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf_web_socket: 0.2.2+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_map_stack_trace: 1.1.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_maps: 0.10.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_api: 0.2.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_core: 0.2.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- utf: 0.9.0+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_api: 0.2.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_core: 0.2.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher: 0.9.7+10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
yaml: 2.1.15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
flutter:
uses-material-design: true
-# PUBSPEC CHECKSUM: 49ac
+# PUBSPEC CHECKSUM: dd60
diff --git a/dev/integration_tests/channels/pubspec.yaml b/dev/integration_tests/channels/pubspec.yaml
index 39872ef4f6..c968783dd2 100644
--- a/dev/integration_tests/channels/pubspec.yaml
+++ b/dev/integration_tests/channels/pubspec.yaml
@@ -10,31 +10,28 @@ dependencies:
sdk: flutter
flutter_driver:
sdk: flutter
- test: 1.5.3
+ test: 1.6.1
- analyzer: 0.35.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ analyzer: 0.35.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
args: 1.5.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- async: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ async: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
boolean_selector: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection: 1.14.11 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto: 2.0.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- csslib: 0.14.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
file: 5.0.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- front_end: 0.1.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ front_end: 0.1.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob: 1.1.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- html: 0.13.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http: 0.12.0+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_multi_server: 2.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_parser: 3.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- intl: 0.15.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ intl: 0.15.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
io: 0.3.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
js: 0.6.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- json_rpc_2: 2.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- kernel: 0.3.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- logging: 0.11.3+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- matcher: 0.12.3+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ json_rpc_2: 2.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ kernel: 0.3.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ matcher: 0.12.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime: 0.9.6+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket: 1.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
@@ -43,31 +40,29 @@ dependencies:
package_resolver: 1.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path: 1.6.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pedantic: 1.5.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- plugin: 0.2.0+3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool: 1.4.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver: 1.4.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf: 0.7.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf: 0.7.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_packages_handler: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_static: 0.2.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf_web_socket: 0.2.2+4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf_web_socket: 0.2.2+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_map_stack_trace: 1.1.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_maps: 0.10.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span: 1.5.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stack_trace: 1.9.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- stream_channel: 1.6.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stream_channel: 2.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_api: 0.2.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_core: 0.2.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_api: 0.2.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_core: 0.2.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
typed_data: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- utf: 0.9.0+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vector_math: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- vm_service_client: 0.2.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ vm_service_client: 0.2.6+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher: 0.9.7+10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- web_socket_channel: 1.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ web_socket_channel: 1.0.12 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
yaml: 2.1.15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
flutter:
uses-material-design: true
-# PUBSPEC CHECKSUM: 2b9e
+# PUBSPEC CHECKSUM: 6251
diff --git a/dev/integration_tests/codegen/pubspec.yaml b/dev/integration_tests/codegen/pubspec.yaml
index c3cbf60e54..1a656f1c97 100644
--- a/dev/integration_tests/codegen/pubspec.yaml
+++ b/dev/integration_tests/codegen/pubspec.yaml
@@ -11,62 +11,57 @@ dependencies:
flutter_driver:
sdk: flutter
- async: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ async: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection: 1.14.11 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto: 2.0.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
file: 5.0.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- intl: 0.15.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- json_rpc_2: 2.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ intl: 0.15.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ json_rpc_2: 2.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path: 1.6.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver: 1.4.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span: 1.5.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stack_trace: 1.9.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- stream_channel: 1.6.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stream_channel: 2.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
typed_data: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vector_math: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- vm_service_client: 0.2.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- web_socket_channel: 1.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ vm_service_client: 0.2.6+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ web_socket_channel: 1.0.12 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
dev_dependencies:
- test: 1.5.3
+ test: 1.6.1
- analyzer: 0.35.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ analyzer: 0.35.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
args: 1.5.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
boolean_selector: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- csslib: 0.14.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- front_end: 0.1.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ front_end: 0.1.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob: 1.1.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- html: 0.13.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http: 0.12.0+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_multi_server: 2.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_parser: 3.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
io: 0.3.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
js: 0.6.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- kernel: 0.3.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- logging: 0.11.3+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- matcher: 0.12.3+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ kernel: 0.3.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ matcher: 0.12.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime: 0.9.6+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket: 1.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble: 1.4.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_config: 1.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_resolver: 1.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pedantic: 1.5.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- plugin: 0.2.0+3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool: 1.4.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf: 0.7.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf: 0.7.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_packages_handler: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_static: 0.2.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf_web_socket: 0.2.2+4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf_web_socket: 0.2.2+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_map_stack_trace: 1.1.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_maps: 0.10.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_api: 0.2.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_core: 0.2.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- utf: 0.9.0+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_api: 0.2.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_core: 0.2.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher: 0.9.7+10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
yaml: 2.1.15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
@@ -78,4 +73,4 @@ builders:
flutter:
uses-material-design: true
-# PUBSPEC CHECKSUM: 2b9e
+# PUBSPEC CHECKSUM: 6251
diff --git a/dev/integration_tests/external_ui/pubspec.yaml b/dev/integration_tests/external_ui/pubspec.yaml
index 6e580305ad..1b39d3b000 100644
--- a/dev/integration_tests/external_ui/pubspec.yaml
+++ b/dev/integration_tests/external_ui/pubspec.yaml
@@ -10,31 +10,28 @@ dependencies:
sdk: flutter
flutter_driver:
sdk: flutter
- test: 1.5.3
+ test: 1.6.1
- analyzer: 0.35.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ analyzer: 0.35.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
args: 1.5.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- async: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ async: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
boolean_selector: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection: 1.14.11 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto: 2.0.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- csslib: 0.14.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
file: 5.0.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- front_end: 0.1.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ front_end: 0.1.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob: 1.1.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- html: 0.13.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http: 0.12.0+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_multi_server: 2.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_parser: 3.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- intl: 0.15.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ intl: 0.15.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
io: 0.3.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
js: 0.6.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- json_rpc_2: 2.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- kernel: 0.3.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- logging: 0.11.3+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- matcher: 0.12.3+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ json_rpc_2: 2.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ kernel: 0.3.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ matcher: 0.12.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime: 0.9.6+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket: 1.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
@@ -43,31 +40,29 @@ dependencies:
package_resolver: 1.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path: 1.6.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pedantic: 1.5.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- plugin: 0.2.0+3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool: 1.4.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver: 1.4.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf: 0.7.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf: 0.7.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_packages_handler: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_static: 0.2.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf_web_socket: 0.2.2+4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf_web_socket: 0.2.2+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_map_stack_trace: 1.1.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_maps: 0.10.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span: 1.5.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stack_trace: 1.9.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- stream_channel: 1.6.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stream_channel: 2.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_api: 0.2.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_core: 0.2.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_api: 0.2.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_core: 0.2.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
typed_data: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- utf: 0.9.0+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vector_math: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- vm_service_client: 0.2.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ vm_service_client: 0.2.6+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher: 0.9.7+10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- web_socket_channel: 1.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ web_socket_channel: 1.0.12 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
yaml: 2.1.15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
flutter:
uses-material-design: true
-# PUBSPEC CHECKSUM: 2b9e
+# PUBSPEC CHECKSUM: 6251
diff --git a/dev/integration_tests/flavors/pubspec.yaml b/dev/integration_tests/flavors/pubspec.yaml
index cade712a20..492c23ea21 100644
--- a/dev/integration_tests/flavors/pubspec.yaml
+++ b/dev/integration_tests/flavors/pubspec.yaml
@@ -10,31 +10,28 @@ dependencies:
sdk: flutter
flutter_driver:
sdk: flutter
- test: 1.5.3
+ test: 1.6.1
- analyzer: 0.35.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ analyzer: 0.35.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
args: 1.5.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- async: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ async: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
boolean_selector: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection: 1.14.11 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto: 2.0.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- csslib: 0.14.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
file: 5.0.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- front_end: 0.1.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ front_end: 0.1.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob: 1.1.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- html: 0.13.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http: 0.12.0+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_multi_server: 2.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_parser: 3.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- intl: 0.15.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ intl: 0.15.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
io: 0.3.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
js: 0.6.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- json_rpc_2: 2.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- kernel: 0.3.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- logging: 0.11.3+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- matcher: 0.12.3+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ json_rpc_2: 2.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ kernel: 0.3.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ matcher: 0.12.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime: 0.9.6+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket: 1.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
@@ -43,31 +40,29 @@ dependencies:
package_resolver: 1.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path: 1.6.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pedantic: 1.5.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- plugin: 0.2.0+3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool: 1.4.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver: 1.4.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf: 0.7.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf: 0.7.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_packages_handler: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_static: 0.2.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf_web_socket: 0.2.2+4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf_web_socket: 0.2.2+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_map_stack_trace: 1.1.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_maps: 0.10.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span: 1.5.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stack_trace: 1.9.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- stream_channel: 1.6.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stream_channel: 2.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_api: 0.2.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_core: 0.2.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_api: 0.2.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_core: 0.2.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
typed_data: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- utf: 0.9.0+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vector_math: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- vm_service_client: 0.2.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ vm_service_client: 0.2.6+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher: 0.9.7+10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- web_socket_channel: 1.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ web_socket_channel: 1.0.12 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
yaml: 2.1.15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
flutter:
uses-material-design: true
-# PUBSPEC CHECKSUM: 2b9e
+# PUBSPEC CHECKSUM: 6251
diff --git a/dev/integration_tests/image_loading/android/.project b/dev/integration_tests/image_loading/android/.project
new file mode 100644
index 0000000000..3964dd3f5b
--- /dev/null
+++ b/dev/integration_tests/image_loading/android/.project
@@ -0,0 +1,17 @@
+
+
+ android
+ Project android created by Buildship.
+
+
+
+
+ org.eclipse.buildship.core.gradleprojectbuilder
+
+
+
+
+
+ org.eclipse.buildship.core.gradleprojectnature
+
+
diff --git a/dev/integration_tests/image_loading/android/app/.project b/dev/integration_tests/image_loading/android/app/.project
new file mode 100644
index 0000000000..ac485d7c3e
--- /dev/null
+++ b/dev/integration_tests/image_loading/android/app/.project
@@ -0,0 +1,23 @@
+
+
+ app
+ Project app created by Buildship.
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ org.eclipse.buildship.core.gradleprojectbuilder
+
+
+
+
+
+ org.eclipse.jdt.core.javanature
+ org.eclipse.buildship.core.gradleprojectnature
+
+
diff --git a/dev/integration_tests/image_loading/android/app/bin/build.gradle b/dev/integration_tests/image_loading/android/app/bin/build.gradle
new file mode 100644
index 0000000000..9ebebef363
--- /dev/null
+++ b/dev/integration_tests/image_loading/android/app/bin/build.gradle
@@ -0,0 +1,57 @@
+def localProperties = new Properties()
+def localPropertiesFile = rootProject.file('local.properties')
+if (localPropertiesFile.exists()) {
+ localPropertiesFile.withInputStream { stream ->
+ localProperties.load(stream)
+ }
+}
+
+def flutterRoot = localProperties.getProperty('flutter.sdk')
+if (flutterRoot == null) {
+ throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
+}
+
+apply plugin: 'com.android.application'
+apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
+
+android {
+ compileSdkVersion 28
+
+ lintOptions {
+ disable 'InvalidPackage'
+ }
+
+ defaultConfig {
+ minSdkVersion 16
+ targetSdkVersion 28
+ versionCode 1
+ versionName "0.0.1"
+ testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
+ }
+
+ buildTypes {
+ release {
+ // TODO: Add your own signing config for the release build.
+ // Signing with the debug keys for now, so `flutter run --release` works.
+ signingConfig signingConfigs.debug
+ }
+ }
+
+ aaptOptions {
+ // TODO(goderbauer): remove when https://github.com/flutter/flutter/issues/8986 is resolved.
+ if(System.getenv("FLUTTER_CI_WIN")) {
+ println "AAPT cruncher disabled when running on Win CI."
+ cruncherEnabled false
+ }
+ }
+}
+
+flutter {
+ source '../..'
+}
+
+dependencies {
+ testImplementation 'junit:junit:4.12'
+ androidTestImplementation 'com.android.support.test:runner:1.0.2'
+ androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
+}
diff --git a/dev/integration_tests/image_loading/android/app/bin/src/main/AndroidManifest.xml b/dev/integration_tests/image_loading/android/app/bin/src/main/AndroidManifest.xml
new file mode 100644
index 0000000000..6703641433
--- /dev/null
+++ b/dev/integration_tests/image_loading/android/app/bin/src/main/AndroidManifest.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dev/integration_tests/image_loading/android/app/bin/src/main/res/mipmap-hdpi/ic_launcher.png b/dev/integration_tests/image_loading/android/app/bin/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 0000000000..db77bb4b7b
Binary files /dev/null and b/dev/integration_tests/image_loading/android/app/bin/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/dev/integration_tests/image_loading/android/app/bin/src/main/res/mipmap-mdpi/ic_launcher.png b/dev/integration_tests/image_loading/android/app/bin/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 0000000000..17987b79bb
Binary files /dev/null and b/dev/integration_tests/image_loading/android/app/bin/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/dev/integration_tests/image_loading/android/app/bin/src/main/res/mipmap-xhdpi/ic_launcher.png b/dev/integration_tests/image_loading/android/app/bin/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 0000000000..09d4391482
Binary files /dev/null and b/dev/integration_tests/image_loading/android/app/bin/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/dev/integration_tests/image_loading/android/app/bin/src/main/res/mipmap-xxhdpi/ic_launcher.png b/dev/integration_tests/image_loading/android/app/bin/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 0000000000..d5f1c8d34e
Binary files /dev/null and b/dev/integration_tests/image_loading/android/app/bin/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/dev/integration_tests/image_loading/android/app/bin/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/dev/integration_tests/image_loading/android/app/bin/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 0000000000..4d6372eebd
Binary files /dev/null and b/dev/integration_tests/image_loading/android/app/bin/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/dev/integration_tests/image_loading/android/app/build.gradle b/dev/integration_tests/image_loading/android/app/build.gradle
new file mode 100644
index 0000000000..9ebebef363
--- /dev/null
+++ b/dev/integration_tests/image_loading/android/app/build.gradle
@@ -0,0 +1,57 @@
+def localProperties = new Properties()
+def localPropertiesFile = rootProject.file('local.properties')
+if (localPropertiesFile.exists()) {
+ localPropertiesFile.withInputStream { stream ->
+ localProperties.load(stream)
+ }
+}
+
+def flutterRoot = localProperties.getProperty('flutter.sdk')
+if (flutterRoot == null) {
+ throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
+}
+
+apply plugin: 'com.android.application'
+apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
+
+android {
+ compileSdkVersion 28
+
+ lintOptions {
+ disable 'InvalidPackage'
+ }
+
+ defaultConfig {
+ minSdkVersion 16
+ targetSdkVersion 28
+ versionCode 1
+ versionName "0.0.1"
+ testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
+ }
+
+ buildTypes {
+ release {
+ // TODO: Add your own signing config for the release build.
+ // Signing with the debug keys for now, so `flutter run --release` works.
+ signingConfig signingConfigs.debug
+ }
+ }
+
+ aaptOptions {
+ // TODO(goderbauer): remove when https://github.com/flutter/flutter/issues/8986 is resolved.
+ if(System.getenv("FLUTTER_CI_WIN")) {
+ println "AAPT cruncher disabled when running on Win CI."
+ cruncherEnabled false
+ }
+ }
+}
+
+flutter {
+ source '../..'
+}
+
+dependencies {
+ testImplementation 'junit:junit:4.12'
+ androidTestImplementation 'com.android.support.test:runner:1.0.2'
+ androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
+}
diff --git a/dev/integration_tests/image_loading/android/app/src/main/AndroidManifest.xml b/dev/integration_tests/image_loading/android/app/src/main/AndroidManifest.xml
new file mode 100644
index 0000000000..6703641433
--- /dev/null
+++ b/dev/integration_tests/image_loading/android/app/src/main/AndroidManifest.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dev/integration_tests/image_loading/android/app/src/main/java/com/yourcompany/platforminteraction/MainActivity.java b/dev/integration_tests/image_loading/android/app/src/main/java/com/yourcompany/platforminteraction/MainActivity.java
new file mode 100644
index 0000000000..0b076eff28
--- /dev/null
+++ b/dev/integration_tests/image_loading/android/app/src/main/java/com/yourcompany/platforminteraction/MainActivity.java
@@ -0,0 +1,18 @@
+// Copyright 2019 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package com.yourcompany.platforminteraction;
+
+import android.os.Bundle;
+import io.flutter.app.FlutterActivity;
+import io.flutter.plugins.GeneratedPluginRegistrant;
+import io.flutter.view.FlutterView;
+
+public class MainActivity extends FlutterActivity {
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ GeneratedPluginRegistrant.registerWith(this);
+ }
+}
diff --git a/dev/integration_tests/image_loading/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/dev/integration_tests/image_loading/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 0000000000..db77bb4b7b
Binary files /dev/null and b/dev/integration_tests/image_loading/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/dev/integration_tests/image_loading/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/dev/integration_tests/image_loading/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 0000000000..17987b79bb
Binary files /dev/null and b/dev/integration_tests/image_loading/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/dev/integration_tests/image_loading/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/dev/integration_tests/image_loading/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 0000000000..09d4391482
Binary files /dev/null and b/dev/integration_tests/image_loading/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/dev/integration_tests/image_loading/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/dev/integration_tests/image_loading/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 0000000000..d5f1c8d34e
Binary files /dev/null and b/dev/integration_tests/image_loading/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/dev/integration_tests/image_loading/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/dev/integration_tests/image_loading/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 0000000000..4d6372eebd
Binary files /dev/null and b/dev/integration_tests/image_loading/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/dev/integration_tests/image_loading/android/build.gradle b/dev/integration_tests/image_loading/android/build.gradle
new file mode 100644
index 0000000000..bb8a303898
--- /dev/null
+++ b/dev/integration_tests/image_loading/android/build.gradle
@@ -0,0 +1,29 @@
+buildscript {
+ repositories {
+ google()
+ jcenter()
+ }
+
+ dependencies {
+ classpath 'com.android.tools.build:gradle:3.2.1'
+ }
+}
+
+allprojects {
+ repositories {
+ google()
+ jcenter()
+ }
+}
+
+rootProject.buildDir = '../build'
+subprojects {
+ project.buildDir = "${rootProject.buildDir}/${project.name}"
+}
+subprojects {
+ project.evaluationDependsOn(':app')
+}
+
+task clean(type: Delete) {
+ delete rootProject.buildDir
+}
diff --git a/dev/integration_tests/image_loading/android/gradle.properties b/dev/integration_tests/image_loading/android/gradle.properties
new file mode 100644
index 0000000000..8bd86f6805
--- /dev/null
+++ b/dev/integration_tests/image_loading/android/gradle.properties
@@ -0,0 +1 @@
+org.gradle.jvmargs=-Xmx1536M
diff --git a/dev/integration_tests/image_loading/android/gradle/wrapper/gradle-wrapper.properties b/dev/integration_tests/image_loading/android/gradle/wrapper/gradle-wrapper.properties
new file mode 100755
index 0000000000..2819f022f1
--- /dev/null
+++ b/dev/integration_tests/image_loading/android/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Fri Jun 23 08:50:38 CEST 2017
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
diff --git a/dev/integration_tests/image_loading/android/settings.gradle b/dev/integration_tests/image_loading/android/settings.gradle
new file mode 100644
index 0000000000..115da6cb4f
--- /dev/null
+++ b/dev/integration_tests/image_loading/android/settings.gradle
@@ -0,0 +1,15 @@
+include ':app'
+
+def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()
+
+def plugins = new Properties()
+def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')
+if (pluginsFile.exists()) {
+ pluginsFile.withInputStream { stream -> plugins.load(stream) }
+}
+
+plugins.each { name, path ->
+ def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
+ include ":$name"
+ project(":$name").projectDir = pluginDirectory
+}
diff --git a/dev/integration_tests/image_loading/lib/main.dart b/dev/integration_tests/image_loading/lib/main.dart
new file mode 100644
index 0000000000..a1a3e8e9c2
--- /dev/null
+++ b/dev/integration_tests/image_loading/lib/main.dart
@@ -0,0 +1,69 @@
+// Copyright 2019 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'dart:async';
+import 'dart:io';
+
+import 'package:flutter/material.dart';
+import 'package:mockito/mockito.dart';
+
+void main() {
+ final ThrowingHttpClient httpClient = ThrowingHttpClient();
+ final HttpOverrides overrides = ProvidedHttpOverrides(httpClient);
+ HttpOverrides.global = overrides;
+ final ZoneSpecification specification = ZoneSpecification(
+ handleUncaughtError:(Zone zone, ZoneDelegate delegate, Zone parent, Object error, StackTrace stackTrace) {
+ FlutterError.reportError(FlutterErrorDetails(
+ exception: error,
+ context: 'In the Zone handleUncaughtError handler',
+ silent: false,
+ ));
+ });
+ when(httpClient.getUrl(any)).thenAnswer((Invocation invocation) {
+ final Completer completer = Completer.sync();
+ completer.completeError(Error());
+ return completer.future;
+ });
+ Zone.current.fork(specification: specification).run(() {
+ runApp(ImageLoader());
+ });
+}
+
+class ImageLoader extends StatefulWidget {
+ @override
+ _ImageLoaderState createState() => _ImageLoaderState();
+}
+
+class _ImageLoaderState extends State {
+ bool caughtError = false;
+
+ @override
+ void initState() {
+ // This is not an image, but we don't care since we're using a faked
+ // http client.
+ final NetworkImage image = NetworkImage('https://github.com/flutter/flutter');
+ final ImageStream stream = image.resolve(ImageConfiguration.empty);
+ stream.addListener((ImageInfo info, bool syncCall) {}, onError: (dynamic error, StackTrace stackTrace) {
+ print('ERROR caught by framework');
+ });
+ super.initState();
+ }
+
+ @override
+ Widget build(BuildContext context) {
+ return const Text('hello', textDirection: TextDirection.ltr);
+ }
+}
+
+class ThrowingHttpClient extends Mock implements HttpClient {}
+
+class ProvidedHttpOverrides extends HttpOverrides {
+ ProvidedHttpOverrides(this.httpClient);
+
+ final ThrowingHttpClient httpClient;
+ @override
+ HttpClient createHttpClient(SecurityContext context) {
+ return httpClient;
+ }
+}
diff --git a/dev/integration_tests/image_loading/pubspec.yaml b/dev/integration_tests/image_loading/pubspec.yaml
new file mode 100644
index 0000000000..a09b757c4f
--- /dev/null
+++ b/dev/integration_tests/image_loading/pubspec.yaml
@@ -0,0 +1,63 @@
+name: image_loading
+description: Integration testing library for Android semantics
+
+dependencies:
+ flutter:
+ sdk: flutter
+ test: 1.6.1
+ mockito: 4.0.0
+
+ analyzer: 0.35.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ args: 1.5.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ async: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ boolean_selector: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ charcode: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ collection: 1.14.11 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ convert: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ crypto: 2.0.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ file: 5.0.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ front_end: 0.1.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ glob: 1.1.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ http: 0.12.0+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ http_multi_server: 2.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ http_parser: 3.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ intl: 0.15.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ io: 0.3.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ js: 0.6.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ json_rpc_2: 2.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ kernel: 0.3.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ matcher: 0.12.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ meta: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ mime: 0.9.6+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ multi_server_socket: 1.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ node_preamble: 1.4.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ package_config: 1.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ package_resolver: 1.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ path: 1.6.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ pedantic: 1.5.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ pool: 1.4.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ pub_semver: 1.4.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf: 0.7.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf_packages_handler: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf_static: 0.2.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf_web_socket: 0.2.2+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ source_map_stack_trace: 1.1.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ source_maps: 0.10.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ source_span: 1.5.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stack_trace: 1.9.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stream_channel: 2.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ string_scanner: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ term_glyph: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_api: 0.2.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_core: 0.2.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ typed_data: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ vector_math: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ vm_service_client: 0.2.6+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ watcher: 0.9.7+10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ web_socket_channel: 1.0.12 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ yaml: 2.1.15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+
+flutter:
+ uses-material-design: true
+
+# PUBSPEC CHECKSUM: c495
diff --git a/dev/integration_tests/ios_add2app/Pods/Local Podspecs/Flutter.podspec.json b/dev/integration_tests/ios_add2app/Pods/Local Podspecs/Flutter.podspec.json
index 0a8331b392..beaea03e6f 100644
--- a/dev/integration_tests/ios_add2app/Pods/Local Podspecs/Flutter.podspec.json
+++ b/dev/integration_tests/ios_add2app/Pods/Local Podspecs/Flutter.podspec.json
@@ -3,7 +3,7 @@
"version": "1.0.0",
"summary": "High-performance, high-fidelity mobile apps.",
"description": "Flutter provides an easy and productive way to build and deploy high-performance mobile apps for Android and iOS.",
- "homepage": "https://flutter.io",
+ "homepage": "https://flutter.dev",
"license": {
"type": "MIT"
},
diff --git a/dev/integration_tests/ios_add2app/Pods/Local Podspecs/FlutterPluginRegistrant.podspec.json b/dev/integration_tests/ios_add2app/Pods/Local Podspecs/FlutterPluginRegistrant.podspec.json
index 45d68a8ff0..529af09189 100644
--- a/dev/integration_tests/ios_add2app/Pods/Local Podspecs/FlutterPluginRegistrant.podspec.json
+++ b/dev/integration_tests/ios_add2app/Pods/Local Podspecs/FlutterPluginRegistrant.podspec.json
@@ -3,7 +3,7 @@
"version": "0.0.1",
"summary": "Registers plugins with your flutter app",
"description": "Depends on all your plugins, and provides a function to register them.",
- "homepage": "https://flutter.io",
+ "homepage": "https://flutter.dev",
"license": {
"type": "BSD"
},
diff --git a/dev/integration_tests/ios_add2app/flutterapp/README.md b/dev/integration_tests/ios_add2app/flutterapp/README.md
index a627bb57a9..ae7d53fdc6 100644
--- a/dev/integration_tests/ios_add2app/flutterapp/README.md
+++ b/dev/integration_tests/ios_add2app/flutterapp/README.md
@@ -5,4 +5,4 @@ A new flutter module project.
## Getting Started
For help getting started with Flutter, view our online
-[documentation](https://flutter.io/).
+[documentation](https://flutter.dev/).
diff --git a/dev/integration_tests/ios_add2app/flutterapp/pubspec.yaml b/dev/integration_tests/ios_add2app/flutterapp/pubspec.yaml
index 02629b37fe..a748965c96 100644
--- a/dev/integration_tests/ios_add2app/flutterapp/pubspec.yaml
+++ b/dev/integration_tests/ios_add2app/flutterapp/pubspec.yaml
@@ -36,19 +36,19 @@ dev_dependencies:
# For information on the generic Dart part of this file, see the
# following page: https://www.dartlang.org/tools/pub/pubspec
- async: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ async: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
boolean_selector: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- matcher: 0.12.3+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ matcher: 0.12.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path: 1.6.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pedantic: 1.5.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- quiver: 2.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ quiver: 2.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span: 1.5.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stack_trace: 1.9.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- stream_channel: 1.6.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stream_channel: 2.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_api: 0.2.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_api: 0.2.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
flutter:
# The following line ensures that the Material Icons font is
@@ -63,10 +63,10 @@ flutter:
# - images/a_dot_ham.jpeg
# An image asset can refer to one or more resolution-specific "variants", see
- # https://flutter.io/assets-and-images/#resolution-aware.
+ # https://flutter.dev/assets-and-images/#resolution-aware.
# For details regarding adding assets from package dependencies, see
- # https://flutter.io/assets-and-images/#from-packages
+ # https://flutter.dev/assets-and-images/#from-packages
# To add Flutter specific custom fonts to your application, add a fonts
# section here, in this "flutter" section. Each entry in this list should
@@ -86,7 +86,7 @@ flutter:
# weight: 700
#
# For details regarding fonts from package dependencies,
- # see https://flutter.io/custom-fonts/#from-packages
+ # see https://flutter.dev/custom-fonts/#from-packages
# This section identifies your Flutter project as a module meant for
# embedding in a native host app. These identifiers should _not_ ordinarily
@@ -98,4 +98,4 @@ flutter:
androidPackage: com.example.iosadd2appflutter
iosBundleIdentifier: com.example.iosAdd2appFlutter
-# PUBSPEC CHECKSUM: 3a66
+# PUBSPEC CHECKSUM: 4cfa
diff --git a/dev/integration_tests/platform_interaction/pubspec.yaml b/dev/integration_tests/platform_interaction/pubspec.yaml
index bc7c1aaf57..be47f91ee3 100644
--- a/dev/integration_tests/platform_interaction/pubspec.yaml
+++ b/dev/integration_tests/platform_interaction/pubspec.yaml
@@ -10,31 +10,28 @@ dependencies:
sdk: flutter
flutter_driver:
sdk: flutter
- test: 1.5.3
+ test: 1.6.1
- analyzer: 0.35.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ analyzer: 0.35.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
args: 1.5.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- async: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ async: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
boolean_selector: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection: 1.14.11 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto: 2.0.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- csslib: 0.14.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
file: 5.0.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- front_end: 0.1.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ front_end: 0.1.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob: 1.1.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- html: 0.13.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http: 0.12.0+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_multi_server: 2.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_parser: 3.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- intl: 0.15.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ intl: 0.15.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
io: 0.3.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
js: 0.6.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- json_rpc_2: 2.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- kernel: 0.3.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- logging: 0.11.3+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- matcher: 0.12.3+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ json_rpc_2: 2.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ kernel: 0.3.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ matcher: 0.12.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime: 0.9.6+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket: 1.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
@@ -43,31 +40,29 @@ dependencies:
package_resolver: 1.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path: 1.6.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pedantic: 1.5.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- plugin: 0.2.0+3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool: 1.4.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver: 1.4.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf: 0.7.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf: 0.7.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_packages_handler: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_static: 0.2.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf_web_socket: 0.2.2+4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf_web_socket: 0.2.2+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_map_stack_trace: 1.1.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_maps: 0.10.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span: 1.5.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stack_trace: 1.9.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- stream_channel: 1.6.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stream_channel: 2.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_api: 0.2.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_core: 0.2.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_api: 0.2.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_core: 0.2.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
typed_data: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- utf: 0.9.0+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vector_math: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- vm_service_client: 0.2.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ vm_service_client: 0.2.6+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher: 0.9.7+10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- web_socket_channel: 1.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ web_socket_channel: 1.0.12 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
yaml: 2.1.15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
flutter:
uses-material-design: true
-# PUBSPEC CHECKSUM: 2b9e
+# PUBSPEC CHECKSUM: 6251
diff --git a/dev/integration_tests/simple_codegen/pubspec.yaml b/dev/integration_tests/simple_codegen/pubspec.yaml
index eccfd9ce8d..53829d4dcb 100644
--- a/dev/integration_tests/simple_codegen/pubspec.yaml
+++ b/dev/integration_tests/simple_codegen/pubspec.yaml
@@ -2,31 +2,27 @@ name: simple_codegen
description: A package for testing codegen
dependencies:
- build: 1.1.1
+ build: 1.1.2
- analyzer: 0.35.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ analyzer: 0.35.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
args: 1.5.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- async: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ async: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection: 1.14.11 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto: 2.0.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- csslib: 0.14.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- front_end: 0.1.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ front_end: 0.1.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob: 1.1.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- html: 0.13.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- kernel: 0.3.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ kernel: 0.3.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
logging: 0.11.3+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_config: 1.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path: 1.6.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- plugin: 0.2.0+3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver: 1.4.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span: 1.5.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
typed_data: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- utf: 0.9.0+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher: 0.9.7+10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
yaml: 2.1.15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
@@ -34,4 +30,4 @@ environment:
# The pub client defaults to an <2.0.0 sdk constraint which we need to explicitly overwrite.
sdk: ">=2.0.0-dev.68.0 <3.0.0"
-# PUBSPEC CHECKSUM: eed2
+# PUBSPEC CHECKSUM: e8fd
diff --git a/dev/integration_tests/ui/pubspec.yaml b/dev/integration_tests/ui/pubspec.yaml
index 916c28802a..855258af7c 100644
--- a/dev/integration_tests/ui/pubspec.yaml
+++ b/dev/integration_tests/ui/pubspec.yaml
@@ -11,32 +11,29 @@ dependencies:
sdk: flutter
flutter_driver:
sdk: flutter
- test: 1.5.3
+ test: 1.6.1
- analyzer: 0.35.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ analyzer: 0.35.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
archive: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
args: 1.5.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- async: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ async: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
boolean_selector: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection: 1.14.11 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto: 2.0.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- csslib: 0.14.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
file: 5.0.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- front_end: 0.1.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ front_end: 0.1.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob: 1.1.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- html: 0.13.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http: 0.12.0+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_multi_server: 2.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_parser: 3.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- intl: 0.15.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ intl: 0.15.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
io: 0.3.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
js: 0.6.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- json_rpc_2: 2.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- kernel: 0.3.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- logging: 0.11.3+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- matcher: 0.12.3+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ json_rpc_2: 2.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ kernel: 0.3.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ matcher: 0.12.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime: 0.9.6+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket: 1.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
@@ -46,38 +43,36 @@ dependencies:
path: 1.6.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pedantic: 1.5.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
petitparser: 2.2.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- plugin: 0.2.0+3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool: 1.4.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver: 1.4.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf: 0.7.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf: 0.7.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_packages_handler: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_static: 0.2.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf_web_socket: 0.2.2+4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf_web_socket: 0.2.2+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_map_stack_trace: 1.1.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_maps: 0.10.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span: 1.5.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stack_trace: 1.9.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- stream_channel: 1.6.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stream_channel: 2.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_core: 0.2.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_core: 0.2.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
typed_data: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- utf: 0.9.0+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vector_math: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- vm_service_client: 0.2.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ vm_service_client: 0.2.6+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher: 0.9.7+10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- web_socket_channel: 1.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ web_socket_channel: 1.0.12 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
xml: 3.4.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
yaml: 2.1.15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
dev_dependencies:
flutter_test:
sdk: flutter
- test_api: 0.2.2
+ test_api: 0.2.4
- quiver: 2.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ quiver: 2.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
flutter:
uses-material-design: true
-# PUBSPEC CHECKSUM: aeb8
+# PUBSPEC CHECKSUM: cf6c
diff --git a/dev/manual_tests/lib/raw_keyboard.dart b/dev/manual_tests/lib/raw_keyboard.dart
index a2474eed56..631da005ec 100644
--- a/dev/manual_tests/lib/raw_keyboard.dart
+++ b/dev/manual_tests/lib/raw_keyboard.dart
@@ -97,6 +97,11 @@ class _HardwareKeyDemoState extends State {
dataText.add(Text('characters: ${data.characters}'));
dataText.add(Text('charactersIgnoringModifiers: ${data.charactersIgnoringModifiers}'));
dataText.add(Text('modifiers: ${data.modifiers} (${_asHex(data.modifiers)})'));
+ } else if (data is RawKeyEventDataLinux) {
+ dataText.add(Text('keyCode: ${data.keyCode} (${_asHex(data.keyCode)})'));
+ dataText.add(Text('scanCode: ${data.scanCode}'));
+ dataText.add(Text('codePoint: ${data.codePoint}'));
+ dataText.add(Text('modifiers: ${data.modifiers} (${_asHex(data.modifiers)})'));
}
dataText.add(Text('logical: ${_event.logicalKey}'));
dataText.add(Text('physical: ${_event.physicalKey}'));
diff --git a/dev/manual_tests/pubspec.yaml b/dev/manual_tests/pubspec.yaml
index 54802c1f57..e47144de54 100644
--- a/dev/manual_tests/pubspec.yaml
+++ b/dev/manual_tests/pubspec.yaml
@@ -19,21 +19,21 @@ dev_dependencies:
mockito: 4.0.0
- async: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ async: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
boolean_selector: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- matcher: 0.12.3+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ matcher: 0.12.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path: 1.6.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pedantic: 1.5.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- quiver: 2.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ quiver: 2.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span: 1.5.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stack_trace: 1.9.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- stream_channel: 1.6.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stream_channel: 2.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_api: 0.2.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_api: 0.2.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
flutter:
uses-material-design: true
-# PUBSPEC CHECKSUM: 3806
+# PUBSPEC CHECKSUM: 6b9a
diff --git a/dev/snippets/pubspec.yaml b/dev/snippets/pubspec.yaml
index afbe7d7b84..e60b2ad746 100644
--- a/dev/snippets/pubspec.yaml
+++ b/dev/snippets/pubspec.yaml
@@ -14,36 +14,31 @@ dartdoc:
dependencies:
args: 1.5.1
- dart_style: 1.2.3
+ dart_style: 1.2.4
meta: 1.1.6
platform: 2.2.0
- analyzer: 0.35.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- async: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ analyzer: 0.35.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ async: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection: 1.14.11 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto: 2.0.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- csslib: 0.14.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- front_end: 0.1.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ front_end: 0.1.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob: 1.1.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- html: 0.13.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- kernel: 0.3.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- logging: 0.11.3+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ kernel: 0.3.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_config: 1.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path: 1.6.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- plugin: 0.2.0+3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver: 1.4.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span: 1.5.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
typed_data: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- utf: 0.9.0+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher: 0.9.7+10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
yaml: 2.1.15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
dev_dependencies:
- test: 1.5.3
+ test: 1.6.1
boolean_selector: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http: 0.12.0+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
@@ -51,26 +46,26 @@ dev_dependencies:
http_parser: 3.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
io: 0.3.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
js: 0.6.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- json_rpc_2: 2.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- matcher: 0.12.3+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ json_rpc_2: 2.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ matcher: 0.12.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime: 0.9.6+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket: 1.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble: 1.4.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_resolver: 1.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pedantic: 1.5.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool: 1.4.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf: 0.7.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf: 0.7.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_packages_handler: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_static: 0.2.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf_web_socket: 0.2.2+4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf_web_socket: 0.2.2+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_map_stack_trace: 1.1.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_maps: 0.10.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stack_trace: 1.9.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- stream_channel: 1.6.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_api: 0.2.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_core: 0.2.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- vm_service_client: 0.2.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- web_socket_channel: 1.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stream_channel: 2.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_api: 0.2.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_core: 0.2.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ vm_service_client: 0.2.6+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ web_socket_channel: 1.0.12 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
executables:
snippets: null
@@ -101,4 +96,4 @@ executables:
vm_service_client: 0.2.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
web_socket_channel: 1.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
-# PUBSPEC CHECKSUM: 4eba
+# PUBSPEC CHECKSUM: 996d
diff --git a/dev/tools/dartdoc.dart b/dev/tools/dartdoc.dart
index b7424ac045..76fc486af8 100644
--- a/dev/tools/dartdoc.dart
+++ b/dev/tools/dartdoc.dart
@@ -49,7 +49,7 @@ Future main(List arguments) async {
// Create the pubspec.yaml file.
final StringBuffer buf = StringBuffer();
buf.writeln('name: Flutter');
- buf.writeln('homepage: https://flutter.io');
+ buf.writeln('homepage: https://flutter.dev');
buf.writeln('version: $version');
buf.writeln('dependencies:');
for (String package in findPackageNames()) {
@@ -389,8 +389,8 @@ void changePackageToSdkInTitlebar() {
final File indexFile = File('$kPublishRoot/index.html');
String indexContents = indexFile.readAsStringSync();
indexContents = indexContents.replaceFirst(
- 'Flutter package',
- 'Flutter SDK',
+ 'Flutter package',
+ 'Flutter SDK',
);
indexFile.writeAsStringSync(indexContents);
diff --git a/dev/tools/gen_keycodes/bin/gen_keycodes.dart b/dev/tools/gen_keycodes/bin/gen_keycodes.dart
index 1b1ccb43d0..dd1d6c304a 100644
--- a/dev/tools/gen_keycodes/bin/gen_keycodes.dart
+++ b/dev/tools/gen_keycodes/bin/gen_keycodes.dart
@@ -38,6 +38,11 @@ Future getAndroidScanCodes() async {
return utf8.decode(base64.decode(await http.read(scanCodesUri)));
}
+Future getGlfwKeyCodes() async {
+ final Uri keyCodesUri = Uri.parse('https://raw.githubusercontent.com/glfw/glfw/master/include/GLFW/glfw3.h');
+ return await http.read(keyCodesUri);
+}
+
Future main(List rawArguments) async {
final ArgParser argParser = ArgParser();
argParser.addOption(
@@ -66,6 +71,19 @@ Future main(List rawArguments) async {
defaultsTo: path.join(flutterRoot.path, 'dev', 'tools', 'gen_keycodes', 'data', 'key_name_to_android_name.json'),
help: 'The path to where the Android keycode to DomKey mapping is.',
);
+ argParser.addOption(
+ 'glfw-keycodes',
+ defaultsTo: null,
+ help: 'The path to where the GLFW keycodes header file should be read. '
+ 'If --glfw-keycodes is not specified, the input will be read from the '
+ 'correct file in the GLFW github repository.',
+ );
+ argParser.addOption(
+ 'glfw-domkey',
+ defaultsTo: path.join(flutterRoot.path, 'dev', 'tools', 'gen_keycodes', 'data', 'key_name_to_glfw_name.json'),
+ help: 'The path to where the GLFW keycode to DomKey mapping is.',
+ );
+
argParser.addOption(
'data',
defaultsTo: path.join(flutterRoot.path, 'dev', 'tools', 'gen_keycodes', 'data', 'key_data.json'),
@@ -136,8 +154,17 @@ Future main(List rawArguments) async {
androidScanCodes = File(parsedArguments['android-scancodes']).readAsStringSync();
}
+ String glfwKeyCodes;
+ if (parsedArguments['glfw-keycodes'] == null) {
+ glfwKeyCodes = await getGlfwKeyCodes();
+ } else {
+ glfwKeyCodes = File(parsedArguments['glfw-keycodes']).readAsStringSync();
+ }
+
+ final String glfwToDomKey = File(parsedArguments['glfw-domkey']).readAsStringSync();
final String androidToDomKey = File(parsedArguments['android-domkey']).readAsStringSync();
- data = KeyData(hidCodes, androidScanCodes, androidKeyCodes, androidToDomKey);
+
+ data = KeyData(hidCodes, androidScanCodes, androidKeyCodes, androidToDomKey, glfwKeyCodes, glfwToDomKey);
const JsonEncoder encoder = JsonEncoder.withIndent(' ');
File(parsedArguments['data']).writeAsStringSync(encoder.convert(data.toJson()));
diff --git a/dev/tools/gen_keycodes/data/key_data.json b/dev/tools/gen_keycodes/data/key_data.json
index 585295f0eb..ea6d4d9cae 100644
--- a/dev/tools/gen_keycodes/data/key_data.json
+++ b/dev/tools/gen_keycodes/data/key_data.json
@@ -6,7 +6,8 @@
"UNKNOWN"
],
"english": "None",
- "chromium": "none"
+ "chromium": "none",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -19,7 +20,8 @@
"keyCodes": {
"android": [
0
- ]
+ ],
+ "glfw": null
}
},
"hyper": {
@@ -27,7 +29,8 @@
"domkey": "Hyper",
"android": null,
"english": "Hyper",
- "chromium": "hyper"
+ "chromium": "hyper",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -38,7 +41,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"superKey": {
@@ -46,7 +50,8 @@
"domkey": "Super",
"android": null,
"english": "Super Key",
- "chromium": "super"
+ "chromium": "super",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -57,7 +62,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"fn": {
@@ -67,7 +73,8 @@
"FUNCTION"
],
"english": "Fn",
- "chromium": "fn"
+ "chromium": "fn",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -82,7 +89,8 @@
"keyCodes": {
"android": [
119
- ]
+ ],
+ "glfw": null
}
},
"fnLock": {
@@ -90,7 +98,8 @@
"domkey": "FnLock",
"android": null,
"english": "Fn Lock",
- "chromium": "fnLock"
+ "chromium": "fnLock",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -101,7 +110,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"suspend": {
@@ -111,7 +121,8 @@
"SUSPEND"
],
"english": "Suspend",
- "chromium": "suspend"
+ "chromium": "suspend",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -124,7 +135,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"resume": {
@@ -132,7 +144,8 @@
"domkey": "Resume",
"android": null,
"english": "Resume",
- "chromium": "resume"
+ "chromium": "resume",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -143,7 +156,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"turbo": {
@@ -151,7 +165,8 @@
"domkey": "Turbo",
"android": null,
"english": "Turbo",
- "chromium": "turbo"
+ "chromium": "turbo",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -162,30 +177,8 @@
"macos": null
},
"keyCodes": {
- "android": null
- }
- },
- "launchAssistant": {
- "names": {
- "domkey": "LaunchAssistant",
- "android": [
- "ASSIST"
- ],
- "english": "Launch Assistant",
- "chromium": "launchAssistant"
- },
- "scanCodes": {
"android": null,
- "usb": 23,
- "linux": 583,
- "xkb": 591,
- "windows": null,
- "macos": null
- },
- "keyCodes": {
- "android": [
- 219
- ]
+ "glfw": null
}
},
"sleep": {
@@ -195,7 +188,8 @@
"SLEEP"
],
"english": "Sleep",
- "chromium": "sleep"
+ "chromium": "sleep",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -210,7 +204,8 @@
"keyCodes": {
"android": [
223
- ]
+ ],
+ "glfw": null
}
},
"wakeUp": {
@@ -220,7 +215,8 @@
"WAKEUP"
],
"english": "Wake Up",
- "chromium": "wakeUp"
+ "chromium": "wakeUp",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -235,7 +231,29 @@
"keyCodes": {
"android": [
224
- ]
+ ],
+ "glfw": null
+ }
+ },
+ "displayToggleIntExt": {
+ "names": {
+ "domkey": "DisplayToggleIntExt",
+ "android": null,
+ "english": "Display Toggle Int Ext",
+ "chromium": "displayToggleIntExt",
+ "glfw": null
+ },
+ "scanCodes": {
+ "android": null,
+ "usb": 65717,
+ "linux": 227,
+ "xkb": 235,
+ "windows": null,
+ "macos": null
+ },
+ "keyCodes": {
+ "android": null,
+ "glfw": null
}
},
"usbReserved": {
@@ -243,7 +261,8 @@
"domkey": null,
"android": null,
"english": "Usb Reserved",
- "chromium": "usbReserved"
+ "chromium": "usbReserved",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -254,7 +273,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"usbErrorRollOver": {
@@ -262,7 +282,8 @@
"domkey": null,
"android": null,
"english": "Usb Error Roll Over",
- "chromium": "usbErrorRollOver"
+ "chromium": "usbErrorRollOver",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -273,7 +294,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"usbPostFail": {
@@ -281,7 +303,8 @@
"domkey": null,
"android": null,
"english": "Usb Post Fail",
- "chromium": "usbPostFail"
+ "chromium": "usbPostFail",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -292,7 +315,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"usbErrorUndefined": {
@@ -300,7 +324,8 @@
"domkey": null,
"android": null,
"english": "Usb Error Undefined",
- "chromium": "usbErrorUndefined"
+ "chromium": "usbErrorUndefined",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -311,7 +336,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"keyA": {
@@ -321,7 +347,10 @@
"A"
],
"english": "Key A",
- "chromium": "usA"
+ "chromium": "usA",
+ "glfw": [
+ "A"
+ ]
},
"scanCodes": {
"android": [
@@ -336,6 +365,9 @@
"keyCodes": {
"android": [
29
+ ],
+ "glfw": [
+ 65
]
}
},
@@ -346,7 +378,10 @@
"B"
],
"english": "Key B",
- "chromium": "usB"
+ "chromium": "usB",
+ "glfw": [
+ "B"
+ ]
},
"scanCodes": {
"android": [
@@ -361,6 +396,9 @@
"keyCodes": {
"android": [
30
+ ],
+ "glfw": [
+ 66
]
}
},
@@ -371,7 +409,10 @@
"C"
],
"english": "Key C",
- "chromium": "usC"
+ "chromium": "usC",
+ "glfw": [
+ "C"
+ ]
},
"scanCodes": {
"android": [
@@ -386,6 +427,9 @@
"keyCodes": {
"android": [
31
+ ],
+ "glfw": [
+ 67
]
}
},
@@ -396,7 +440,10 @@
"D"
],
"english": "Key D",
- "chromium": "usD"
+ "chromium": "usD",
+ "glfw": [
+ "D"
+ ]
},
"scanCodes": {
"android": [
@@ -411,6 +458,9 @@
"keyCodes": {
"android": [
32
+ ],
+ "glfw": [
+ 68
]
}
},
@@ -421,7 +471,10 @@
"E"
],
"english": "Key E",
- "chromium": "usE"
+ "chromium": "usE",
+ "glfw": [
+ "E"
+ ]
},
"scanCodes": {
"android": [
@@ -436,6 +489,9 @@
"keyCodes": {
"android": [
33
+ ],
+ "glfw": [
+ 69
]
}
},
@@ -446,7 +502,10 @@
"F"
],
"english": "Key F",
- "chromium": "usF"
+ "chromium": "usF",
+ "glfw": [
+ "F"
+ ]
},
"scanCodes": {
"android": [
@@ -461,6 +520,9 @@
"keyCodes": {
"android": [
34
+ ],
+ "glfw": [
+ 70
]
}
},
@@ -471,7 +533,10 @@
"G"
],
"english": "Key G",
- "chromium": "usG"
+ "chromium": "usG",
+ "glfw": [
+ "G"
+ ]
},
"scanCodes": {
"android": [
@@ -486,6 +551,9 @@
"keyCodes": {
"android": [
35
+ ],
+ "glfw": [
+ 71
]
}
},
@@ -496,7 +564,10 @@
"H"
],
"english": "Key H",
- "chromium": "usH"
+ "chromium": "usH",
+ "glfw": [
+ "H"
+ ]
},
"scanCodes": {
"android": [
@@ -511,6 +582,9 @@
"keyCodes": {
"android": [
36
+ ],
+ "glfw": [
+ 72
]
}
},
@@ -521,7 +595,10 @@
"I"
],
"english": "Key I",
- "chromium": "usI"
+ "chromium": "usI",
+ "glfw": [
+ "I"
+ ]
},
"scanCodes": {
"android": [
@@ -536,6 +613,9 @@
"keyCodes": {
"android": [
37
+ ],
+ "glfw": [
+ 73
]
}
},
@@ -546,7 +626,10 @@
"J"
],
"english": "Key J",
- "chromium": "usJ"
+ "chromium": "usJ",
+ "glfw": [
+ "J"
+ ]
},
"scanCodes": {
"android": [
@@ -561,6 +644,9 @@
"keyCodes": {
"android": [
38
+ ],
+ "glfw": [
+ 74
]
}
},
@@ -571,7 +657,10 @@
"K"
],
"english": "Key K",
- "chromium": "usK"
+ "chromium": "usK",
+ "glfw": [
+ "K"
+ ]
},
"scanCodes": {
"android": [
@@ -586,6 +675,9 @@
"keyCodes": {
"android": [
39
+ ],
+ "glfw": [
+ 75
]
}
},
@@ -596,7 +688,10 @@
"L"
],
"english": "Key L",
- "chromium": "usL"
+ "chromium": "usL",
+ "glfw": [
+ "L"
+ ]
},
"scanCodes": {
"android": [
@@ -611,6 +706,9 @@
"keyCodes": {
"android": [
40
+ ],
+ "glfw": [
+ 76
]
}
},
@@ -621,7 +719,10 @@
"M"
],
"english": "Key M",
- "chromium": "usM"
+ "chromium": "usM",
+ "glfw": [
+ "M"
+ ]
},
"scanCodes": {
"android": [
@@ -636,6 +737,9 @@
"keyCodes": {
"android": [
41
+ ],
+ "glfw": [
+ 77
]
}
},
@@ -646,7 +750,10 @@
"N"
],
"english": "Key N",
- "chromium": "usN"
+ "chromium": "usN",
+ "glfw": [
+ "N"
+ ]
},
"scanCodes": {
"android": [
@@ -661,6 +768,9 @@
"keyCodes": {
"android": [
42
+ ],
+ "glfw": [
+ 78
]
}
},
@@ -671,7 +781,10 @@
"O"
],
"english": "Key O",
- "chromium": "usO"
+ "chromium": "usO",
+ "glfw": [
+ "O"
+ ]
},
"scanCodes": {
"android": [
@@ -686,6 +799,9 @@
"keyCodes": {
"android": [
43
+ ],
+ "glfw": [
+ 79
]
}
},
@@ -696,7 +812,10 @@
"P"
],
"english": "Key P",
- "chromium": "usP"
+ "chromium": "usP",
+ "glfw": [
+ "P"
+ ]
},
"scanCodes": {
"android": [
@@ -711,6 +830,9 @@
"keyCodes": {
"android": [
44
+ ],
+ "glfw": [
+ 80
]
}
},
@@ -721,7 +843,10 @@
"Q"
],
"english": "Key Q",
- "chromium": "usQ"
+ "chromium": "usQ",
+ "glfw": [
+ "Q"
+ ]
},
"scanCodes": {
"android": [
@@ -736,6 +861,9 @@
"keyCodes": {
"android": [
45
+ ],
+ "glfw": [
+ 81
]
}
},
@@ -746,7 +874,10 @@
"R"
],
"english": "Key R",
- "chromium": "usR"
+ "chromium": "usR",
+ "glfw": [
+ "R"
+ ]
},
"scanCodes": {
"android": [
@@ -761,6 +892,9 @@
"keyCodes": {
"android": [
46
+ ],
+ "glfw": [
+ 82
]
}
},
@@ -771,7 +905,10 @@
"S"
],
"english": "Key S",
- "chromium": "usS"
+ "chromium": "usS",
+ "glfw": [
+ "S"
+ ]
},
"scanCodes": {
"android": [
@@ -786,6 +923,9 @@
"keyCodes": {
"android": [
47
+ ],
+ "glfw": [
+ 83
]
}
},
@@ -796,7 +936,10 @@
"T"
],
"english": "Key T",
- "chromium": "usT"
+ "chromium": "usT",
+ "glfw": [
+ "T"
+ ]
},
"scanCodes": {
"android": [
@@ -811,6 +954,9 @@
"keyCodes": {
"android": [
48
+ ],
+ "glfw": [
+ 84
]
}
},
@@ -821,7 +967,10 @@
"U"
],
"english": "Key U",
- "chromium": "usU"
+ "chromium": "usU",
+ "glfw": [
+ "U"
+ ]
},
"scanCodes": {
"android": [
@@ -836,6 +985,9 @@
"keyCodes": {
"android": [
49
+ ],
+ "glfw": [
+ 85
]
}
},
@@ -846,7 +998,10 @@
"V"
],
"english": "Key V",
- "chromium": "usV"
+ "chromium": "usV",
+ "glfw": [
+ "V"
+ ]
},
"scanCodes": {
"android": [
@@ -861,6 +1016,9 @@
"keyCodes": {
"android": [
50
+ ],
+ "glfw": [
+ 86
]
}
},
@@ -871,7 +1029,10 @@
"W"
],
"english": "Key W",
- "chromium": "usW"
+ "chromium": "usW",
+ "glfw": [
+ "W"
+ ]
},
"scanCodes": {
"android": [
@@ -886,6 +1047,9 @@
"keyCodes": {
"android": [
51
+ ],
+ "glfw": [
+ 87
]
}
},
@@ -896,7 +1060,10 @@
"X"
],
"english": "Key X",
- "chromium": "usX"
+ "chromium": "usX",
+ "glfw": [
+ "X"
+ ]
},
"scanCodes": {
"android": [
@@ -911,6 +1078,9 @@
"keyCodes": {
"android": [
52
+ ],
+ "glfw": [
+ 88
]
}
},
@@ -921,7 +1091,10 @@
"Y"
],
"english": "Key Y",
- "chromium": "usY"
+ "chromium": "usY",
+ "glfw": [
+ "Y"
+ ]
},
"scanCodes": {
"android": [
@@ -936,6 +1109,9 @@
"keyCodes": {
"android": [
53
+ ],
+ "glfw": [
+ 89
]
}
},
@@ -946,7 +1122,10 @@
"Z"
],
"english": "Key Z",
- "chromium": "usZ"
+ "chromium": "usZ",
+ "glfw": [
+ "Z"
+ ]
},
"scanCodes": {
"android": [
@@ -961,6 +1140,9 @@
"keyCodes": {
"android": [
54
+ ],
+ "glfw": [
+ 90
]
}
},
@@ -971,7 +1153,10 @@
"1"
],
"english": "Digit 1",
- "chromium": "digit1"
+ "chromium": "digit1",
+ "glfw": [
+ "1"
+ ]
},
"scanCodes": {
"android": [
@@ -986,6 +1171,9 @@
"keyCodes": {
"android": [
8
+ ],
+ "glfw": [
+ 49
]
}
},
@@ -996,7 +1184,10 @@
"2"
],
"english": "Digit 2",
- "chromium": "digit2"
+ "chromium": "digit2",
+ "glfw": [
+ "2"
+ ]
},
"scanCodes": {
"android": [
@@ -1011,6 +1202,9 @@
"keyCodes": {
"android": [
9
+ ],
+ "glfw": [
+ 50
]
}
},
@@ -1021,7 +1215,10 @@
"3"
],
"english": "Digit 3",
- "chromium": "digit3"
+ "chromium": "digit3",
+ "glfw": [
+ "3"
+ ]
},
"scanCodes": {
"android": [
@@ -1036,6 +1233,9 @@
"keyCodes": {
"android": [
10
+ ],
+ "glfw": [
+ 51
]
}
},
@@ -1046,7 +1246,10 @@
"4"
],
"english": "Digit 4",
- "chromium": "digit4"
+ "chromium": "digit4",
+ "glfw": [
+ "4"
+ ]
},
"scanCodes": {
"android": [
@@ -1061,6 +1264,9 @@
"keyCodes": {
"android": [
11
+ ],
+ "glfw": [
+ 52
]
}
},
@@ -1071,7 +1277,10 @@
"5"
],
"english": "Digit 5",
- "chromium": "digit5"
+ "chromium": "digit5",
+ "glfw": [
+ "5"
+ ]
},
"scanCodes": {
"android": [
@@ -1086,6 +1295,9 @@
"keyCodes": {
"android": [
12
+ ],
+ "glfw": [
+ 53
]
}
},
@@ -1096,7 +1308,10 @@
"6"
],
"english": "Digit 6",
- "chromium": "digit6"
+ "chromium": "digit6",
+ "glfw": [
+ "6"
+ ]
},
"scanCodes": {
"android": [
@@ -1111,6 +1326,9 @@
"keyCodes": {
"android": [
13
+ ],
+ "glfw": [
+ 54
]
}
},
@@ -1121,7 +1339,10 @@
"7"
],
"english": "Digit 7",
- "chromium": "digit7"
+ "chromium": "digit7",
+ "glfw": [
+ "7"
+ ]
},
"scanCodes": {
"android": [
@@ -1136,6 +1357,9 @@
"keyCodes": {
"android": [
14
+ ],
+ "glfw": [
+ 55
]
}
},
@@ -1146,7 +1370,10 @@
"8"
],
"english": "Digit 8",
- "chromium": "digit8"
+ "chromium": "digit8",
+ "glfw": [
+ "8"
+ ]
},
"scanCodes": {
"android": [
@@ -1161,6 +1388,9 @@
"keyCodes": {
"android": [
15
+ ],
+ "glfw": [
+ 56
]
}
},
@@ -1171,7 +1401,10 @@
"9"
],
"english": "Digit 9",
- "chromium": "digit9"
+ "chromium": "digit9",
+ "glfw": [
+ "9"
+ ]
},
"scanCodes": {
"android": [
@@ -1186,6 +1419,9 @@
"keyCodes": {
"android": [
16
+ ],
+ "glfw": [
+ 57
]
}
},
@@ -1196,7 +1432,10 @@
"0"
],
"english": "Digit 0",
- "chromium": "digit0"
+ "chromium": "digit0",
+ "glfw": [
+ "0"
+ ]
},
"scanCodes": {
"android": [
@@ -1211,6 +1450,9 @@
"keyCodes": {
"android": [
7
+ ],
+ "glfw": [
+ 48
]
}
},
@@ -1221,7 +1463,10 @@
"ENTER"
],
"english": "Enter",
- "chromium": "enter"
+ "chromium": "enter",
+ "glfw": [
+ "ENTER"
+ ]
},
"scanCodes": {
"android": [
@@ -1236,6 +1481,9 @@
"keyCodes": {
"android": [
66
+ ],
+ "glfw": [
+ 257
]
}
},
@@ -1246,7 +1494,10 @@
"ESCAPE"
],
"english": "Escape",
- "chromium": "escape"
+ "chromium": "escape",
+ "glfw": [
+ "ESCAPE"
+ ]
},
"scanCodes": {
"android": [
@@ -1261,6 +1512,9 @@
"keyCodes": {
"android": [
111
+ ],
+ "glfw": [
+ 256
]
}
},
@@ -1271,7 +1525,10 @@
"DEL"
],
"english": "Backspace",
- "chromium": "backspace"
+ "chromium": "backspace",
+ "glfw": [
+ "BACKSPACE"
+ ]
},
"scanCodes": {
"android": [
@@ -1286,6 +1543,9 @@
"keyCodes": {
"android": [
67
+ ],
+ "glfw": [
+ 259
]
}
},
@@ -1296,7 +1556,10 @@
"TAB"
],
"english": "Tab",
- "chromium": "tab"
+ "chromium": "tab",
+ "glfw": [
+ "TAB"
+ ]
},
"scanCodes": {
"android": [
@@ -1311,6 +1574,9 @@
"keyCodes": {
"android": [
61
+ ],
+ "glfw": [
+ 258
]
}
},
@@ -1321,7 +1587,10 @@
"SPACE"
],
"english": "Space",
- "chromium": "space"
+ "chromium": "space",
+ "glfw": [
+ "SPACE"
+ ]
},
"scanCodes": {
"android": [
@@ -1336,6 +1605,9 @@
"keyCodes": {
"android": [
62
+ ],
+ "glfw": [
+ 32
]
}
},
@@ -1346,7 +1618,10 @@
"MINUS"
],
"english": "Minus",
- "chromium": "minus"
+ "chromium": "minus",
+ "glfw": [
+ "MINUS"
+ ]
},
"scanCodes": {
"android": [
@@ -1361,6 +1636,9 @@
"keyCodes": {
"android": [
69
+ ],
+ "glfw": [
+ 45
]
}
},
@@ -1371,7 +1649,10 @@
"EQUALS"
],
"english": "Equal",
- "chromium": "equal"
+ "chromium": "equal",
+ "glfw": [
+ "EQUAL"
+ ]
},
"scanCodes": {
"android": [
@@ -1386,6 +1667,9 @@
"keyCodes": {
"android": [
70
+ ],
+ "glfw": [
+ 61
]
}
},
@@ -1396,7 +1680,10 @@
"LEFT_BRACKET"
],
"english": "Bracket Left",
- "chromium": "bracketLeft"
+ "chromium": "bracketLeft",
+ "glfw": [
+ "LEFT_BRACKET"
+ ]
},
"scanCodes": {
"android": [
@@ -1411,6 +1698,9 @@
"keyCodes": {
"android": [
71
+ ],
+ "glfw": [
+ 91
]
}
},
@@ -1421,7 +1711,10 @@
"RIGHT_BRACKET"
],
"english": "Bracket Right",
- "chromium": "bracketRight"
+ "chromium": "bracketRight",
+ "glfw": [
+ "RIGHT_BRACKET"
+ ]
},
"scanCodes": {
"android": [
@@ -1436,6 +1729,9 @@
"keyCodes": {
"android": [
72
+ ],
+ "glfw": [
+ 93
]
}
},
@@ -1446,7 +1742,10 @@
"BACKSLASH"
],
"english": "Backslash",
- "chromium": "backslash"
+ "chromium": "backslash",
+ "glfw": [
+ "BACKSLASH"
+ ]
},
"scanCodes": {
"android": [
@@ -1462,6 +1761,9 @@
"keyCodes": {
"android": [
73
+ ],
+ "glfw": [
+ 92
]
}
},
@@ -1472,7 +1774,10 @@
"SEMICOLON"
],
"english": "Semicolon",
- "chromium": "semicolon"
+ "chromium": "semicolon",
+ "glfw": [
+ "SEMICOLON"
+ ]
},
"scanCodes": {
"android": [
@@ -1487,6 +1792,9 @@
"keyCodes": {
"android": [
74
+ ],
+ "glfw": [
+ 59
]
}
},
@@ -1497,7 +1805,10 @@
"APOSTROPHE"
],
"english": "Quote",
- "chromium": "quote"
+ "chromium": "quote",
+ "glfw": [
+ "APOSTROPHE"
+ ]
},
"scanCodes": {
"android": [
@@ -1512,6 +1823,9 @@
"keyCodes": {
"android": [
75
+ ],
+ "glfw": [
+ 39
]
}
},
@@ -1522,7 +1836,10 @@
"GRAVE"
],
"english": "Backquote",
- "chromium": "backquote"
+ "chromium": "backquote",
+ "glfw": [
+ "GRAVE_ACCENT"
+ ]
},
"scanCodes": {
"android": [
@@ -1537,6 +1854,9 @@
"keyCodes": {
"android": [
68
+ ],
+ "glfw": [
+ 96
]
}
},
@@ -1547,7 +1867,10 @@
"COMMA"
],
"english": "Comma",
- "chromium": "comma"
+ "chromium": "comma",
+ "glfw": [
+ "COMMA"
+ ]
},
"scanCodes": {
"android": [
@@ -1562,6 +1885,9 @@
"keyCodes": {
"android": [
55
+ ],
+ "glfw": [
+ 44
]
}
},
@@ -1572,7 +1898,10 @@
"PERIOD"
],
"english": "Period",
- "chromium": "period"
+ "chromium": "period",
+ "glfw": [
+ "PERIOD"
+ ]
},
"scanCodes": {
"android": [
@@ -1587,6 +1916,9 @@
"keyCodes": {
"android": [
56
+ ],
+ "glfw": [
+ 46
]
}
},
@@ -1597,7 +1929,10 @@
"SLASH"
],
"english": "Slash",
- "chromium": "slash"
+ "chromium": "slash",
+ "glfw": [
+ "SLASH"
+ ]
},
"scanCodes": {
"android": [
@@ -1612,6 +1947,9 @@
"keyCodes": {
"android": [
76
+ ],
+ "glfw": [
+ 47
]
}
},
@@ -1622,7 +1960,10 @@
"CAPS_LOCK"
],
"english": "Caps Lock",
- "chromium": "capsLock"
+ "chromium": "capsLock",
+ "glfw": [
+ "CAPS_LOCK"
+ ]
},
"scanCodes": {
"android": [
@@ -1637,6 +1978,9 @@
"keyCodes": {
"android": [
115
+ ],
+ "glfw": [
+ 280
]
}
},
@@ -1647,7 +1991,10 @@
"F1"
],
"english": "F1",
- "chromium": "f1"
+ "chromium": "f1",
+ "glfw": [
+ "F1"
+ ]
},
"scanCodes": {
"android": [
@@ -1662,6 +2009,9 @@
"keyCodes": {
"android": [
131
+ ],
+ "glfw": [
+ 290
]
}
},
@@ -1672,7 +2022,10 @@
"F2"
],
"english": "F2",
- "chromium": "f2"
+ "chromium": "f2",
+ "glfw": [
+ "F2"
+ ]
},
"scanCodes": {
"android": [
@@ -1687,6 +2040,9 @@
"keyCodes": {
"android": [
132
+ ],
+ "glfw": [
+ 291
]
}
},
@@ -1697,7 +2053,10 @@
"F3"
],
"english": "F3",
- "chromium": "f3"
+ "chromium": "f3",
+ "glfw": [
+ "F3"
+ ]
},
"scanCodes": {
"android": [
@@ -1712,6 +2071,9 @@
"keyCodes": {
"android": [
133
+ ],
+ "glfw": [
+ 292
]
}
},
@@ -1722,7 +2084,10 @@
"F4"
],
"english": "F4",
- "chromium": "f4"
+ "chromium": "f4",
+ "glfw": [
+ "F4"
+ ]
},
"scanCodes": {
"android": [
@@ -1737,6 +2102,9 @@
"keyCodes": {
"android": [
134
+ ],
+ "glfw": [
+ 293
]
}
},
@@ -1747,7 +2115,10 @@
"F5"
],
"english": "F5",
- "chromium": "f5"
+ "chromium": "f5",
+ "glfw": [
+ "F5"
+ ]
},
"scanCodes": {
"android": [
@@ -1762,6 +2133,9 @@
"keyCodes": {
"android": [
135
+ ],
+ "glfw": [
+ 294
]
}
},
@@ -1772,7 +2146,10 @@
"F6"
],
"english": "F6",
- "chromium": "f6"
+ "chromium": "f6",
+ "glfw": [
+ "F6"
+ ]
},
"scanCodes": {
"android": [
@@ -1787,6 +2164,9 @@
"keyCodes": {
"android": [
136
+ ],
+ "glfw": [
+ 295
]
}
},
@@ -1797,7 +2177,10 @@
"F7"
],
"english": "F7",
- "chromium": "f7"
+ "chromium": "f7",
+ "glfw": [
+ "F7"
+ ]
},
"scanCodes": {
"android": [
@@ -1812,6 +2195,9 @@
"keyCodes": {
"android": [
137
+ ],
+ "glfw": [
+ 296
]
}
},
@@ -1822,7 +2208,10 @@
"F8"
],
"english": "F8",
- "chromium": "f8"
+ "chromium": "f8",
+ "glfw": [
+ "F8"
+ ]
},
"scanCodes": {
"android": [
@@ -1837,6 +2226,9 @@
"keyCodes": {
"android": [
138
+ ],
+ "glfw": [
+ 297
]
}
},
@@ -1847,7 +2239,10 @@
"F9"
],
"english": "F9",
- "chromium": "f9"
+ "chromium": "f9",
+ "glfw": [
+ "F9"
+ ]
},
"scanCodes": {
"android": [
@@ -1862,6 +2257,9 @@
"keyCodes": {
"android": [
139
+ ],
+ "glfw": [
+ 298
]
}
},
@@ -1872,7 +2270,10 @@
"F10"
],
"english": "F10",
- "chromium": "f10"
+ "chromium": "f10",
+ "glfw": [
+ "F10"
+ ]
},
"scanCodes": {
"android": [
@@ -1887,6 +2288,9 @@
"keyCodes": {
"android": [
140
+ ],
+ "glfw": [
+ 299
]
}
},
@@ -1897,7 +2301,10 @@
"F11"
],
"english": "F11",
- "chromium": "f11"
+ "chromium": "f11",
+ "glfw": [
+ "F11"
+ ]
},
"scanCodes": {
"android": [
@@ -1912,6 +2319,9 @@
"keyCodes": {
"android": [
141
+ ],
+ "glfw": [
+ 300
]
}
},
@@ -1922,7 +2332,10 @@
"F12"
],
"english": "F12",
- "chromium": "f12"
+ "chromium": "f12",
+ "glfw": [
+ "F12"
+ ]
},
"scanCodes": {
"android": [
@@ -1937,6 +2350,9 @@
"keyCodes": {
"android": [
142
+ ],
+ "glfw": [
+ 301
]
}
},
@@ -1947,7 +2363,10 @@
"SYSRQ"
],
"english": "Print Screen",
- "chromium": "printScreen"
+ "chromium": "printScreen",
+ "glfw": [
+ "PRINT_SCREEN"
+ ]
},
"scanCodes": {
"android": [
@@ -1962,6 +2381,9 @@
"keyCodes": {
"android": [
120
+ ],
+ "glfw": [
+ 283
]
}
},
@@ -1972,7 +2394,8 @@
"SCROLL_LOCK"
],
"english": "Scroll Lock",
- "chromium": "scrollLock"
+ "chromium": "scrollLock",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -1987,7 +2410,8 @@
"keyCodes": {
"android": [
116
- ]
+ ],
+ "glfw": null
}
},
"pause": {
@@ -1997,7 +2421,10 @@
"BREAK"
],
"english": "Pause",
- "chromium": "pause"
+ "chromium": "pause",
+ "glfw": [
+ "PAUSE"
+ ]
},
"scanCodes": {
"android": [
@@ -2013,6 +2440,9 @@
"keyCodes": {
"android": [
121
+ ],
+ "glfw": [
+ 284
]
}
},
@@ -2023,7 +2453,10 @@
"INSERT"
],
"english": "Insert",
- "chromium": "insert"
+ "chromium": "insert",
+ "glfw": [
+ "INSERT"
+ ]
},
"scanCodes": {
"android": [
@@ -2038,6 +2471,9 @@
"keyCodes": {
"android": [
124
+ ],
+ "glfw": [
+ 260
]
}
},
@@ -2048,7 +2484,10 @@
"MOVE_HOME"
],
"english": "Home",
- "chromium": "home"
+ "chromium": "home",
+ "glfw": [
+ "HOME"
+ ]
},
"scanCodes": {
"android": [
@@ -2063,6 +2502,9 @@
"keyCodes": {
"android": [
122
+ ],
+ "glfw": [
+ 268
]
}
},
@@ -2073,7 +2515,10 @@
"PAGE_UP"
],
"english": "Page Up",
- "chromium": "pageUp"
+ "chromium": "pageUp",
+ "glfw": [
+ "PAGE_UP"
+ ]
},
"scanCodes": {
"android": [
@@ -2089,6 +2534,9 @@
"keyCodes": {
"android": [
92
+ ],
+ "glfw": [
+ 266
]
}
},
@@ -2099,7 +2547,10 @@
"FORWARD_DEL"
],
"english": "Delete",
- "chromium": "del"
+ "chromium": "del",
+ "glfw": [
+ "DELETE"
+ ]
},
"scanCodes": {
"android": [
@@ -2114,6 +2565,9 @@
"keyCodes": {
"android": [
112
+ ],
+ "glfw": [
+ 261
]
}
},
@@ -2124,7 +2578,10 @@
"MOVE_END"
],
"english": "End",
- "chromium": "end"
+ "chromium": "end",
+ "glfw": [
+ "END"
+ ]
},
"scanCodes": {
"android": [
@@ -2139,6 +2596,9 @@
"keyCodes": {
"android": [
123
+ ],
+ "glfw": [
+ 269
]
}
},
@@ -2149,7 +2609,10 @@
"PAGE_DOWN"
],
"english": "Page Down",
- "chromium": "pageDown"
+ "chromium": "pageDown",
+ "glfw": [
+ "PAGE_DOWN"
+ ]
},
"scanCodes": {
"android": [
@@ -2165,6 +2628,9 @@
"keyCodes": {
"android": [
93
+ ],
+ "glfw": [
+ 267
]
}
},
@@ -2175,7 +2641,10 @@
"DPAD_RIGHT"
],
"english": "Arrow Right",
- "chromium": "arrowRight"
+ "chromium": "arrowRight",
+ "glfw": [
+ "RIGHT"
+ ]
},
"scanCodes": {
"android": [
@@ -2190,6 +2659,9 @@
"keyCodes": {
"android": [
22
+ ],
+ "glfw": [
+ 262
]
}
},
@@ -2200,7 +2672,10 @@
"DPAD_LEFT"
],
"english": "Arrow Left",
- "chromium": "arrowLeft"
+ "chromium": "arrowLeft",
+ "glfw": [
+ "LEFT"
+ ]
},
"scanCodes": {
"android": [
@@ -2215,6 +2690,9 @@
"keyCodes": {
"android": [
21
+ ],
+ "glfw": [
+ 263
]
}
},
@@ -2225,7 +2703,10 @@
"DPAD_DOWN"
],
"english": "Arrow Down",
- "chromium": "arrowDown"
+ "chromium": "arrowDown",
+ "glfw": [
+ "DOWN"
+ ]
},
"scanCodes": {
"android": [
@@ -2240,6 +2721,9 @@
"keyCodes": {
"android": [
20
+ ],
+ "glfw": [
+ 264
]
}
},
@@ -2250,7 +2734,10 @@
"DPAD_UP"
],
"english": "Arrow Up",
- "chromium": "arrowUp"
+ "chromium": "arrowUp",
+ "glfw": [
+ "UP"
+ ]
},
"scanCodes": {
"android": [
@@ -2265,6 +2752,9 @@
"keyCodes": {
"android": [
19
+ ],
+ "glfw": [
+ 265
]
}
},
@@ -2275,7 +2765,10 @@
"NUM_LOCK"
],
"english": "Num Lock",
- "chromium": "numLock"
+ "chromium": "numLock",
+ "glfw": [
+ "NUM_LOCK"
+ ]
},
"scanCodes": {
"android": [
@@ -2290,6 +2783,9 @@
"keyCodes": {
"android": [
143
+ ],
+ "glfw": [
+ 282
]
}
},
@@ -2300,7 +2796,10 @@
"NUMPAD_DIVIDE"
],
"english": "Numpad Divide",
- "chromium": "numpadDivide"
+ "chromium": "numpadDivide",
+ "glfw": [
+ "KP_DIVIDE"
+ ]
},
"scanCodes": {
"android": [
@@ -2315,6 +2814,9 @@
"keyCodes": {
"android": [
154
+ ],
+ "glfw": [
+ 331
]
}
},
@@ -2325,7 +2827,10 @@
"NUMPAD_MULTIPLY"
],
"english": "Numpad Multiply",
- "chromium": "numpadMultiply"
+ "chromium": "numpadMultiply",
+ "glfw": [
+ "KP_MULTIPLY"
+ ]
},
"scanCodes": {
"android": [
@@ -2340,6 +2845,9 @@
"keyCodes": {
"android": [
155
+ ],
+ "glfw": [
+ 332
]
}
},
@@ -2350,7 +2858,10 @@
"NUMPAD_SUBTRACT"
],
"english": "Numpad Subtract",
- "chromium": "numpadSubtract"
+ "chromium": "numpadSubtract",
+ "glfw": [
+ "NUMPAD_SUBTRACT"
+ ]
},
"scanCodes": {
"android": [
@@ -2365,7 +2876,8 @@
"keyCodes": {
"android": [
156
- ]
+ ],
+ "glfw": null
}
},
"numpadAdd": {
@@ -2375,7 +2887,10 @@
"NUMPAD_ADD"
],
"english": "Numpad Add",
- "chromium": "numpadAdd"
+ "chromium": "numpadAdd",
+ "glfw": [
+ "KP_ADD"
+ ]
},
"scanCodes": {
"android": [
@@ -2390,6 +2905,9 @@
"keyCodes": {
"android": [
157
+ ],
+ "glfw": [
+ 334
]
}
},
@@ -2400,7 +2918,10 @@
"NUMPAD_ENTER"
],
"english": "Numpad Enter",
- "chromium": "numpadEnter"
+ "chromium": "numpadEnter",
+ "glfw": [
+ "KP_ENTER"
+ ]
},
"scanCodes": {
"android": [
@@ -2415,6 +2936,9 @@
"keyCodes": {
"android": [
160
+ ],
+ "glfw": [
+ 335
]
}
},
@@ -2425,7 +2949,10 @@
"NUMPAD_1"
],
"english": "Numpad 1",
- "chromium": "numpad1"
+ "chromium": "numpad1",
+ "glfw": [
+ "KP_1"
+ ]
},
"scanCodes": {
"android": [
@@ -2440,6 +2967,9 @@
"keyCodes": {
"android": [
145
+ ],
+ "glfw": [
+ 321
]
}
},
@@ -2450,7 +2980,10 @@
"NUMPAD_2"
],
"english": "Numpad 2",
- "chromium": "numpad2"
+ "chromium": "numpad2",
+ "glfw": [
+ "KP_2"
+ ]
},
"scanCodes": {
"android": [
@@ -2465,6 +2998,9 @@
"keyCodes": {
"android": [
146
+ ],
+ "glfw": [
+ 322
]
}
},
@@ -2475,7 +3011,10 @@
"NUMPAD_3"
],
"english": "Numpad 3",
- "chromium": "numpad3"
+ "chromium": "numpad3",
+ "glfw": [
+ "KP_3"
+ ]
},
"scanCodes": {
"android": [
@@ -2490,6 +3029,9 @@
"keyCodes": {
"android": [
147
+ ],
+ "glfw": [
+ 323
]
}
},
@@ -2500,7 +3042,10 @@
"NUMPAD_4"
],
"english": "Numpad 4",
- "chromium": "numpad4"
+ "chromium": "numpad4",
+ "glfw": [
+ "KP_4"
+ ]
},
"scanCodes": {
"android": [
@@ -2515,6 +3060,9 @@
"keyCodes": {
"android": [
148
+ ],
+ "glfw": [
+ 324
]
}
},
@@ -2525,7 +3073,10 @@
"NUMPAD_5"
],
"english": "Numpad 5",
- "chromium": "numpad5"
+ "chromium": "numpad5",
+ "glfw": [
+ "KP_5"
+ ]
},
"scanCodes": {
"android": [
@@ -2540,6 +3091,9 @@
"keyCodes": {
"android": [
149
+ ],
+ "glfw": [
+ 325
]
}
},
@@ -2550,7 +3104,10 @@
"NUMPAD_6"
],
"english": "Numpad 6",
- "chromium": "numpad6"
+ "chromium": "numpad6",
+ "glfw": [
+ "KP_6"
+ ]
},
"scanCodes": {
"android": [
@@ -2565,6 +3122,9 @@
"keyCodes": {
"android": [
150
+ ],
+ "glfw": [
+ 326
]
}
},
@@ -2575,7 +3135,10 @@
"NUMPAD_7"
],
"english": "Numpad 7",
- "chromium": "numpad7"
+ "chromium": "numpad7",
+ "glfw": [
+ "KP_7"
+ ]
},
"scanCodes": {
"android": [
@@ -2590,6 +3153,9 @@
"keyCodes": {
"android": [
151
+ ],
+ "glfw": [
+ 327
]
}
},
@@ -2600,7 +3166,10 @@
"NUMPAD_8"
],
"english": "Numpad 8",
- "chromium": "numpad8"
+ "chromium": "numpad8",
+ "glfw": [
+ "KP_8"
+ ]
},
"scanCodes": {
"android": [
@@ -2615,6 +3184,9 @@
"keyCodes": {
"android": [
152
+ ],
+ "glfw": [
+ 328
]
}
},
@@ -2625,7 +3197,10 @@
"NUMPAD_9"
],
"english": "Numpad 9",
- "chromium": "numpad9"
+ "chromium": "numpad9",
+ "glfw": [
+ "KP_9"
+ ]
},
"scanCodes": {
"android": [
@@ -2640,6 +3215,9 @@
"keyCodes": {
"android": [
153
+ ],
+ "glfw": [
+ 329
]
}
},
@@ -2650,7 +3228,10 @@
"NUMPAD_0"
],
"english": "Numpad 0",
- "chromium": "numpad0"
+ "chromium": "numpad0",
+ "glfw": [
+ "KP_0"
+ ]
},
"scanCodes": {
"android": [
@@ -2665,6 +3246,9 @@
"keyCodes": {
"android": [
144
+ ],
+ "glfw": [
+ 320
]
}
},
@@ -2675,7 +3259,10 @@
"NUMPAD_DOT"
],
"english": "Numpad Decimal",
- "chromium": "numpadDecimal"
+ "chromium": "numpadDecimal",
+ "glfw": [
+ "KP_DECIMAL"
+ ]
},
"scanCodes": {
"android": [
@@ -2690,6 +3277,9 @@
"keyCodes": {
"android": [
158
+ ],
+ "glfw": [
+ 330
]
}
},
@@ -2698,7 +3288,8 @@
"domkey": "IntlBackslash",
"android": null,
"english": "Intl Backslash",
- "chromium": "intlBackslash"
+ "chromium": "intlBackslash",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -2709,7 +3300,8 @@
"macos": 10
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"contextMenu": {
@@ -2719,7 +3311,10 @@
"MENU"
],
"english": "Context Menu",
- "chromium": "contextMenu"
+ "chromium": "contextMenu",
+ "glfw": [
+ "MENU"
+ ]
},
"scanCodes": {
"android": [
@@ -2735,6 +3330,9 @@
"keyCodes": {
"android": [
82
+ ],
+ "glfw": [
+ 348
]
}
},
@@ -2745,7 +3343,8 @@
"POWER"
],
"english": "Power",
- "chromium": "power"
+ "chromium": "power",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -2761,7 +3360,8 @@
"keyCodes": {
"android": [
26
- ]
+ ],
+ "glfw": null
}
},
"numpadEqual": {
@@ -2771,7 +3371,10 @@
"NUMPAD_EQUALS"
],
"english": "Numpad Equal",
- "chromium": "numpadEqual"
+ "chromium": "numpadEqual",
+ "glfw": [
+ "KP_EQUAL"
+ ]
},
"scanCodes": {
"android": [
@@ -2786,6 +3389,9 @@
"keyCodes": {
"android": [
161
+ ],
+ "glfw": [
+ 336
]
}
},
@@ -2796,7 +3402,10 @@
"F13"
],
"english": "F13",
- "chromium": "f13"
+ "chromium": "f13",
+ "glfw": [
+ "F13"
+ ]
},
"scanCodes": {
"android": [
@@ -2809,7 +3418,10 @@
"macos": 105
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": [
+ 302
+ ]
}
},
"f14": {
@@ -2819,7 +3431,10 @@
"F14"
],
"english": "F14",
- "chromium": "f14"
+ "chromium": "f14",
+ "glfw": [
+ "F14"
+ ]
},
"scanCodes": {
"android": [
@@ -2832,7 +3447,10 @@
"macos": 107
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": [
+ 303
+ ]
}
},
"f15": {
@@ -2842,7 +3460,10 @@
"F15"
],
"english": "F15",
- "chromium": "f15"
+ "chromium": "f15",
+ "glfw": [
+ "F15"
+ ]
},
"scanCodes": {
"android": [
@@ -2855,7 +3476,10 @@
"macos": 113
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": [
+ 304
+ ]
}
},
"f16": {
@@ -2865,7 +3489,10 @@
"F16"
],
"english": "F16",
- "chromium": "f16"
+ "chromium": "f16",
+ "glfw": [
+ "F16"
+ ]
},
"scanCodes": {
"android": [
@@ -2878,7 +3505,10 @@
"macos": 106
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": [
+ 305
+ ]
}
},
"f17": {
@@ -2888,7 +3518,10 @@
"F17"
],
"english": "F17",
- "chromium": "f17"
+ "chromium": "f17",
+ "glfw": [
+ "F17"
+ ]
},
"scanCodes": {
"android": [
@@ -2901,7 +3534,10 @@
"macos": 64
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": [
+ 306
+ ]
}
},
"f18": {
@@ -2911,7 +3547,10 @@
"F18"
],
"english": "F18",
- "chromium": "f18"
+ "chromium": "f18",
+ "glfw": [
+ "F18"
+ ]
},
"scanCodes": {
"android": [
@@ -2924,7 +3563,10 @@
"macos": 79
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": [
+ 307
+ ]
}
},
"f19": {
@@ -2934,7 +3576,10 @@
"F19"
],
"english": "F19",
- "chromium": "f19"
+ "chromium": "f19",
+ "glfw": [
+ "F19"
+ ]
},
"scanCodes": {
"android": [
@@ -2947,7 +3592,10 @@
"macos": 80
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": [
+ 308
+ ]
}
},
"f20": {
@@ -2957,7 +3605,10 @@
"F20"
],
"english": "F20",
- "chromium": "f20"
+ "chromium": "f20",
+ "glfw": [
+ "F20"
+ ]
},
"scanCodes": {
"android": [
@@ -2970,7 +3621,10 @@
"macos": 90
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": [
+ 309
+ ]
}
},
"f21": {
@@ -2980,7 +3634,10 @@
"F21"
],
"english": "F21",
- "chromium": "f21"
+ "chromium": "f21",
+ "glfw": [
+ "F21"
+ ]
},
"scanCodes": {
"android": [
@@ -2993,7 +3650,10 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": [
+ 310
+ ]
}
},
"f22": {
@@ -3003,7 +3663,10 @@
"F22"
],
"english": "F22",
- "chromium": "f22"
+ "chromium": "f22",
+ "glfw": [
+ "F22"
+ ]
},
"scanCodes": {
"android": [
@@ -3016,7 +3679,10 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": [
+ 311
+ ]
}
},
"f23": {
@@ -3026,7 +3692,10 @@
"F23"
],
"english": "F23",
- "chromium": "f23"
+ "chromium": "f23",
+ "glfw": [
+ "F23"
+ ]
},
"scanCodes": {
"android": [
@@ -3039,7 +3708,10 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": [
+ 312
+ ]
}
},
"f24": {
@@ -3049,7 +3721,8 @@
"F24"
],
"english": "F24",
- "chromium": "f24"
+ "chromium": "f24",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -3062,7 +3735,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"open": {
@@ -3072,7 +3746,8 @@
"OPEN"
],
"english": "Open",
- "chromium": "open"
+ "chromium": "open",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -3085,7 +3760,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"help": {
@@ -3095,7 +3771,8 @@
"HELP"
],
"english": "Help",
- "chromium": "help"
+ "chromium": "help",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -3110,7 +3787,8 @@
"keyCodes": {
"android": [
259
- ]
+ ],
+ "glfw": null
}
},
"select": {
@@ -3118,7 +3796,8 @@
"domkey": "Select",
"android": null,
"english": "Select",
- "chromium": "select"
+ "chromium": "select",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -3129,7 +3808,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"again": {
@@ -3139,7 +3819,8 @@
"AGAIN"
],
"english": "Again",
- "chromium": "again"
+ "chromium": "again",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -3152,7 +3833,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"undo": {
@@ -3162,7 +3844,8 @@
"UNDO"
],
"english": "Undo",
- "chromium": "undo"
+ "chromium": "undo",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -3175,7 +3858,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"cut": {
@@ -3185,7 +3869,8 @@
"CUT"
],
"english": "Cut",
- "chromium": "cut"
+ "chromium": "cut",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -3200,7 +3885,8 @@
"keyCodes": {
"android": [
277
- ]
+ ],
+ "glfw": null
}
},
"copy": {
@@ -3210,7 +3896,8 @@
"COPY"
],
"english": "Copy",
- "chromium": "copy"
+ "chromium": "copy",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -3225,7 +3912,8 @@
"keyCodes": {
"android": [
278
- ]
+ ],
+ "glfw": null
}
},
"paste": {
@@ -3235,7 +3923,8 @@
"PASTE"
],
"english": "Paste",
- "chromium": "paste"
+ "chromium": "paste",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -3250,7 +3939,8 @@
"keyCodes": {
"android": [
279
- ]
+ ],
+ "glfw": null
}
},
"find": {
@@ -3260,7 +3950,8 @@
"FIND"
],
"english": "Find",
- "chromium": "find"
+ "chromium": "find",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -3273,7 +3964,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"audioVolumeMute": {
@@ -3283,7 +3975,8 @@
"VOLUME_MUTE"
],
"english": "Audio Volume Mute",
- "chromium": "volumeMute"
+ "chromium": "volumeMute",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -3298,7 +3991,8 @@
"keyCodes": {
"android": [
164
- ]
+ ],
+ "glfw": null
}
},
"audioVolumeUp": {
@@ -3308,7 +4002,8 @@
"VOLUME_UP"
],
"english": "Audio Volume Up",
- "chromium": "volumeUp"
+ "chromium": "volumeUp",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -3323,7 +4018,8 @@
"keyCodes": {
"android": [
24
- ]
+ ],
+ "glfw": null
}
},
"audioVolumeDown": {
@@ -3333,7 +4029,8 @@
"VOLUME_DOWN"
],
"english": "Audio Volume Down",
- "chromium": "volumeDown"
+ "chromium": "volumeDown",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -3348,7 +4045,8 @@
"keyCodes": {
"android": [
25
- ]
+ ],
+ "glfw": null
}
},
"numpadComma": {
@@ -3358,7 +4056,8 @@
"NUMPAD_COMMA"
],
"english": "Numpad Comma",
- "chromium": "numpadComma"
+ "chromium": "numpadComma",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -3374,7 +4073,8 @@
"keyCodes": {
"android": [
159
- ]
+ ],
+ "glfw": null
}
},
"intlRo": {
@@ -3382,7 +4082,8 @@
"domkey": "IntlRo",
"android": null,
"english": "Intl Ro",
- "chromium": "intlRo"
+ "chromium": "intlRo",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -3393,7 +4094,8 @@
"macos": 94
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"kanaMode": {
@@ -3401,7 +4103,8 @@
"domkey": "KanaMode",
"android": null,
"english": "Kana Mode",
- "chromium": "kanaMode"
+ "chromium": "kanaMode",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -3412,7 +4115,8 @@
"macos": 104
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"intlYen": {
@@ -3420,7 +4124,8 @@
"domkey": "IntlYen",
"android": null,
"english": "Intl Yen",
- "chromium": "intlYen"
+ "chromium": "intlYen",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -3431,7 +4136,8 @@
"macos": 93
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"convert": {
@@ -3441,7 +4147,8 @@
"HENKAN"
],
"english": "Convert",
- "chromium": "convert"
+ "chromium": "convert",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -3456,7 +4163,8 @@
"keyCodes": {
"android": [
214
- ]
+ ],
+ "glfw": null
}
},
"nonConvert": {
@@ -3466,7 +4174,8 @@
"MUHENKAN"
],
"english": "Non Convert",
- "chromium": "nonConvert"
+ "chromium": "nonConvert",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -3481,7 +4190,8 @@
"keyCodes": {
"android": [
213
- ]
+ ],
+ "glfw": null
}
},
"lang1": {
@@ -3489,7 +4199,8 @@
"domkey": "Lang1",
"android": null,
"english": "Lang 1",
- "chromium": "lang1"
+ "chromium": "lang1",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -3500,7 +4211,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"lang2": {
@@ -3508,7 +4220,8 @@
"domkey": "Lang2",
"android": null,
"english": "Lang 2",
- "chromium": "lang2"
+ "chromium": "lang2",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -3519,7 +4232,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"lang3": {
@@ -3529,7 +4243,8 @@
"KATAKANA"
],
"english": "Lang 3",
- "chromium": "lang3"
+ "chromium": "lang3",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -3542,7 +4257,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"lang4": {
@@ -3552,7 +4268,8 @@
"HIRAGANA"
],
"english": "Lang 4",
- "chromium": "lang4"
+ "chromium": "lang4",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -3565,7 +4282,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"lang5": {
@@ -3573,7 +4291,8 @@
"domkey": "Lang5",
"android": null,
"english": "Lang 5",
- "chromium": "lang5"
+ "chromium": "lang5",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -3584,7 +4303,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"abort": {
@@ -3592,7 +4312,8 @@
"domkey": "Abort",
"android": null,
"english": "Abort",
- "chromium": "abort"
+ "chromium": "abort",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -3603,7 +4324,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"props": {
@@ -3613,7 +4335,8 @@
"PROPS"
],
"english": "Props",
- "chromium": "props"
+ "chromium": "props",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -3626,7 +4349,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"numpadParenLeft": {
@@ -3636,7 +4360,8 @@
"NUMPAD_LEFT_PAREN"
],
"english": "Numpad Paren Left",
- "chromium": "numpadParenLeft"
+ "chromium": "numpadParenLeft",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -3651,7 +4376,8 @@
"keyCodes": {
"android": [
162
- ]
+ ],
+ "glfw": null
}
},
"numpadParenRight": {
@@ -3661,7 +4387,8 @@
"NUMPAD_RIGHT_PAREN"
],
"english": "Numpad Paren Right",
- "chromium": "numpadParenRight"
+ "chromium": "numpadParenRight",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -3676,7 +4403,8 @@
"keyCodes": {
"android": [
163
- ]
+ ],
+ "glfw": null
}
},
"numpadBackspace": {
@@ -3684,7 +4412,8 @@
"domkey": "NumpadBackspace",
"android": null,
"english": "Numpad Backspace",
- "chromium": "numpadBackspace"
+ "chromium": "numpadBackspace",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -3695,7 +4424,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"numpadMemoryStore": {
@@ -3703,7 +4433,8 @@
"domkey": "NumpadMemoryStore",
"android": null,
"english": "Numpad Memory Store",
- "chromium": "numpadMemoryStore"
+ "chromium": "numpadMemoryStore",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -3714,7 +4445,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"numpadMemoryRecall": {
@@ -3722,7 +4454,8 @@
"domkey": "NumpadMemoryRecall",
"android": null,
"english": "Numpad Memory Recall",
- "chromium": "numpadMemoryRecall"
+ "chromium": "numpadMemoryRecall",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -3733,7 +4466,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"numpadMemoryClear": {
@@ -3741,7 +4475,8 @@
"domkey": "NumpadMemoryClear",
"android": null,
"english": "Numpad Memory Clear",
- "chromium": "numpadMemoryClear"
+ "chromium": "numpadMemoryClear",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -3752,7 +4487,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"numpadMemoryAdd": {
@@ -3760,7 +4496,8 @@
"domkey": "NumpadMemoryAdd",
"android": null,
"english": "Numpad Memory Add",
- "chromium": "numpadMemoryAdd"
+ "chromium": "numpadMemoryAdd",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -3771,7 +4508,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"numpadMemorySubtract": {
@@ -3779,7 +4517,8 @@
"domkey": "NumpadMemorySubtract",
"android": null,
"english": "Numpad Memory Subtract",
- "chromium": "numpadMemorySubtract"
+ "chromium": "numpadMemorySubtract",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -3790,7 +4529,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"numpadSignChange": {
@@ -3798,7 +4538,8 @@
"domkey": null,
"android": null,
"english": "Numpad Sign Change",
- "chromium": "numpadSignChange"
+ "chromium": "numpadSignChange",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -3809,7 +4550,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"numpadClear": {
@@ -3817,7 +4559,8 @@
"domkey": "NumpadClear",
"android": null,
"english": "Numpad Clear",
- "chromium": "numpadClear"
+ "chromium": "numpadClear",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -3828,7 +4571,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"numpadClearEntry": {
@@ -3836,7 +4580,8 @@
"domkey": "NumpadClearEntry",
"android": null,
"english": "Numpad Clear Entry",
- "chromium": "numpadClearEntry"
+ "chromium": "numpadClearEntry",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -3847,7 +4592,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"controlLeft": {
@@ -3857,7 +4603,10 @@
"CTRL_LEFT"
],
"english": "Control Left",
- "chromium": "controlLeft"
+ "chromium": "controlLeft",
+ "glfw": [
+ "LEFT_CONTROL"
+ ]
},
"scanCodes": {
"android": [
@@ -3872,6 +4621,9 @@
"keyCodes": {
"android": [
113
+ ],
+ "glfw": [
+ 341
]
}
},
@@ -3882,7 +4634,10 @@
"SHIFT_LEFT"
],
"english": "Shift Left",
- "chromium": "shiftLeft"
+ "chromium": "shiftLeft",
+ "glfw": [
+ "LEFT_SHIFT"
+ ]
},
"scanCodes": {
"android": [
@@ -3897,6 +4652,9 @@
"keyCodes": {
"android": [
59
+ ],
+ "glfw": [
+ 340
]
}
},
@@ -3907,7 +4665,10 @@
"ALT_LEFT"
],
"english": "Alt Left",
- "chromium": "altLeft"
+ "chromium": "altLeft",
+ "glfw": [
+ "LEFT_ALT"
+ ]
},
"scanCodes": {
"android": [
@@ -3922,6 +4683,9 @@
"keyCodes": {
"android": [
57
+ ],
+ "glfw": [
+ 342
]
}
},
@@ -3932,7 +4696,8 @@
"META_LEFT"
],
"english": "Meta Left",
- "chromium": "metaLeft"
+ "chromium": "metaLeft",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -3947,7 +4712,8 @@
"keyCodes": {
"android": [
117
- ]
+ ],
+ "glfw": null
}
},
"controlRight": {
@@ -3957,7 +4723,10 @@
"CTRL_RIGHT"
],
"english": "Control Right",
- "chromium": "controlRight"
+ "chromium": "controlRight",
+ "glfw": [
+ "RIGHT_CONTROL"
+ ]
},
"scanCodes": {
"android": [
@@ -3972,6 +4741,9 @@
"keyCodes": {
"android": [
114
+ ],
+ "glfw": [
+ 345
]
}
},
@@ -3982,7 +4754,10 @@
"SHIFT_RIGHT"
],
"english": "Shift Right",
- "chromium": "shiftRight"
+ "chromium": "shiftRight",
+ "glfw": [
+ "RIGHT_SHIFT"
+ ]
},
"scanCodes": {
"android": [
@@ -3997,6 +4772,9 @@
"keyCodes": {
"android": [
60
+ ],
+ "glfw": [
+ 344
]
}
},
@@ -4007,7 +4785,10 @@
"ALT_RIGHT"
],
"english": "Alt Right",
- "chromium": "altRight"
+ "chromium": "altRight",
+ "glfw": [
+ "RIGHT_ALT"
+ ]
},
"scanCodes": {
"android": [
@@ -4022,6 +4803,9 @@
"keyCodes": {
"android": [
58
+ ],
+ "glfw": [
+ 346
]
}
},
@@ -4032,7 +4816,8 @@
"META_RIGHT"
],
"english": "Meta Right",
- "chromium": "metaRight"
+ "chromium": "metaRight",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -4047,7 +4832,8 @@
"keyCodes": {
"android": [
118
- ]
+ ],
+ "glfw": null
}
},
"info": {
@@ -4057,7 +4843,8 @@
"INFO"
],
"english": "Info",
- "chromium": "info"
+ "chromium": "info",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -4072,7 +4859,8 @@
"keyCodes": {
"android": [
165
- ]
+ ],
+ "glfw": null
}
},
"closedCaptionToggle": {
@@ -4082,7 +4870,8 @@
"CAPTIONS"
],
"english": "Closed Caption Toggle",
- "chromium": "closedCaptionToggle"
+ "chromium": "closedCaptionToggle",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -4095,7 +4884,8 @@
"keyCodes": {
"android": [
175
- ]
+ ],
+ "glfw": null
}
},
"brightnessUp": {
@@ -4105,7 +4895,8 @@
"BRIGHTNESS_UP"
],
"english": "Brightness Up",
- "chromium": "brightnessUp"
+ "chromium": "brightnessUp",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -4120,7 +4911,8 @@
"keyCodes": {
"android": [
221
- ]
+ ],
+ "glfw": null
}
},
"brightnessDown": {
@@ -4130,7 +4922,8 @@
"BRIGHTNESS_DOWN"
],
"english": "Brightness Down",
- "chromium": "brightnessDown"
+ "chromium": "brightnessDown",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -4145,7 +4938,8 @@
"keyCodes": {
"android": [
220
- ]
+ ],
+ "glfw": null
}
},
"brightnessToggle": {
@@ -4153,7 +4947,8 @@
"domkey": null,
"android": null,
"english": "Brightness Toggle",
- "chromium": "brightnessToggle"
+ "chromium": "brightnessToggle",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -4164,7 +4959,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"brightnessMinimum": {
@@ -4172,7 +4968,8 @@
"domkey": null,
"android": null,
"english": "Brightness Minimum",
- "chromium": "brightnessMinimum"
+ "chromium": "brightnessMinimum",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -4183,7 +4980,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"brightnessMaximum": {
@@ -4191,7 +4989,8 @@
"domkey": null,
"android": null,
"english": "Brightness Maximum",
- "chromium": "brightnessMaximum"
+ "chromium": "brightnessMaximum",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -4202,7 +5001,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"brightnessAuto": {
@@ -4210,7 +5010,8 @@
"domkey": null,
"android": null,
"english": "Brightness Auto",
- "chromium": "brightnessAuto"
+ "chromium": "brightnessAuto",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -4221,7 +5022,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"mediaLast": {
@@ -4231,7 +5033,8 @@
"LAST_CHANNEL"
],
"english": "Media Last",
- "chromium": "mediaLast"
+ "chromium": "mediaLast",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -4244,7 +5047,8 @@
"keyCodes": {
"android": [
229
- ]
+ ],
+ "glfw": null
}
},
"launchPhone": {
@@ -4252,7 +5056,8 @@
"domkey": null,
"android": null,
"english": "Launch Phone",
- "chromium": "launchPhone"
+ "chromium": "launchPhone",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -4263,7 +5068,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"programGuide": {
@@ -4271,7 +5077,8 @@
"domkey": null,
"android": null,
"english": "Program Guide",
- "chromium": "programGuide"
+ "chromium": "programGuide",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -4282,7 +5089,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"exit": {
@@ -4292,7 +5100,8 @@
"EXIT"
],
"english": "Exit",
- "chromium": "exit"
+ "chromium": "exit",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -4305,7 +5114,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"channelUp": {
@@ -4315,7 +5125,8 @@
"CHANNEL_UP"
],
"english": "Channel Up",
- "chromium": "channelUp"
+ "chromium": "channelUp",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -4330,7 +5141,8 @@
"keyCodes": {
"android": [
166
- ]
+ ],
+ "glfw": null
}
},
"channelDown": {
@@ -4340,7 +5152,8 @@
"CHANNEL_DOWN"
],
"english": "Channel Down",
- "chromium": "channelDown"
+ "chromium": "channelDown",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -4355,7 +5168,8 @@
"keyCodes": {
"android": [
167
- ]
+ ],
+ "glfw": null
}
},
"mediaPlay": {
@@ -4365,7 +5179,8 @@
"MEDIA_PLAY"
],
"english": "Media Play",
- "chromium": "mediaPlay"
+ "chromium": "mediaPlay",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -4381,7 +5196,8 @@
"keyCodes": {
"android": [
126
- ]
+ ],
+ "glfw": null
}
},
"mediaRecord": {
@@ -4391,7 +5207,8 @@
"MEDIA_RECORD"
],
"english": "Media Record",
- "chromium": "mediaRecord"
+ "chromium": "mediaRecord",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -4406,7 +5223,8 @@
"keyCodes": {
"android": [
130
- ]
+ ],
+ "glfw": null
}
},
"mediaFastForward": {
@@ -4416,7 +5234,8 @@
"MEDIA_FAST_FORWARD"
],
"english": "Media Fast Forward",
- "chromium": "mediaFastForward"
+ "chromium": "mediaFastForward",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -4431,7 +5250,8 @@
"keyCodes": {
"android": [
90
- ]
+ ],
+ "glfw": null
}
},
"mediaRewind": {
@@ -4441,7 +5261,8 @@
"MEDIA_REWIND"
],
"english": "Media Rewind",
- "chromium": "mediaRewind"
+ "chromium": "mediaRewind",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -4456,7 +5277,8 @@
"keyCodes": {
"android": [
89
- ]
+ ],
+ "glfw": null
}
},
"mediaTrackNext": {
@@ -4466,7 +5288,8 @@
"MEDIA_NEXT"
],
"english": "Media Track Next",
- "chromium": "mediaTrackNext"
+ "chromium": "mediaTrackNext",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -4481,7 +5304,8 @@
"keyCodes": {
"android": [
87
- ]
+ ],
+ "glfw": null
}
},
"mediaTrackPrevious": {
@@ -4491,7 +5315,8 @@
"MEDIA_PREVIOUS"
],
"english": "Media Track Previous",
- "chromium": "mediaTrackPrevious"
+ "chromium": "mediaTrackPrevious",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -4506,7 +5331,8 @@
"keyCodes": {
"android": [
88
- ]
+ ],
+ "glfw": null
}
},
"mediaStop": {
@@ -4516,7 +5342,8 @@
"MEDIA_STOP"
],
"english": "Media Stop",
- "chromium": "mediaStop"
+ "chromium": "mediaStop",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -4532,7 +5359,8 @@
"keyCodes": {
"android": [
86
- ]
+ ],
+ "glfw": null
}
},
"eject": {
@@ -4542,7 +5370,8 @@
"MEDIA_EJECT"
],
"english": "Eject",
- "chromium": "eject"
+ "chromium": "eject",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -4558,7 +5387,8 @@
"keyCodes": {
"android": [
129
- ]
+ ],
+ "glfw": null
}
},
"mediaPlayPause": {
@@ -4568,7 +5398,8 @@
"MEDIA_PLAY_PAUSE"
],
"english": "Media Play Pause",
- "chromium": "mediaPlayPause"
+ "chromium": "mediaPlayPause",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -4583,7 +5414,8 @@
"keyCodes": {
"android": [
85
- ]
+ ],
+ "glfw": null
}
},
"speechInputToggle": {
@@ -4591,7 +5423,8 @@
"domkey": null,
"android": null,
"english": "Speech Input Toggle",
- "chromium": "speechInputToggle"
+ "chromium": "speechInputToggle",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -4602,7 +5435,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"bassBoost": {
@@ -4612,7 +5446,8 @@
"BASSBOOST"
],
"english": "Bass Boost",
- "chromium": "bassBoost"
+ "chromium": "bassBoost",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -4625,7 +5460,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"mediaSelect": {
@@ -4633,7 +5469,8 @@
"domkey": "MediaSelect",
"android": null,
"english": "Media Select",
- "chromium": "mediaSelect"
+ "chromium": "mediaSelect",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -4644,7 +5481,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"launchWordProcessor": {
@@ -4652,7 +5490,8 @@
"domkey": null,
"android": null,
"english": "Launch Word Processor",
- "chromium": "launchWordProcessor"
+ "chromium": "launchWordProcessor",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -4663,7 +5502,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"launchSpreadsheet": {
@@ -4671,7 +5511,8 @@
"domkey": null,
"android": null,
"english": "Launch Spreadsheet",
- "chromium": "launchSpreadsheet"
+ "chromium": "launchSpreadsheet",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -4682,7 +5523,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"launchMail": {
@@ -4692,7 +5534,8 @@
"ENVELOPE"
],
"english": "Launch Mail",
- "chromium": "launchMail"
+ "chromium": "launchMail",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -4708,7 +5551,8 @@
"keyCodes": {
"android": [
65
- ]
+ ],
+ "glfw": null
}
},
"launchContacts": {
@@ -4718,7 +5562,8 @@
"CONTACTS"
],
"english": "Launch Contacts",
- "chromium": "launchContacts"
+ "chromium": "launchContacts",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -4733,7 +5578,8 @@
"keyCodes": {
"android": [
207
- ]
+ ],
+ "glfw": null
}
},
"launchCalendar": {
@@ -4743,7 +5589,8 @@
"CALENDAR"
],
"english": "Launch Calendar",
- "chromium": "launchCalendar"
+ "chromium": "launchCalendar",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -4758,7 +5605,8 @@
"keyCodes": {
"android": [
208
- ]
+ ],
+ "glfw": null
}
},
"launchApp2": {
@@ -4766,7 +5614,8 @@
"domkey": "LaunchApp2",
"android": null,
"english": "Launch App2",
- "chromium": "launchApp2"
+ "chromium": "launchApp2",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -4777,7 +5626,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"launchApp1": {
@@ -4785,7 +5635,8 @@
"domkey": "LaunchApp1",
"android": null,
"english": "Launch App1",
- "chromium": "launchApp1"
+ "chromium": "launchApp1",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -4796,7 +5647,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"launchInternetBrowser": {
@@ -4804,7 +5656,8 @@
"domkey": null,
"android": null,
"english": "Launch Internet Browser",
- "chromium": "launchInternetBrowser"
+ "chromium": "launchInternetBrowser",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -4815,7 +5668,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"logOff": {
@@ -4823,7 +5677,8 @@
"domkey": null,
"android": null,
"english": "Log Off",
- "chromium": "logOff"
+ "chromium": "logOff",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -4834,7 +5689,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"lockScreen": {
@@ -4842,7 +5698,8 @@
"domkey": null,
"android": null,
"english": "Lock Screen",
- "chromium": "lockScreen"
+ "chromium": "lockScreen",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -4853,7 +5710,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"launchControlPanel": {
@@ -4861,7 +5719,8 @@
"domkey": "LaunchControlPanel",
"android": null,
"english": "Launch Control Panel",
- "chromium": "launchControlPanel"
+ "chromium": "launchControlPanel",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -4872,7 +5731,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"selectTask": {
@@ -4880,7 +5740,8 @@
"domkey": "SelectTask",
"android": null,
"english": "Select Task",
- "chromium": "selectTask"
+ "chromium": "selectTask",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -4891,7 +5752,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"launchDocuments": {
@@ -4899,7 +5761,8 @@
"domkey": null,
"android": null,
"english": "Launch Documents",
- "chromium": "launchDocuments"
+ "chromium": "launchDocuments",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -4910,7 +5773,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"spellCheck": {
@@ -4918,7 +5782,8 @@
"domkey": null,
"android": null,
"english": "Spell Check",
- "chromium": "spellCheck"
+ "chromium": "spellCheck",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -4929,7 +5794,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"launchKeyboardLayout": {
@@ -4937,7 +5803,8 @@
"domkey": null,
"android": null,
"english": "Launch Keyboard Layout",
- "chromium": "launchKeyboardLayout"
+ "chromium": "launchKeyboardLayout",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -4948,7 +5815,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"launchScreenSaver": {
@@ -4956,7 +5824,8 @@
"domkey": "LaunchScreenSaver",
"android": null,
"english": "Launch Screen Saver",
- "chromium": "launchScreenSaver"
+ "chromium": "launchScreenSaver",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -4967,7 +5836,33 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
+ }
+ },
+ "launchAssistant": {
+ "names": {
+ "domkey": "LaunchAssistant",
+ "android": [
+ "ASSIST"
+ ],
+ "english": "Launch Assistant",
+ "chromium": "launchAssistant",
+ "glfw": null
+ },
+ "scanCodes": {
+ "android": null,
+ "usb": 786891,
+ "linux": 583,
+ "xkb": 591,
+ "windows": null,
+ "macos": null
+ },
+ "keyCodes": {
+ "android": [
+ 219
+ ],
+ "glfw": null
}
},
"launchAudioBrowser": {
@@ -4975,7 +5870,8 @@
"domkey": null,
"android": null,
"english": "Launch Audio Browser",
- "chromium": "launchAudioBrowser"
+ "chromium": "launchAudioBrowser",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -4986,7 +5882,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"newKey": {
@@ -4996,7 +5893,8 @@
"NEW"
],
"english": "New Key",
- "chromium": "new"
+ "chromium": "new",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -5009,7 +5907,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"close": {
@@ -5020,7 +5919,8 @@
"CLOSE"
],
"english": "Close",
- "chromium": "close"
+ "chromium": "close",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -5036,7 +5936,8 @@
"keyCodes": {
"android": [
128
- ]
+ ],
+ "glfw": null
}
},
"save": {
@@ -5044,7 +5945,8 @@
"domkey": null,
"android": null,
"english": "Save",
- "chromium": "save"
+ "chromium": "save",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -5055,7 +5957,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"print": {
@@ -5065,7 +5968,8 @@
"PRINT"
],
"english": "Print",
- "chromium": "print"
+ "chromium": "print",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -5078,7 +5982,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"browserSearch": {
@@ -5088,7 +5993,8 @@
"SEARCH"
],
"english": "Browser Search",
- "chromium": "browserSearch"
+ "chromium": "browserSearch",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -5103,7 +6009,8 @@
"keyCodes": {
"android": [
84
- ]
+ ],
+ "glfw": null
}
},
"browserHome": {
@@ -5111,7 +6018,8 @@
"domkey": "BrowserHome",
"android": null,
"english": "Browser Home",
- "chromium": "browserHome"
+ "chromium": "browserHome",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -5122,7 +6030,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"browserBack": {
@@ -5130,7 +6039,8 @@
"domkey": "BrowserBack",
"android": null,
"english": "Browser Back",
- "chromium": "browserBack"
+ "chromium": "browserBack",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -5141,7 +6051,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"browserForward": {
@@ -5151,7 +6062,8 @@
"FORWARD"
],
"english": "Browser Forward",
- "chromium": "browserForward"
+ "chromium": "browserForward",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -5166,7 +6078,8 @@
"keyCodes": {
"android": [
125
- ]
+ ],
+ "glfw": null
}
},
"browserStop": {
@@ -5174,7 +6087,8 @@
"domkey": "BrowserStop",
"android": null,
"english": "Browser Stop",
- "chromium": "browserStop"
+ "chromium": "browserStop",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -5185,7 +6099,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"browserRefresh": {
@@ -5193,7 +6108,8 @@
"domkey": "BrowserRefresh",
"android": null,
"english": "Browser Refresh",
- "chromium": "browserRefresh"
+ "chromium": "browserRefresh",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -5204,7 +6120,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"browserFavorites": {
@@ -5214,7 +6131,8 @@
"BOOKMARK"
],
"english": "Browser Favorites",
- "chromium": "browserFavorites"
+ "chromium": "browserFavorites",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -5229,7 +6147,8 @@
"keyCodes": {
"android": [
174
- ]
+ ],
+ "glfw": null
}
},
"zoomIn": {
@@ -5239,7 +6158,8 @@
"ZOOM_IN"
],
"english": "Zoom In",
- "chromium": "zoomIn"
+ "chromium": "zoomIn",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -5252,7 +6172,8 @@
"keyCodes": {
"android": [
168
- ]
+ ],
+ "glfw": null
}
},
"zoomOut": {
@@ -5262,7 +6183,8 @@
"ZOOM_OUT"
],
"english": "Zoom Out",
- "chromium": "zoomOut"
+ "chromium": "zoomOut",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -5275,7 +6197,8 @@
"keyCodes": {
"android": [
169
- ]
+ ],
+ "glfw": null
}
},
"zoomToggle": {
@@ -5285,20 +6208,22 @@
"TV_ZOOM_MODE"
],
"english": "Zoom Toggle",
- "chromium": "zoomToggle"
+ "chromium": "zoomToggle",
+ "glfw": null
},
"scanCodes": {
"android": null,
"usb": 786994,
- "linux": null,
- "xkb": null,
+ "linux": 372,
+ "xkb": 380,
"windows": null,
"macos": null
},
"keyCodes": {
"android": [
255
- ]
+ ],
+ "glfw": null
}
},
"redo": {
@@ -5308,7 +6233,8 @@
"REDO"
],
"english": "Redo",
- "chromium": "redo"
+ "chromium": "redo",
+ "glfw": null
},
"scanCodes": {
"android": [
@@ -5321,7 +6247,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"mailReply": {
@@ -5329,7 +6256,8 @@
"domkey": "MailReply",
"android": null,
"english": "Mail Reply",
- "chromium": "mailReply"
+ "chromium": "mailReply",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -5340,7 +6268,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"mailForward": {
@@ -5348,7 +6277,8 @@
"domkey": "MailForward",
"android": null,
"english": "Mail Forward",
- "chromium": "mailForward"
+ "chromium": "mailForward",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -5359,7 +6289,8 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
}
},
"mailSend": {
@@ -5367,7 +6298,8 @@
"domkey": "MailSend",
"android": null,
"english": "Mail Send",
- "chromium": "mailSend"
+ "chromium": "mailSend",
+ "glfw": null
},
"scanCodes": {
"android": null,
@@ -5378,7 +6310,29 @@
"macos": null
},
"keyCodes": {
- "android": null
+ "android": null,
+ "glfw": null
+ }
+ },
+ "showAllWindows": {
+ "names": {
+ "domkey": "ShowAllWindows",
+ "android": null,
+ "english": "Show All Windows",
+ "chromium": "showAllWindows",
+ "glfw": null
+ },
+ "scanCodes": {
+ "android": null,
+ "usb": 787103,
+ "linux": 120,
+ "xkb": 128,
+ "windows": null,
+ "macos": null
+ },
+ "keyCodes": {
+ "android": null,
+ "glfw": null
}
}
}
\ No newline at end of file
diff --git a/dev/tools/gen_keycodes/data/key_name_to_glfw_name.json b/dev/tools/gen_keycodes/data/key_name_to_glfw_name.json
new file mode 100644
index 0000000000..a1e435d256
--- /dev/null
+++ b/dev/tools/gen_keycodes/data/key_name_to_glfw_name.json
@@ -0,0 +1,116 @@
+{
+ "altLeft": ["LEFT_ALT"],
+ "altRight": ["RIGHT_ALT"],
+ "arrowDown": ["DOWN"],
+ "arrowLeft": ["LEFT"],
+ "arrowRight": ["RIGHT"],
+ "arrowUp": ["UP"],
+ "backquote": ["GRAVE_ACCENT"],
+ "backslash": ["BACKSLASH"],
+ "backspace": ["BACKSPACE"],
+ "bracketLeft": ["LEFT_BRACKET"],
+ "bracketRight": ["RIGHT_BRACKET"],
+ "capsLock": ["CAPS_LOCK"],
+ "controlLeft": ["LEFT_CONTROL"],
+ "controlRight": ["RIGHT_CONTROL"],
+ "contextMenu": ["MENU"],
+ "comma": ["COMMA"],
+ "delete": ["DELETE"],
+ "digit0": ["0"],
+ "digit1": ["1"],
+ "digit2": ["2"],
+ "digit3": ["3"],
+ "digit4": ["4"],
+ "digit5": ["5"],
+ "digit6": ["6"],
+ "digit7": ["7"],
+ "digit8": ["8"],
+ "digit9": ["9"],
+ "end": ["END"],
+ "enter": ["ENTER"],
+ "equal": ["EQUAL"],
+ "escape": ["ESCAPE"],
+ "f1": ["F1"],
+ "f2": ["F2"],
+ "f3": ["F3"],
+ "f4": ["F4"],
+ "f5": ["F5"],
+ "f6": ["F6"],
+ "f7": ["F7"],
+ "f8": ["F8"],
+ "f9": ["F9"],
+ "f10": ["F10"],
+ "f11": ["F11"],
+ "f12": ["F12"],
+ "f13": ["F13"],
+ "f14": ["F14"],
+ "f15": ["F15"],
+ "f16": ["F16"],
+ "f17": ["F17"],
+ "f18": ["F18"],
+ "f19": ["F19"],
+ "f20": ["F20"],
+ "f21": ["F21"],
+ "f22": ["F22"],
+ "f23": ["F23"],
+ "f25": ["F25"],
+ "home": ["HOME"],
+ "insert": ["INSERT"],
+ "keyA": ["A"],
+ "keyB": ["B"],
+ "keyC": ["C"],
+ "keyD": ["D"],
+ "keyE": ["E"],
+ "keyF": ["F"],
+ "keyG": ["G"],
+ "keyH": ["H"],
+ "keyI": ["I"],
+ "keyJ": ["J"],
+ "keyK": ["K"],
+ "keyL": ["L"],
+ "keyM": ["M"],
+ "keyN": ["N"],
+ "keyO": ["O"],
+ "keyP": ["P"],
+ "keyQ": ["Q"],
+ "keyR": ["R"],
+ "keyS": ["S"],
+ "keyT": ["T"],
+ "keyU": ["U"],
+ "keyV": ["V"],
+ "keyW": ["W"],
+ "keyX": ["X"],
+ "keyY": ["Y"],
+ "keyZ": ["Z"],
+ "minus": ["MINUS"],
+ "numLock": ["NUM_LOCK"],
+ "numpad0": ["KP_0"],
+ "numpad1": ["KP_1"],
+ "numpad2": ["KP_2"],
+ "numpad3": ["KP_3"],
+ "numpad4": ["KP_4"],
+ "numpad5": ["KP_5"],
+ "numpad6": ["KP_6"],
+ "numpad7": ["KP_7"],
+ "numpad8": ["KP_8"],
+ "numpad9": ["KP_9"],
+ "numpadDecimal": ["KP_DECIMAL"],
+ "numpadDivide": ["KP_DIVIDE"],
+ "numpadMultiply": ["KP_MULTIPLY"],
+ "numpadSubtract": ["NUMPAD_SUBTRACT"],
+ "numpadAdd": ["KP_ADD"],
+ "numpadEnter": ["KP_ENTER"],
+ "numpadEqual": ["KP_EQUAL"],
+ "pageDown": ["PAGE_DOWN"],
+ "pageUp": ["PAGE_UP"],
+ "pause": ["PAUSE"],
+ "printScreen": ["PRINT_SCREEN"],
+ "quote": ["APOSTROPHE"],
+ "period": ["PERIOD"],
+ "semicolon": ["SEMICOLON"],
+ "slash": ["SLASH"],
+ "space": ["SPACE"],
+ "shiftLeft": ["LEFT_SHIFT"],
+ "shiftRight": ["RIGHT_SHIFT"],
+ "tab": ["TAB"]
+}
diff --git a/dev/tools/gen_keycodes/data/keyboard_maps.tmpl b/dev/tools/gen_keycodes/data/keyboard_maps.tmpl
index 06e6352481..3dd9ac2afb 100644
--- a/dev/tools/gen_keycodes/data/keyboard_maps.tmpl
+++ b/dev/tools/gen_keycodes/data/keyboard_maps.tmpl
@@ -40,6 +40,8 @@ const Map kFuchsiaToPhysicalKey = kMacOsToPhysicalKey = {
@@@MACOS_SCAN_CODE_MAP@@@
};
@@ -50,3 +52,21 @@ const Map kMacOsToPhysicalKey = kMacOsNumPadMap = {
@@@MACOS_NUMPAD_MAP@@@
};
+
+/// Maps GLFW-specific key codes to the matching [LogicalKeyboardKey].
+const Map kGlfwToLogicalKey = {
+@@@GLFW_KEY_CODE_MAP@@@
+};
+
+/// A map of GLFW key codes which have printable representations, but appear
+/// on the number pad. Used to provide different key objects for keys like
+/// KEY_EQUALS and NUMPAD_EQUALS.
+const Map kGlfwNumpadMap = {
+@@@GLFW_NUMPAD_MAP@@@
+};
+
+/// Maps XKB specific key code values representing [PhysicalKeyboardKey].
+const Map kLinuxToPhysicalKey = {
+@@@XKB_SCAN_CODE_MAP@@@
+};
+
diff --git a/dev/tools/gen_keycodes/lib/code_gen.dart b/dev/tools/gen_keycodes/lib/code_gen.dart
index 0ba5308a51..0df57d2202 100644
--- a/dev/tools/gen_keycodes/lib/code_gen.dart
+++ b/dev/tools/gen_keycodes/lib/code_gen.dart
@@ -93,6 +93,46 @@ $otherComments static const LogicalKeyboardKey ${entry.constantName} = LogicalK
return keyCodeMap.toString().trimRight();
}
+ /// This generates the map of GLFW number pad key codes to logical keys.
+ String get glfwNumpadMap {
+ final StringBuffer glfwNumpadMap = StringBuffer();
+ final List onlyNumpads = keyData.data.where((Key entry) {
+ return entry.constantName.startsWith('numpad') && entry.keyLabel != null;
+ }).toList();
+ for (Key entry in onlyNumpads) {
+ if (entry.glfwKeyCodes != null) {
+ for (int code in entry.glfwKeyCodes.cast()) {
+ glfwNumpadMap.writeln(' $code: LogicalKeyboardKey.${entry.constantName},');
+ }
+ }
+ }
+ return glfwNumpadMap.toString().trimRight();
+ }
+
+ /// This generates the map of GLFW key codes to logical keys.
+ String get glfwKeyCodeMap {
+ final StringBuffer glfwKeyCodeMap = StringBuffer();
+ for (Key entry in keyData.data) {
+ if (entry.glfwKeyCodes != null) {
+ for (int code in entry.glfwKeyCodes.cast()) {
+ glfwKeyCodeMap.writeln(' $code: LogicalKeyboardKey.${entry.constantName},');
+ }
+ }
+ }
+ return glfwKeyCodeMap.toString().trimRight();
+ }
+
+ /// This generates the map of XKB USB HID codes to physical keys.
+ String get xkbScanCodeMap {
+ final StringBuffer xkbScanCodeMap = StringBuffer();
+ for (Key entry in keyData.data) {
+ if (entry.xKbScanCode != null) {
+ xkbScanCodeMap.writeln(' ${toHex(entry.xKbScanCode)}: PhysicalKeyboardKey.${entry.constantName},');
+ }
+ }
+ return xkbScanCodeMap.toString().trimRight();
+ }
+
/// This generates the map of Android key codes to logical keys.
String get androidKeyCodeMap {
final StringBuffer androidKeyCodeMap = StringBuffer();
@@ -210,6 +250,9 @@ $otherComments static const LogicalKeyboardKey ${entry.constantName} = LogicalK
'FUCHSIA_KEY_CODE_MAP': fuchsiaKeyCodeMap,
'MACOS_SCAN_CODE_MAP': macOsScanCodeMap,
'MACOS_NUMPAD_MAP': macOsNumpadMap,
+ 'GLFW_KEY_CODE_MAP': glfwKeyCodeMap,
+ 'GLFW_NUMPAD_MAP': glfwNumpadMap,
+ 'XKB_SCAN_CODE_MAP': xkbScanCodeMap,
};
final String template = File(path.join(flutterRoot.path, 'dev', 'tools', 'gen_keycodes', 'data', 'keyboard_maps.tmpl')).readAsStringSync();
diff --git a/dev/tools/gen_keycodes/lib/key_data.dart b/dev/tools/gen_keycodes/lib/key_data.dart
index 21fa94ffca..a8d9994ac0 100644
--- a/dev/tools/gen_keycodes/lib/key_data.dart
+++ b/dev/tools/gen_keycodes/lib/key_data.dart
@@ -26,14 +26,25 @@ class KeyData {
String androidKeyboardLayout,
String androidKeyCodeHeader,
String androidNameMap,
+ String glfwKeyCodeHeader,
+ String glfwNameMap
) : assert(chromiumHidCodes != null),
assert(androidKeyboardLayout != null),
assert(androidKeyCodeHeader != null),
- assert(androidNameMap != null) {
+ assert(androidNameMap != null),
+ assert(glfwKeyCodeHeader != null),
+ assert(glfwNameMap != null) {
_nameToAndroidScanCodes = _readAndroidScanCodes(androidKeyboardLayout);
_nameToAndroidKeyCode = _readAndroidKeyCodes(androidKeyCodeHeader);
- final Map> dynamicNames = json.decode(androidNameMap).cast>();
- _nameToAndroidName = dynamicNames.map>((String key, List value) {
+ _nameToGlfwKeyCode = _readGlfwKeyCodes(glfwKeyCodeHeader);
+ // Cast Android dom map
+ final Map> dynamicAndroidNames = json.decode(androidNameMap).cast>();
+ _nameToAndroidName = dynamicAndroidNames.map>((String key, List value) {
+ return MapEntry>(key, value.cast());
+ });
+ // Cast GLFW dom map
+ final Map> dynamicGlfwNames = json.decode(glfwNameMap).cast>();
+ _nameToGlfwName = dynamicGlfwNames.map>((String key, List value) {
return MapEntry>(key, value.cast());
});
data = _readHidEntries(chromiumHidCodes);
@@ -51,6 +62,7 @@ class KeyData {
/// [KeyData.fromJson].
Map toJson() {
for (Key entry in data) {
+ // Android Key names
entry.androidKeyNames = _nameToAndroidName[entry.constantName]?.cast();
if (entry.androidKeyNames != null && entry.androidKeyNames.isNotEmpty) {
for (String androidKeyName in entry.androidKeyNames) {
@@ -64,6 +76,17 @@ class KeyData {
}
}
}
+
+ // GLFW key names
+ entry.glfwKeyNames = _nameToGlfwName[entry.constantName]?.cast();
+ if (entry.glfwKeyNames != null && entry.glfwKeyNames.isNotEmpty) {
+ for (String glfwKeyName in entry.glfwKeyNames) {
+ if (_nameToGlfwKeyCode[glfwKeyName] != null) {
+ entry.glfwKeyCodes ??= [];
+ entry.glfwKeyCodes.add(_nameToGlfwKeyCode[glfwKeyName]);
+ }
+ }
+ }
}
final Map outputMap = {};
@@ -83,6 +106,13 @@ class KeyData {
/// JSON.
Map> _nameToAndroidName;
+ /// The mapping from the Flutter name (e.g. "eject") to the GLFW name (e.g.
+ /// "GLFW_MEDIA_EJECT").
+ ///
+ /// Only populated if data is parsed from the source files, not if parsed from
+ /// JSON.
+ Map> _nameToGlfwName;
+
/// The mapping from the Android name (e.g. "MEDIA_EJECT") to the integer scan
/// code (physical location) of the key.
///
@@ -97,6 +127,13 @@ class KeyData {
/// JSON.
Map _nameToAndroidKeyCode;
+ /// The mapping from GLFW name (e.g. "GLFW_KEY_COMMA") to the integer key code
+ /// (logical meaning) of the key.
+ ///
+ /// Only populated if data is parsed from the source files, not if parsed from
+ /// JSON.
+ Map _nameToGlfwKeyCode;
+
/// Parses entries from Androids Generic.kl scan code data file.
///
/// Lines in this file look like this (without the ///):
@@ -147,6 +184,30 @@ class KeyData {
return result;
}
+ /// Parses entries from GLFW's keycodes.h key code data file.
+ ///
+ /// Lines in this file look like this (without the ///):
+ /// /** Space key. */
+ /// #define GLFW_KEY_SPACE 32,
+ Map _readGlfwKeyCodes(String headerFile) {
+ // Only get the KEY definitions, ignore the rest (mouse, joystick, etc).
+ final RegExp enumEntry = RegExp(r'''define GLFW_KEY_([A-Z0-9_]+)\s*([A-Z0-9_]+),?''');
+ final Map replaced = {};
+ headerFile.replaceAllMapped(enumEntry, (Match match) {
+ replaced[match.group(1)] = int.tryParse(match.group(2)) ?? match.group(2).replaceAll('GLFW_KEY_', '');
+ });
+ final Map result = {};
+ replaced.forEach((String key, dynamic value) {
+ // Some definition values point to other definitions (e.g #define GLFW_KEY_LAST GLFW_KEY_MENU).
+ if (value is String) {
+ result[key] = replaced[value];
+ } else {
+ result[key] = value;
+ }
+ });
+ return result;
+ }
+
/// Parses entries from Chromium's HID code mapping header file.
///
/// Lines in this file look like this (without the ///):
@@ -211,6 +272,8 @@ class Key {
this.androidKeyNames,
this.androidScanCodes,
this.androidKeyCodes,
+ this.glfwKeyNames,
+ this.glfwKeyCodes,
}) : assert(usbHidCode != null),
assert(chromiumName != null),
_constantName = enumName;
@@ -261,6 +324,15 @@ class Key {
/// code value.
List androidScanCodes;
+ /// The list of names that GFLW gives to this key (symbol names minus the
+ /// prefix).
+ List glfwKeyNames;
+
+ /// The list of GLFW key codes matching this key, created by looking up the
+ /// Linux name in the Chromium data, and substituting the GLFW key code
+ /// value.
+ List glfwKeyCodes;
+
/// Creates a JSON map from the key data.
Map toJson() {
return {
@@ -269,6 +341,7 @@ class Key {
'android': androidKeyNames,
'english': commentName,
'chromium': chromiumName,
+ 'glfw': glfwKeyNames,
},
'scanCodes': {
'android': androidScanCodes,
@@ -280,6 +353,7 @@ class Key {
},
'keyCodes': >{
'android': androidKeyCodes,
+ 'glfw': glfwKeyCodes,
},
};
}
@@ -337,8 +411,8 @@ class Key {
@override
String toString() {
return """'$constantName': (name: "$name", usbHidCode: ${toHex(usbHidCode)}, """
- '''linuxKeyCode: ${toHex(linuxScanCode)}, xKbKeyCode: ${toHex(xKbScanCode)}, '''
- '''windowsKeyCode: ${toHex(windowsScanCode)}, macOsKeyCode: ${toHex(macOsScanCode)}, '''
+ '''linuxScanCode: ${toHex(linuxScanCode)}, xKbScanCode: ${toHex(xKbScanCode)}, '''
+ '''windowsKeyCode: ${toHex(windowsScanCode)}, macOsScanCode: ${toHex(macOsScanCode)}, '''
'''chromiumSymbolName: $chromiumName''';
}
diff --git a/dev/tools/gen_keycodes/pubspec.yaml b/dev/tools/gen_keycodes/pubspec.yaml
index ea6a339165..ddb98fe1f4 100644
--- a/dev/tools/gen_keycodes/pubspec.yaml
+++ b/dev/tools/gen_keycodes/pubspec.yaml
@@ -11,7 +11,7 @@ dependencies:
path: 1.6.2
platform: 2.2.0
- async: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ async: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection: 1.14.11 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_parser: 3.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
@@ -21,4 +21,4 @@ dependencies:
term_glyph: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
typed_data: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
-# PUBSPEC CHECKSUM: b23e
+# PUBSPEC CHECKSUM: 0637
diff --git a/dev/tools/gen_date_localizations.dart b/dev/tools/localization/gen_date_localizations.dart
similarity index 85%
rename from dev/tools/gen_date_localizations.dart
rename to dev/tools/localization/gen_date_localizations.dart
index b60ffecda6..7681619a8f 100644
--- a/dev/tools/gen_date_localizations.dart
+++ b/dev/tools/localization/gen_date_localizations.dart
@@ -7,7 +7,7 @@
/// package.
///
/// The extracted data is written into:
-/// packages/flutter_localizations/lib/src/l10n/date_localizations.dart
+/// packages/flutter_localizations/lib/src/l10n/generated_date_localizations.dart
///
/// ## Usage
///
@@ -16,14 +16,14 @@
/// The following outputs the generated Dart code to the console as a dry run:
///
/// ```
-/// dart dev/tools/gen_date_localizations.dart
+/// dart dev/tools/localization/gen_date_localizations.dart
/// ```
///
/// If the data looks good, use the `--overwrite` option to overwrite the
/// lib/src/l10n/date_localizations.dart file:
///
/// ```
-/// dart dev/tools/gen_date_localizations.dart --overwrite
+/// dart dev/tools/localization/gen_date_localizations.dart --overwrite
/// ```
import 'dart:async';
@@ -68,7 +68,6 @@ Future main(List rawArgs) async {
final Map symbolFiles = _listIntlData(dateSymbolsDirectory);
final Directory datePatternsDirectory = Directory(path.join(pathToIntl, 'src', 'data', 'dates', 'patterns'));
final Map patternFiles = _listIntlData(datePatternsDirectory);
- final List materialLocales = _materialLocales().toList();
final StringBuffer buffer = StringBuffer();
buffer.writeln(
@@ -79,7 +78,7 @@ Future main(List rawArgs) async {
// This file has been automatically generated. Please do not edit it manually.
// To regenerate run (omit --overwrite to print to console instead of the file):
-// dart --enable-asserts dev/tools/gen_date_localizations.dart --overwrite
+// dart --enable-asserts dev/tools/localization/gen_date_localizations.dart --overwrite
'''
);
@@ -88,7 +87,7 @@ Future main(List rawArgs) async {
/// supported by flutter_localizations.''');
buffer.writeln('const Map dateSymbols = {');
symbolFiles.forEach((String locale, File data) {
- if (materialLocales.contains(locale))
+ if (_supportedLocales().contains(locale))
buffer.writeln(_jsonToMapEntry(locale, json.decode(data.readAsStringSync())));
});
buffer.writeln('};');
@@ -100,7 +99,7 @@ Future main(List rawArgs) async {
/// supported by flutter_localizations.''');
buffer.writeln('const Map> datePatterns = > {');
patternFiles.forEach((String locale, File data) {
- if (materialLocales.contains(locale)) {
+ if (_supportedLocales().contains(locale)) {
final Map patterns = json.decode(data.readAsStringSync());
buffer.writeln("'$locale': {");
patterns.forEach((String key, dynamic value) {
@@ -113,7 +112,7 @@ Future main(List rawArgs) async {
buffer.writeln('};');
if (writeToFile) {
- final File dateLocalizationsFile = File(path.join('packages', 'flutter_localizations', 'lib', 'src', 'l10n', 'date_localizations.dart'));
+ final File dateLocalizationsFile = File(path.join('packages', 'flutter_localizations', 'lib', 'src', 'l10n', 'generated_date_localizations.dart'));
dateLocalizationsFile.writeAsStringSync(buffer.toString());
Process.runSync(path.join('bin', 'cache', 'dart-sdk', 'bin', 'dartfmt'), [
'-w',
@@ -154,14 +153,16 @@ String _jsonToMap(dynamic json) {
throw 'Unsupported JSON type ${json.runtimeType} of value $json.';
}
-Iterable _materialLocales() sync* {
- final RegExp filenameRE = RegExp(r'material_(\w+)\.arb$');
- final Directory materialLocalizationsDirectory = Directory(path.join('packages', 'flutter_localizations', 'lib', 'src', 'l10n'));
- for (FileSystemEntity entity in materialLocalizationsDirectory.listSync()) {
+Set _supportedLocales() {
+ final Set supportedLocales = {};
+ final RegExp filenameRE = RegExp(r'(?:material|cupertino)_(\w+)\.arb$');
+ final Directory supportedLocalesDirectory = Directory(path.join('packages', 'flutter_localizations', 'lib', 'src', 'l10n'));
+ for (FileSystemEntity entity in supportedLocalesDirectory.listSync()) {
final String filePath = entity.path;
if (FileSystemEntity.isFileSync(filePath) && filenameRE.hasMatch(filePath))
- yield filenameRE.firstMatch(filePath)[1];
+ supportedLocales.add(filenameRE.firstMatch(filePath)[1]);
}
+ return supportedLocales;
}
Map _listIntlData(Directory directory) {
diff --git a/dev/tools/gen_localizations.dart b/dev/tools/localization/gen_localizations.dart
similarity index 63%
rename from dev/tools/gen_localizations.dart
rename to dev/tools/localization/gen_localizations.dart
index 8b3007b6bc..205b5f777b 100644
--- a/dev/tools/gen_localizations.dart
+++ b/dev/tools/localization/gen_localizations.dart
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// This program generates a getTranslation() function that looks up the
-// translations contained by the arb files. The returned value is an
+// This program generates a getMaterialTranslation() function that looks up the
+// translations provided by the arb files. The returned value is a generated
// instance of GlobalMaterialLocalizations that corresponds to a single
// locale.
//
@@ -28,96 +28,49 @@
// The following outputs the generated Dart code to the console as a dry run:
//
// ```
-// dart dev/tools/gen_localizations.dart
+// dart dev/tools/localization/gen_localizations.dart
// ```
//
// If the data looks good, use the `-w` or `--overwrite` option to overwrite the
-// packages/flutter_localizations/lib/src/l10n/localizations.dart file:
+// packages/flutter_localizations/lib/src/l10n/generated_material_localizations.dart file:
//
// ```
-// dart dev/tools/gen_localizations.dart --overwrite
+// dart dev/tools/localization/gen_localizations.dart --overwrite
// ```
import 'dart:async';
-import 'dart:convert';
import 'dart:io';
import 'package:path/path.dart' as path;
import 'package:meta/meta.dart';
+import 'gen_material_localizations.dart';
import 'localizations_utils.dart';
import 'localizations_validator.dart';
-const String outputHeader = '''
-// Copyright 2017 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// This file has been automatically generated. Please do not edit it manually.
-// To regenerate the file, use:
-// @(regenerate)
-
-import 'dart:collection';
-
-import 'package:flutter/foundation.dart';
-import 'package:flutter/material.dart';
-import 'package:intl/intl.dart' as intl;
-
-import '../material_localizations.dart';
-''';
-
-/// Maps locales to resource key/value pairs.
-final Map> localeToResources = >{};
-
-/// Maps locales to resource key/attributes pairs.
-///
-/// See also:
-final Map> localeToResourceAttributes = >{};
-
-/// Set that holds the locales that were assumed from the existing locales.
-///
-/// For example, when the data lacks data for zh_Hant, we will use the data of
-/// the first Hant Chinese locale as a default by repeating the data. If an
-/// explicit match is later found, we can reference this set to see if we should
-/// overwrite the existing assumed data.
-final Set assumedLocales = {};
-
-/// Return `s` as a Dart-parseable raw string in single or double quotes.
-///
-/// Double quotes are expanded:
-///
-/// ```
-/// foo => r'foo'
-/// foo "bar" => r'foo "bar"'
-/// foo 'bar' => r'foo ' "'" r'bar' "'"
-/// ```
-String generateString(String s) {
- if (!s.contains("'"))
- return "r'$s'";
-
- final StringBuffer output = StringBuffer();
- bool started = false; // Have we started writing a raw string.
- for (int i = 0; i < s.length; i++) {
- if (s[i] == "'") {
- if (started)
- output.write("'");
- output.write(' "\'" ');
- started = false;
- } else if (!started) {
- output.write("r'${s[i]}");
- started = true;
- } else {
- output.write(s[i]);
- }
- }
- if (started)
- output.write("'");
- return output.toString();
-}
-
/// This is the core of this script; it generates the code used for translations.
-String generateTranslationBundles() {
+String generateArbBasedLocalizationSubclasses({
+ @required Map> localeToResources,
+ @required Map> localeToResourceAttributes,
+ @required String generatedClassPrefix,
+ @required String baseClass,
+ @required HeaderGenerator generateHeader,
+ @required ConstructorGenerator generateConstructor,
+ @required String factoryDeclaration,
+ @required String factoryArguments,
+}) {
+ assert(localeToResources != null);
+ assert(localeToResourceAttributes != null);
+ assert(generatedClassPrefix.isNotEmpty);
+ assert(baseClass.isNotEmpty);
+ assert(generateHeader != null);
+ assert(generateConstructor != null);
+ assert(factoryDeclaration.isNotEmpty);
+ assert(factoryArguments.isNotEmpty);
+
final StringBuffer output = StringBuffer();
+ output.writeln(generateHeader('dart dev/tools/localization/gen_localizations.dart --overwrite'));
+
final StringBuffer supportedLocales = StringBuffer();
final Map> languageToLocales = >{};
@@ -140,17 +93,9 @@ String generateTranslationBundles() {
allResourceIdentifiers.addAll(localeToResources[locale].keys);
}
- output.writeln('''
-// The classes defined here encode all of the translations found in the
-// `flutter_localizations/lib/src/l10n/*.arb` files.
-//
-// These classes are constructed by the [getTranslation] method at the bottom of
-// this file, and used by the [_MaterialLocalizationsDelegate.load] method defined
-// in `flutter_localizations/lib/src/material_localizations.dart`.''');
-
// We generate one class per supported language (e.g.
- // `MaterialLocalizationEn`). These implement everything that is needed by
- // GlobalMaterialLocalizations.
+ // `MaterialLocalizationEn`). These implement everything that is needed by the
+ // superclass (e.g. GlobalMaterialLocalizations).
// We also generate one subclass for each locale with a script code (e.g.
// `MaterialLocalizationZhHant`). Their superclasses are the aforementioned
@@ -177,7 +122,9 @@ String generateTranslationBundles() {
final LocaleInfo canonicalLocale = LocaleInfo.fromString('en');
for (String languageName in languageCodes) {
final LocaleInfo languageLocale = LocaleInfo.fromString(languageName);
- writeClassHeader(output, languageLocale, 'GlobalMaterialLocalizations');
+ output.writeln(generateClassDeclaration(languageLocale, generatedClassPrefix, baseClass));
+ output.writeln(generateConstructor(languageLocale));
+
final Map languageResources = localeToResources[languageLocale];
for (String key in allKeys) {
final Map attributes = localeToResourceAttributes[canonicalLocale][key];
@@ -192,7 +139,12 @@ String generateTranslationBundles() {
// script default values before language default values.
for (String scriptCode in languageToScriptCodes[languageName]) {
final LocaleInfo scriptBaseLocale = LocaleInfo.fromString(languageName + '_' + scriptCode);
- writeClassHeader(output, scriptBaseLocale, 'MaterialLocalization${camelCase(languageLocale)}');
+ output.writeln(generateClassDeclaration(
+ scriptBaseLocale,
+ generatedClassPrefix,
+ '$generatedClassPrefix${camelCase(languageLocale)}',
+ ));
+ output.writeln(generateConstructor(scriptBaseLocale));
final Map scriptResources = localeToResources[scriptBaseLocale];
for (String key in scriptResources.keys) {
if (languageResources[key] == scriptResources[key])
@@ -211,7 +163,12 @@ String generateTranslationBundles() {
if (locale.scriptCode != scriptCode)
continue;
countryCodeCount += 1;
- writeClassHeader(output, locale, 'MaterialLocalization${camelCase(scriptBaseLocale)}');
+ output.writeln(generateClassDeclaration(
+ locale,
+ generatedClassPrefix,
+ '$generatedClassPrefix${camelCase(scriptBaseLocale)}',
+ ));
+ output.writeln(generateConstructor(locale));
final Map localeResources = localeToResources[locale];
for (String key in localeResources.keys) {
// When script fallback contains the key, we compare to it instead of language fallback.
@@ -232,7 +189,12 @@ String generateTranslationBundles() {
continue;
countryCodeCount += 1;
final Map localeResources = localeToResources[locale];
- writeClassHeader(output, locale, 'MaterialLocalization${camelCase(languageLocale)}');
+ output.writeln(generateClassDeclaration(
+ locale,
+ generatedClassPrefix,
+ '$generatedClassPrefix${camelCase(languageLocale)}',
+ ));
+ output.writeln(generateConstructor(locale));
for (String key in localeResources.keys) {
if (languageResources[key] == localeResources[key])
continue;
@@ -256,13 +218,13 @@ String generateTranslationBundles() {
}
}
- // Generate the getTranslation function. Given a Locale it returns the
- // corresponding const GlobalMaterialLocalizations.
+ // Generate the factory function. Given a Locale it returns the corresponding
+ // base class implementation.
output.writeln('''
/// The set of supported languages, as language code strings.
///
-/// The [GlobalMaterialLocalizations.delegate] can generate localizations for
+/// The [$baseClass.delegate] can generate localizations for
/// any [Locale] with a language code from this set, regardless of the region.
/// Some regions have specific support (e.g. `de` covers all forms of German,
/// but there is support for `de-CH` specifically to override some of the
@@ -270,15 +232,15 @@ String generateTranslationBundles() {
///
/// See also:
///
-/// * [getTranslation], whose documentation describes these values.
+/// * [getMaterialTranslation], whose documentation describes these values.
final Set kSupportedLanguages = HashSet.from(const [
-${languageCodes.map((String value) => " '$value', // ${describeLocale(value)}").toList().join('\n')}
+${languageCodes.map((String value) => " '$value', // ${describeLocale(value)}").join('\n')}
]);
-/// Creates a [GlobalMaterialLocalizations] instance for the given `locale`.
+/// Creates a [$baseClass] instance for the given `locale`.
///
-/// All of the function's arguments except `locale` will be passed to the [new
-/// GlobalMaterialLocalizations] constructor. (The `localeName` argument of that
+/// All of the function's arguments except `locale` will be passed to the [
+/// $baseClass] constructor. (The `localeName` argument of that
/// constructor is specified by the actual subclass constructor by this
/// function.)
///
@@ -288,24 +250,15 @@ ${languageCodes.map((String value) => " '$value', // ${describeLocale(v
$supportedLocales/// {@endtemplate}
///
/// Generally speaking, this method is only intended to be used by
-/// [GlobalMaterialLocalizations.delegate].
-GlobalMaterialLocalizations getTranslation(
- Locale locale,
- intl.DateFormat fullYearFormat,
- intl.DateFormat mediumDateFormat,
- intl.DateFormat longDateFormat,
- intl.DateFormat yearMonthFormat,
- intl.NumberFormat decimalFormat,
- intl.NumberFormat twoDigitZeroPaddedFormat,
-) {
+/// [$baseClass.delegate].
+$factoryDeclaration
switch (locale.languageCode) {''');
- const String arguments = 'fullYearFormat: fullYearFormat, mediumDateFormat: mediumDateFormat, longDateFormat: longDateFormat, yearMonthFormat: yearMonthFormat, decimalFormat: decimalFormat, twoDigitZeroPaddedFormat: twoDigitZeroPaddedFormat';
for (String language in languageToLocales.keys) {
// Only one instance of the language.
if (languageToLocales[language].length == 1) {
output.writeln('''
case '$language':
- return MaterialLocalization${camelCase(languageToLocales[language][0])}($arguments);''');
+ return $generatedClassPrefix${camelCase(languageToLocales[language][0])}($factoryArguments);''');
} else if (!languageToScriptCodes.containsKey(language)) { // Does not distinguish between scripts. Switch on countryCode directly.
output.writeln('''
case '$language': {
@@ -317,11 +270,11 @@ GlobalMaterialLocalizations getTranslation(
final String countryCode = locale.countryCode;
output.writeln('''
case '$countryCode':
- return MaterialLocalization${camelCase(locale)}($arguments);''');
+ return $generatedClassPrefix${camelCase(locale)}($factoryArguments);''');
}
output.writeln('''
}
- return MaterialLocalization${camelCase(LocaleInfo.fromString(language))}($arguments);
+ return $generatedClassPrefix${camelCase(LocaleInfo.fromString(language))}($factoryArguments);
}''');
} else { // Language has scriptCode, add additional switch logic.
bool hasCountryCode = false;
@@ -347,7 +300,7 @@ GlobalMaterialLocalizations getTranslation(
final String countryCode = locale.countryCode;
output.writeln('''
case '$countryCode':
- return MaterialLocalization${camelCase(locale)}($arguments);''');
+ return $generatedClassPrefix${camelCase(locale)}($factoryArguments);''');
}
}
// Return a fallback locale that matches scriptCode, but not countryCode.
@@ -359,7 +312,7 @@ GlobalMaterialLocalizations getTranslation(
}''');
}
output.writeln('''
- return MaterialLocalization${camelCase(scriptLocale)}($arguments);
+ return $generatedClassPrefix${camelCase(scriptLocale)}($factoryArguments);
}''');
} else {
// Not Explicitly defined, fallback to first locale with the same language and
@@ -372,7 +325,7 @@ GlobalMaterialLocalizations getTranslation(
}''');
}
output.writeln('''
- return MaterialLocalization${camelCase(scriptLocale)}($arguments);
+ return $generatedClassPrefix${camelCase(scriptLocale)}($factoryArguments);
}''');
break;
}
@@ -392,36 +345,25 @@ GlobalMaterialLocalizations getTranslation(
final String countryCode = locale.countryCode;
output.writeln('''
case '$countryCode':
- return MaterialLocalization${camelCase(locale)}($arguments);''');
+ return $generatedClassPrefix${camelCase(locale)}($factoryArguments);''');
}
output.writeln('''
}''');
}
output.writeln('''
- return MaterialLocalization${camelCase(LocaleInfo.fromString(language))}($arguments);
+ return $generatedClassPrefix${camelCase(LocaleInfo.fromString(language))}($factoryArguments);
}''');
}
}
output.writeln('''
}
- assert(false, 'getTranslation() called for unsupported locale "\$locale"');
+ assert(false, 'getMaterialTranslation() called for unsupported locale "\$locale"');
return null;
}''');
return output.toString();
}
-/// Writes the header of each class which corresponds to a locale.
-void writeClassHeader(StringBuffer output, LocaleInfo locale, String superClass) {
- final String camelCaseName = camelCase(locale);
- final String className = 'MaterialLocalization$camelCaseName';
- final String constructor = generateConstructor(className, locale);
- output.writeln('');
- output.writeln('/// The translations for ${describeLocale(locale.originalString)} (`${locale.originalString}`).');
- output.writeln('class $className extends $superClass {');
- output.writeln(constructor);
-}
-
/// Returns the appropriate type for getters with the given attributes.
///
/// Typically "String", but some (e.g. "timeOfDayFormat") return enums.
@@ -486,6 +428,7 @@ const Map _scriptCategoryToEnum = {
String generateValue(String value, Map attributes) {
if (value == null)
return null;
+ // cupertino_en.arb doesn't use x-flutter-type.
if (attributes != null) {
switch (attributes['x-flutter-type']) {
case 'icuShortTimePattern':
@@ -523,77 +466,6 @@ String generateGetter(String key, String value, Map attributes)
$type get $key => $value;''';
}
-/// Returns the source of the constructor for a GlobalMaterialLocalizations
-/// subclass.
-String generateConstructor(String className, LocaleInfo locale) {
- final String localeName = locale.originalString;
- return '''
- /// Create an instance of the translation bundle for ${describeLocale(localeName)}.
- ///
- /// For details on the meaning of the arguments, see [GlobalMaterialLocalizations].
- const $className({
- String localeName = '$localeName',
- @required intl.DateFormat fullYearFormat,
- @required intl.DateFormat mediumDateFormat,
- @required intl.DateFormat longDateFormat,
- @required intl.DateFormat yearMonthFormat,
- @required intl.NumberFormat decimalFormat,
- @required intl.NumberFormat twoDigitZeroPaddedFormat,
- }) : super(
- localeName: localeName,
- fullYearFormat: fullYearFormat,
- mediumDateFormat: mediumDateFormat,
- longDateFormat: longDateFormat,
- yearMonthFormat: yearMonthFormat,
- decimalFormat: decimalFormat,
- twoDigitZeroPaddedFormat: twoDigitZeroPaddedFormat,
- );''';
-}
-
-/// Parse the data for a locale from a file, and store it in the [attributes]
-/// and [resources] keys.
-void processBundle(File file, { @required String localeString }) {
- assert(localeString != null);
- // Helper method to fill the maps with the correct data from file.
- void populateResources(LocaleInfo locale) {
- final Map resources = localeToResources[locale];
- final Map attributes = localeToResourceAttributes[locale];
- final Map bundle = json.decode(file.readAsStringSync());
- for (String key in bundle.keys) {
- // The ARB file resource "attributes" for foo are called @foo.
- if (key.startsWith('@'))
- attributes[key.substring(1)] = bundle[key];
- else
- resources[key] = bundle[key];
- }
- }
- // Only pre-assume scriptCode if there is a country or script code to assume off of.
- // When we assume scriptCode based on languageCode-only, we want this initial pass
- // to use the un-assumed version as a base class.
- LocaleInfo locale = LocaleInfo.fromString(localeString, deriveScriptCode: localeString.split('_').length > 1);
- // Allow overwrite if the existing data is assumed.
- if (assumedLocales.contains(locale)) {
- localeToResources[locale] = {};
- localeToResourceAttributes[locale] = {};
- assumedLocales.remove(locale);
- } else {
- localeToResources[locale] ??= {};
- localeToResourceAttributes[locale] ??= {};
- }
- populateResources(locale);
- // Add an assumed locale to default to when there is no info on scriptOnly locales.
- locale = LocaleInfo.fromString(localeString, deriveScriptCode: true);
- if (locale.scriptCode != null) {
- final LocaleInfo scriptLocale = LocaleInfo.fromString(locale.languageCode + '_' + locale.scriptCode);
- if (!localeToResources.containsKey(scriptLocale)) {
- assumedLocales.add(scriptLocale);
- localeToResources[scriptLocale] ??= {};
- localeToResourceAttributes[scriptLocale] ??= {};
- populateResources(scriptLocale);
- }
- }
-}
-
Future main(List rawArgs) async {
checkCwdIsRepoRoot('gen_localizations');
final GeneratorOptions options = parseArgs(rawArgs);
@@ -603,37 +475,64 @@ Future main(List rawArgs) async {
// code. In most cases both codes are just two characters.
final Directory directory = Directory(path.join('packages', 'flutter_localizations', 'lib', 'src', 'l10n'));
- final RegExp filenameRE = RegExp(r'material_(\w+)\.arb$');
+ final RegExp materialFilenameRE = RegExp(r'material_(\w+)\.arb$');
+ final RegExp cupertinoFilenameRE = RegExp(r'cupertino_(\w+)\.arb$');
try {
validateEnglishLocalizations(File(path.join(directory.path, 'material_en.arb')));
+ validateEnglishLocalizations(File(path.join(directory.path, 'cupertino_en.arb')));
} on ValidationError catch (exception) {
exitWithError('$exception');
}
await precacheLanguageAndRegionTags();
- for (FileSystemEntity entity in directory.listSync()) {
- final String entityPath = entity.path;
- if (FileSystemEntity.isFileSync(entityPath) && filenameRE.hasMatch(entityPath)) {
- processBundle(File(entityPath), localeString: filenameRE.firstMatch(entityPath)[1]);
- }
- }
+ // Maps of locales to resource key/value pairs for Material ARBs.
+ final Map> materialLocaleToResources = >{};
+ // Maps of locales to resource key/attributes pairs for Material ARBs..
+ // https://github.com/googlei18n/app-resource-bundle/wiki/ApplicationResourceBundleSpecification#resource-attributes
+ final Map> materialLocaleToResourceAttributes = >{};
+ // Maps of locales to resource key/value pairs for Cupertino ARBs.
+ final Map> cupertinoLocaleToResources = >{};
+ // Maps of locales to resource key/attributes pairs for Cupertino ARBs..
+ // https://github.com/googlei18n/app-resource-bundle/wiki/ApplicationResourceBundleSpecification#resource-attributes
+ final Map> cupertinoLocaleToResourceAttributes = >{};
+
+ loadMatchingArbsIntoBundleMaps(
+ directory: directory,
+ filenamePattern: materialFilenameRE,
+ localeToResources: materialLocaleToResources,
+ localeToResourceAttributes: materialLocaleToResourceAttributes,
+ );
+ loadMatchingArbsIntoBundleMaps(
+ directory: directory,
+ filenamePattern: cupertinoFilenameRE,
+ localeToResources: cupertinoLocaleToResources,
+ localeToResourceAttributes: cupertinoLocaleToResourceAttributes,
+ );
try {
- validateLocalizations(localeToResources, localeToResourceAttributes);
+ validateLocalizations(materialLocaleToResources, materialLocaleToResourceAttributes);
+ validateLocalizations(cupertinoLocaleToResources, cupertinoLocaleToResourceAttributes);
} on ValidationError catch (exception) {
exitWithError('$exception');
}
- final StringBuffer buffer = StringBuffer();
- buffer.writeln(outputHeader.replaceFirst('@(regenerate)', 'dart dev/tools/gen_localizations.dart --overwrite'));
- buffer.write(generateTranslationBundles());
+ final String materialLocalizations = generateArbBasedLocalizationSubclasses(
+ localeToResources: materialLocaleToResources,
+ localeToResourceAttributes: materialLocaleToResourceAttributes,
+ generatedClassPrefix: 'MaterialLocalization',
+ baseClass: 'GlobalMaterialLocalizations',
+ generateHeader: generateMaterialHeader,
+ generateConstructor: generateMaterialConstructor,
+ factoryDeclaration: materialFactoryDeclaration,
+ factoryArguments: materialFactoryArguments,
+ );
if (options.writeToFile) {
- final File localizationsFile = File(path.join(directory.path, 'localizations.dart'));
- localizationsFile.writeAsStringSync(buffer.toString());
+ final File localizationsFile = File(path.join(directory.path, 'generated_material_localizations.dart'));
+ localizationsFile.writeAsStringSync(materialLocalizations, flush: true);
} else {
- stdout.write(buffer.toString());
+ stdout.write(materialLocalizations);
}
}
diff --git a/dev/tools/localization/gen_material_localizations.dart b/dev/tools/localization/gen_material_localizations.dart
new file mode 100644
index 0000000000..54a79f2b15
--- /dev/null
+++ b/dev/tools/localization/gen_material_localizations.dart
@@ -0,0 +1,68 @@
+import 'localizations_utils.dart';
+
+HeaderGenerator generateMaterialHeader = (String regenerateInstructions) {
+ return '''
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This file has been automatically generated. Please do not edit it manually.
+// To regenerate the file, use:
+// $regenerateInstructions
+
+import 'dart:collection';
+
+import 'package:flutter/foundation.dart';
+import 'package:flutter/material.dart';
+import 'package:intl/intl.dart' as intl;
+
+import '../material_localizations.dart';
+
+// The classes defined here encode all of the translations found in the
+// `flutter_localizations/lib/src/l10n/*.arb` files.
+//
+// These classes are constructed by the [getMaterialTranslation] method at the
+// bottom of this file, and used by the [_MaterialLocalizationsDelegate.load]
+// method defined in `flutter_localizations/lib/src/material_localizations.dart`.''';
+};
+
+/// Returns the source of the constructor for a GlobalMaterialLocalizations
+/// subclass.
+ConstructorGenerator generateMaterialConstructor = (LocaleInfo locale) {
+ final String localeName = locale.originalString;
+ return '''
+ /// Create an instance of the translation bundle for ${describeLocale(localeName)}.
+ ///
+ /// For details on the meaning of the arguments, see [GlobalMaterialLocalizations].
+ const MaterialLocalization${camelCase(locale)}({
+ String localeName = '$localeName',
+ @required intl.DateFormat fullYearFormat,
+ @required intl.DateFormat mediumDateFormat,
+ @required intl.DateFormat longDateFormat,
+ @required intl.DateFormat yearMonthFormat,
+ @required intl.NumberFormat decimalFormat,
+ @required intl.NumberFormat twoDigitZeroPaddedFormat,
+ }) : super(
+ localeName: localeName,
+ fullYearFormat: fullYearFormat,
+ mediumDateFormat: mediumDateFormat,
+ longDateFormat: longDateFormat,
+ yearMonthFormat: yearMonthFormat,
+ decimalFormat: decimalFormat,
+ twoDigitZeroPaddedFormat: twoDigitZeroPaddedFormat,
+ );''';
+};
+
+const String materialFactoryDeclaration = '''
+GlobalMaterialLocalizations getMaterialTranslation(
+ Locale locale,
+ intl.DateFormat fullYearFormat,
+ intl.DateFormat mediumDateFormat,
+ intl.DateFormat longDateFormat,
+ intl.DateFormat yearMonthFormat,
+ intl.NumberFormat decimalFormat,
+ intl.NumberFormat twoDigitZeroPaddedFormat,
+) {''';
+
+const String materialFactoryArguments =
+ 'fullYearFormat: fullYearFormat, mediumDateFormat: mediumDateFormat, longDateFormat: longDateFormat, yearMonthFormat: yearMonthFormat, decimalFormat: decimalFormat, twoDigitZeroPaddedFormat: twoDigitZeroPaddedFormat';
diff --git a/dev/tools/localizations_utils.dart b/dev/tools/localization/localizations_utils.dart
similarity index 65%
rename from dev/tools/localizations_utils.dart
rename to dev/tools/localization/localizations_utils.dart
index d92fad906a..4d85bd57b0 100644
--- a/dev/tools/localizations_utils.dart
+++ b/dev/tools/localization/localizations_utils.dart
@@ -9,6 +9,9 @@ import 'dart:io';
import 'package:args/args.dart' as argslib;
import 'package:meta/meta.dart';
+typedef HeaderGenerator = String Function(String regenerateInstructions);
+typedef ConstructorGenerator = String Function(LocaleInfo locale);
+
/// Simple data class to hold parsed locale. Does not promise validity of any data.
class LocaleInfo implements Comparable {
LocaleInfo({
@@ -129,6 +132,75 @@ class LocaleInfo implements Comparable {
}
}
+/// Parse the data for a locale from a file, and store it in the [attributes]
+/// and [resources] keys.
+void loadMatchingArbsIntoBundleMaps({
+ @required Directory directory,
+ @required RegExp filenamePattern,
+ @required Map> localeToResources,
+ @required Map> localeToResourceAttributes,
+}) {
+ assert(directory != null);
+ assert(filenamePattern != null);
+ assert(localeToResources != null);
+ assert(localeToResourceAttributes != null);
+
+ /// Set that holds the locales that were assumed from the existing locales.
+ ///
+ /// For example, when the data lacks data for zh_Hant, we will use the data of
+ /// the first Hant Chinese locale as a default by repeating the data. If an
+ /// explicit match is later found, we can reference this set to see if we should
+ /// overwrite the existing assumed data.
+ final Set assumedLocales = {};
+
+ for (FileSystemEntity entity in directory.listSync()) {
+ final String entityPath = entity.path;
+ if (FileSystemEntity.isFileSync(entityPath) && filenamePattern.hasMatch(entityPath)) {
+ final String localeString = filenamePattern.firstMatch(entityPath)[1];
+ final File arbFile = File(entityPath);
+
+ // Helper method to fill the maps with the correct data from file.
+ void populateResources(LocaleInfo locale, File file) {
+ final Map resources = localeToResources[locale];
+ final Map attributes = localeToResourceAttributes[locale];
+ final Map bundle = json.decode(file.readAsStringSync());
+ for (String key in bundle.keys) {
+ // The ARB file resource "attributes" for foo are called @foo.
+ if (key.startsWith('@'))
+ attributes[key.substring(1)] = bundle[key];
+ else
+ resources[key] = bundle[key];
+ }
+ }
+ // Only pre-assume scriptCode if there is a country or script code to assume off of.
+ // When we assume scriptCode based on languageCode-only, we want this initial pass
+ // to use the un-assumed version as a base class.
+ LocaleInfo locale = LocaleInfo.fromString(localeString, deriveScriptCode: localeString.split('_').length > 1);
+ // Allow overwrite if the existing data is assumed.
+ if (assumedLocales.contains(locale)) {
+ localeToResources[locale] = {};
+ localeToResourceAttributes[locale] = {};
+ assumedLocales.remove(locale);
+ } else {
+ localeToResources[locale] ??= {};
+ localeToResourceAttributes[locale] ??= {};
+ }
+ populateResources(locale, arbFile);
+ // Add an assumed locale to default to when there is no info on scriptOnly locales.
+ locale = LocaleInfo.fromString(localeString, deriveScriptCode: true);
+ if (locale.scriptCode != null) {
+ final LocaleInfo scriptLocale = LocaleInfo.fromString(locale.languageCode + '_' + locale.scriptCode);
+ if (!localeToResources.containsKey(scriptLocale)) {
+ assumedLocales.add(scriptLocale);
+ localeToResources[scriptLocale] ??= {};
+ localeToResourceAttributes[scriptLocale] ??= {};
+ populateResources(scriptLocale, arbFile);
+ }
+ }
+ }
+ }
+}
+
void exitWithError(String errorMessage) {
assert(errorMessage != null);
stderr.writeln('fatal: $errorMessage');
@@ -266,4 +338,50 @@ String describeLocale(String tag) {
if (script != null)
output += ', using the $script script';
return output;
-}
\ No newline at end of file
+}
+
+/// Writes the header of each class which corresponds to a locale.
+String generateClassDeclaration(
+ LocaleInfo locale,
+ String classNamePrefix,
+ String superClass,
+) {
+ final String camelCaseName = camelCase(locale);
+ return '''
+
+/// The translations for ${describeLocale(locale.originalString)} (`${locale.originalString}`).
+class $classNamePrefix$camelCaseName extends $superClass {''';
+}
+
+/// Return `s` as a Dart-parseable raw string in single or double quotes.
+///
+/// Double quotes are expanded:
+///
+/// ```
+/// foo => r'foo'
+/// foo "bar" => r'foo "bar"'
+/// foo 'bar' => r'foo ' "'" r'bar' "'"
+/// ```
+String generateString(String s) {
+ if (!s.contains("'"))
+ return "r'$s'";
+
+ final StringBuffer output = StringBuffer();
+ bool started = false; // Have we started writing a raw string.
+ for (int i = 0; i < s.length; i++) {
+ if (s[i] == "'") {
+ if (started)
+ output.write("'");
+ output.write(' "\'" ');
+ started = false;
+ } else if (!started) {
+ output.write("r'${s[i]}");
+ started = true;
+ } else {
+ output.write(s[i]);
+ }
+ }
+ if (started)
+ output.write("'");
+ return output.toString();
+}
diff --git a/dev/tools/localizations_validator.dart b/dev/tools/localization/localizations_validator.dart
similarity index 99%
rename from dev/tools/localizations_validator.dart
rename to dev/tools/localization/localizations_validator.dart
index bbbb1dee43..9ab33d2052 100644
--- a/dev/tools/localizations_validator.dart
+++ b/dev/tools/localization/localizations_validator.dart
@@ -19,8 +19,7 @@ class ValidationError implements Exception {
String toString() => message;
}
-/// Sanity checking of the @foo metadata in the English translations,
-/// material_en.arb.
+/// Sanity checking of the @foo metadata in the English translations, *_en.arb.
///
/// - For each foo, resource, there must be a corresponding @foo.
/// - For each @foo resource, there must be a corresponding foo, except
diff --git a/dev/tools/pubspec.yaml b/dev/tools/pubspec.yaml
index 2c9ad1221e..5881312c9e 100644
--- a/dev/tools/pubspec.yaml
+++ b/dev/tools/pubspec.yaml
@@ -9,12 +9,12 @@ dependencies:
archive: 2.0.8
args: 1.5.1
http: 0.12.0+1
- intl: 0.15.7
+ intl: 0.15.8
meta: 1.1.6
path: 1.6.2
process: 3.0.9
- async: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ async: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection: 1.14.11 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
@@ -28,13 +28,13 @@ dependencies:
typed_data: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
dev_dependencies:
- test_api: 0.2.2
+ test_api: 0.2.4
mockito: 4.0.0
boolean_selector: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- matcher: 0.12.3+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ matcher: 0.12.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pedantic: 1.5.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stack_trace: 1.9.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- stream_channel: 1.6.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stream_channel: 2.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
-# PUBSPEC CHECKSUM: 5473
+# PUBSPEC CHECKSUM: b708
diff --git a/dev/tools/vitool/pubspec.yaml b/dev/tools/vitool/pubspec.yaml
index 2468911c63..6c6618fd13 100644
--- a/dev/tools/vitool/pubspec.yaml
+++ b/dev/tools/vitool/pubspec.yaml
@@ -1,7 +1,7 @@
name: vitool
description: A tool for generating Dart vector animation code from SVG sequences.
version: 0.0.1
-homepage: https://flutter.io
+homepage: https://flutter.dev
author: Flutter Authors
environment:
@@ -23,18 +23,18 @@ dev_dependencies:
flutter_test:
sdk: flutter
- async: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ async: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
boolean_selector: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- matcher: 0.12.3+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ matcher: 0.12.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path: 1.6.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pedantic: 1.5.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- quiver: 2.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ quiver: 2.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span: 1.5.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stack_trace: 1.9.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- stream_channel: 1.6.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stream_channel: 2.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_api: 0.2.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_api: 0.2.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
-# PUBSPEC CHECKSUM: e7b3
+# PUBSPEC CHECKSUM: b548
diff --git a/examples/README.md b/examples/README.md
index 3fa7a31b90..361f2c4314 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -3,7 +3,7 @@ Flutter Examples
This directory contains several examples of using Flutter. To run an example,
use `flutter run` inside that example's directory. See the [getting started
-guide](https://flutter.io/getting-started/) to install the `flutter` tool.
+guide](https://flutter.dev/getting-started/) to install the `flutter` tool.
For additional samples, see the
[`flutter/samples`](https://github.com/flutter/samples) repo.
@@ -23,7 +23,7 @@ Available examples include:
- **Platform Channel** The [platform channel app](platform_channel) demonstrates
how to connect a Flutter app to platform-specific APIs. For documentation, see
- .
+ .
- **Platform Channel Swift** The [platform channel swift
app](platform_channel_swift) is the same as [platform
diff --git a/examples/catalog/bin/sample_page.dart b/examples/catalog/bin/sample_page.dart
index d2780412f7..9ee4b8a4e3 100644
--- a/examples/catalog/bin/sample_page.dart
+++ b/examples/catalog/bin/sample_page.dart
@@ -217,10 +217,10 @@ void generate(String commit) {
{
'imports': samples.map((SampleInfo page) {
return "import '${page.importPath}' show ${page.sampleClass};\n";
- }).toList().join(),
+ }).join(),
'widgets': samples.map((SampleInfo sample) {
return 'new ${sample.sampleClass}(),\n';
- }).toList().join(),
+ }).join(),
},
);
@@ -232,7 +232,7 @@ void generate(String commit) {
{
'paths': samples.map((SampleInfo sample) {
return "'${outputFile(sample.sourceName + '.png').path}'";
- }).toList().join(',\n'),
+ }).join(',\n'),
},
);
diff --git a/examples/catalog/lib/animated_list.dart b/examples/catalog/lib/animated_list.dart
index e9c3084b67..11cbfdeb1a 100644
--- a/examples/catalog/lib/animated_list.dart
+++ b/examples/catalog/lib/animated_list.dart
@@ -119,7 +119,7 @@ class ListModel {
Iterable initialItems,
}) : assert(listKey != null),
assert(removedItemBuilder != null),
- _items = List.from(initialItems ?? []);
+ _items = initialItems?.toList() ?? [];
final GlobalKey listKey;
final dynamic removedItemBuilder;
diff --git a/examples/catalog/pubspec.yaml b/examples/catalog/pubspec.yaml
index 3f90fcdad7..1d896feedc 100644
--- a/examples/catalog/pubspec.yaml
+++ b/examples/catalog/pubspec.yaml
@@ -20,60 +20,55 @@ dev_dependencies:
sdk: flutter
flutter_driver:
sdk: flutter
- test: 1.5.3
+ test: 1.6.1
- analyzer: 0.35.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ analyzer: 0.35.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
args: 1.5.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- async: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ async: 2.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
boolean_selector: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert: 2.1.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto: 2.0.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- csslib: 0.14.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
file: 5.0.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- front_end: 0.1.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ front_end: 0.1.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob: 1.1.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- html: 0.13.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http: 0.12.0+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_multi_server: 2.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_parser: 3.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- intl: 0.15.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ intl: 0.15.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
io: 0.3.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
js: 0.6.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- json_rpc_2: 2.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- kernel: 0.3.13 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- logging: 0.11.3+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- matcher: 0.12.3+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ json_rpc_2: 2.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ kernel: 0.3.14 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ matcher: 0.12.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime: 0.9.6+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket: 1.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble: 1.4.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_config: 1.0.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_resolver: 1.0.10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pedantic: 1.5.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- plugin: 0.2.0+3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool: 1.4.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver: 1.4.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- quiver: 2.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf: 0.7.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ quiver: 2.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf: 0.7.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_packages_handler: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
shelf_static: 0.2.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- shelf_web_socket: 0.2.2+4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ shelf_web_socket: 0.2.2+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_map_stack_trace: 1.1.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_maps: 0.10.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span: 1.5.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stack_trace: 1.9.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- stream_channel: 1.6.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ stream_channel: 2.0.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner: 1.0.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_api: 0.2.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- test_core: 0.2.1+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- utf: 0.9.0+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- vm_service_client: 0.2.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_api: 0.2.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ test_core: 0.2.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ vm_service_client: 0.2.6+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher: 0.9.7+10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
- web_socket_channel: 1.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+ web_socket_channel: 1.0.12 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
yaml: 2.1.15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
flutter:
uses-material-design: true
-# PUBSPEC CHECKSUM: 6687
+# PUBSPEC CHECKSUM: ca3b
diff --git a/examples/flutter_gallery/README.md b/examples/flutter_gallery/README.md
index 13b13a2599..627ba6398e 100644
--- a/examples/flutter_gallery/README.md
+++ b/examples/flutter_gallery/README.md
@@ -11,7 +11,7 @@ and install it onto your device.
### Prerequisites
If you are new to Flutter, please first follow
-the [Flutter Setup](https://flutter.io/setup/) guide.
+the [Flutter Setup](https://flutter.dev/setup/) guide.
### Building and installing the Flutter app
diff --git a/examples/flutter_gallery/android/fastlane/metadata/android/en-US/full_description.txt b/examples/flutter_gallery/android/fastlane/metadata/android/en-US/full_description.txt
index 7cbeb3c3b3..6f9203076a 100644
--- a/examples/flutter_gallery/android/fastlane/metadata/android/en-US/full_description.txt
+++ b/examples/flutter_gallery/android/fastlane/metadata/android/en-US/full_description.txt
@@ -6,4 +6,4 @@ Flutter is Google’s multi-platform mobile app SDK for crafting beautiful nativ
This app is open source. Check out the code to see how this app is built: https://github.com/flutter/flutter/tree/master/examples/flutter_gallery
-Visit https://flutter.io to learn more.
\ No newline at end of file
+Visit https://flutter.dev to learn more.
\ No newline at end of file
diff --git a/examples/flutter_gallery/ios/fastlane/Appfile b/examples/flutter_gallery/ios/fastlane/Appfile
index 849b7e1e77..a013fdd5b3 100644
--- a/examples/flutter_gallery/ios/fastlane/Appfile
+++ b/examples/flutter_gallery/ios/fastlane/Appfile
@@ -1,5 +1,5 @@
app_identifier "io.flutter.demo.gallery" # The bundle identifier of your app
-apple_id "stores@flutter.io" # Your Apple email address
+apple_id "deploybot@flutter.io" # Your Apple email address
itc_team_id "118089806" # iTunes Connect Team ID
team_id "S8QB4VV633" # Developer Portal Team ID
diff --git a/examples/flutter_gallery/ios/fastlane/Fastfile b/examples/flutter_gallery/ios/fastlane/Fastfile
index 5ab932fd95..455e42bf02 100644
--- a/examples/flutter_gallery/ios/fastlane/Fastfile
+++ b/examples/flutter_gallery/ios/fastlane/Fastfile
@@ -44,14 +44,15 @@ platform :ios do
version_number: /\d+\.\d+\.\d+/.match(raw_version)[0]
)
- puts 'Retrieving signing certificates and profiles...'
# Stop fastlane from echoing back PUBLISHING_MATCH_CERTIFICATE_REPO var.
+ # Doesn't matter too much since Cirrus doesn't echo back encrypted variables
+ # anyway.
suppress_output {
# Retrieves all the necessary certs and provisioning profiles.
sync_code_signing(
- git_url: ENV['PUBLISHING_MATCH_CERTIFICATE_REPO'],
+ git_url: "https://x-access-token:#{ENV['PUBLISHING_MATCH_REPO_TOKEN']}@#{ENV['PUBLISHING_MATCH_CERTIFICATE_REPO']}" ,
type: 'appstore',
- readonly: true
+ readonly: true,
)
}
puts 'Certificates and profiles installed'
@@ -73,7 +74,7 @@ platform :ios do
scheme: 'Runner',
export_method: 'app-store',
# Verify that the right signing identity is used for publishing.
- codesigning_identity: 'iPhone Distribution: Store Ladd (S8QB4VV633)',
+ codesigning_identity: 'iPhone Distribution: FLUTTER.IO LLC (S8QB4VV633)',
)
if options[:upload]
diff --git a/examples/flutter_gallery/lib/demo/all.dart b/examples/flutter_gallery/lib/demo/all.dart
index e2a6d05632..0dfe26be87 100644
--- a/examples/flutter_gallery/lib/demo/all.dart
+++ b/examples/flutter_gallery/lib/demo/all.dart
@@ -12,5 +12,6 @@ export 'images_demo.dart';
export 'material/material.dart';
export 'pesto_demo.dart';
export 'shrine_demo.dart';
+export 'transformations/transformations_demo.dart';
export 'typography_demo.dart';
export 'video_demo.dart';
diff --git a/examples/flutter_gallery/lib/demo/material/leave_behind_demo.dart b/examples/flutter_gallery/lib/demo/material/leave_behind_demo.dart
index cb0dff826e..44f4680772 100644
--- a/examples/flutter_gallery/lib/demo/material/leave_behind_demo.dart
+++ b/examples/flutter_gallery/lib/demo/material/leave_behind_demo.dart
@@ -13,7 +13,8 @@ enum LeaveBehindDemoAction {
reset,
horizontalSwipe,
leftSwipe,
- rightSwipe
+ rightSwipe,
+ confirmDismiss,
}
class LeaveBehindItem implements Comparable {
@@ -43,6 +44,7 @@ class LeaveBehindDemo extends StatefulWidget {
class LeaveBehindDemoState extends State {
static final GlobalKey _scaffoldKey = GlobalKey();
DismissDirection _dismissDirection = DismissDirection.horizontal;
+ bool _confirmDismiss = true;
List leaveBehindItems;
void initListItems() {
@@ -77,6 +79,9 @@ class LeaveBehindDemoState extends State {
case LeaveBehindDemoAction.rightSwipe:
_dismissDirection = DismissDirection.startToEnd;
break;
+ case LeaveBehindDemoAction.confirmDismiss:
+ _confirmDismiss = !_confirmDismiss;
+ break;
}
});
}
@@ -128,6 +133,7 @@ class LeaveBehindDemoState extends State {
body = ListView(
children: leaveBehindItems.map((LeaveBehindItem item) {
return _LeaveBehindListItem(
+ confirmDismiss: _confirmDismiss,
item: item,
onArchive: _handleArchive,
onDelete: _handleDelete,
@@ -166,6 +172,11 @@ class LeaveBehindDemoState extends State {
checked: _dismissDirection == DismissDirection.startToEnd,
child: const Text('Only swipe right'),
),
+ CheckedPopupMenuItem(
+ value: LeaveBehindDemoAction.confirmDismiss,
+ checked: _confirmDismiss,
+ child: const Text('Confirm dismiss'),
+ ),
],
),
],
@@ -182,12 +193,14 @@ class _LeaveBehindListItem extends StatelessWidget {
@required this.onArchive,
@required this.onDelete,
@required this.dismissDirection,
+ @required this.confirmDismiss,
}) : super(key: key);
final LeaveBehindItem item;
final DismissDirection dismissDirection;
final void Function(LeaveBehindItem) onArchive;
final void Function(LeaveBehindItem) onDelete;
+ final bool confirmDismiss;
void _handleArchive() {
onArchive(item);
@@ -214,6 +227,23 @@ class _LeaveBehindListItem extends StatelessWidget {
else
_handleDelete();
},
+ confirmDismiss: !confirmDismiss ? null : (DismissDirection dismissDirection) async {
+ switch(dismissDirection) {
+ case DismissDirection.endToStart:
+ if (await _showConfirmationDialog(context, 'archive'))
+ _handleArchive();
+ break;
+ case DismissDirection.startToEnd:
+ if (await _showConfirmationDialog(context, 'delete'))
+ _handleDelete();
+ break;
+ case DismissDirection.horizontal:
+ case DismissDirection.vertical:
+ case DismissDirection.up:
+ case DismissDirection.down:
+ assert(false);
+ }
+ },
background: Container(
color: theme.primaryColor,
child: const ListTile(
@@ -240,4 +270,30 @@ class _LeaveBehindListItem extends StatelessWidget {
),
);
}
+
+ Future _showConfirmationDialog(BuildContext context, String action) {
+ return showDialog(
+ context: context,
+ barrierDismissible: true,
+ builder: (BuildContext context) {
+ return AlertDialog(
+ title: Text('Do you want to $action this item?'),
+ actions: [
+ FlatButton(
+ child: const Text('Yes'),
+ onPressed: () {
+ Navigator.pop(context, true); // showDialog() returns true
+ },
+ ),
+ FlatButton(
+ child: const Text('No'),
+ onPressed: () {
+ Navigator.pop(context, false); // showDialog() returns false
+ },
+ ),
+ ],
+ );
+ },
+ );
+ }
}
diff --git a/examples/flutter_gallery/lib/demo/shrine/expanding_bottom_sheet.dart b/examples/flutter_gallery/lib/demo/shrine/expanding_bottom_sheet.dart
index 614c67687d..72047eb684 100644
--- a/examples/flutter_gallery/lib/demo/shrine/expanding_bottom_sheet.dart
+++ b/examples/flutter_gallery/lib/demo/shrine/expanding_bottom_sheet.dart
@@ -613,7 +613,7 @@ class _ListModel {
Iterable initialItems,
}) : assert(listKey != null),
assert(removedItemBuilder != null),
- _items = List.from(initialItems ?? []);
+ _items = initialItems?.toList() ?? [];
final GlobalKey listKey;
final dynamic removedItemBuilder;
diff --git a/examples/flutter_gallery/lib/demo/shrine/supplemental/product_columns.dart b/examples/flutter_gallery/lib/demo/shrine/supplemental/product_columns.dart
index 6889716146..589f9c7e68 100644
--- a/examples/flutter_gallery/lib/demo/shrine/supplemental/product_columns.dart
+++ b/examples/flutter_gallery/lib/demo/shrine/supplemental/product_columns.dart
@@ -31,12 +31,15 @@ class TwoProductCardColumn extends StatelessWidget {
const double spacerHeight = 44.0;
final double heightOfCards = (constraints.biggest.height - spacerHeight) / 2.0;
- final double heightOfImages = heightOfCards - ProductCard.kTextBoxHeight;
- final double imageAspectRatio = (heightOfImages >= 0.0 && constraints.biggest.width > heightOfImages)
- ? constraints.biggest.width / heightOfImages
- : 33 / 49;
+ final double availableHeightForImages = heightOfCards - ProductCard.kTextBoxHeight;
+ // Ensure the cards take up the available space as long as the screen is
+ // sufficiently tall, otherwise fallback on a constant aspect ratio.
+ final double imageAspectRatio = availableHeightForImages >= 0.0
+ ? constraints.biggest.width / availableHeightForImages
+ : 49.0 / 33.0;
return ListView(
+ physics: const ClampingScrollPhysics(),
children: [
Padding(
padding: const EdgeInsetsDirectional.only(start: 28.0),
@@ -71,6 +74,7 @@ class OneProductCardColumn extends StatelessWidget {
@override
Widget build(BuildContext context) {
return ListView(
+ physics: const ClampingScrollPhysics(),
reverse: true,
children: [
const SizedBox(
diff --git a/examples/flutter_gallery/lib/demo/transformations/transformations_demo.dart b/examples/flutter_gallery/lib/demo/transformations/transformations_demo.dart
new file mode 100644
index 0000000000..4a5bf99339
--- /dev/null
+++ b/examples/flutter_gallery/lib/demo/transformations/transformations_demo.dart
@@ -0,0 +1,190 @@
+import 'dart:ui' show Vertices;
+import 'package:flutter/material.dart';
+import 'transformations_demo_board.dart';
+import 'transformations_demo_edit_board_point.dart';
+import 'transformations_demo_gesture_transformable.dart';
+
+class TransformationsDemo extends StatefulWidget {
+ const TransformationsDemo({ Key key }) : super(key: key);
+
+ static const String routeName = '/transformations';
+
+ @override _TransformationsDemoState createState() => _TransformationsDemoState();
+}
+class _TransformationsDemoState extends State {
+ // The radius of a hexagon tile in pixels.
+ static const double _kHexagonRadius = 32.0;
+ // The margin between hexagons.
+ static const double _kHexagonMargin = 1.0;
+ // The radius of the entire board in hexagons, not including the center.
+ static const int _kBoardRadius = 8;
+
+ bool _reset = false;
+ Board _board = Board(
+ boardRadius: _kBoardRadius,
+ hexagonRadius: _kHexagonRadius,
+ hexagonMargin: _kHexagonMargin,
+ );
+
+ @override
+ Widget build (BuildContext context) {
+ final BoardPainter painter = BoardPainter(
+ board: _board,
+ );
+
+ // The scene is drawn by a CustomPaint, but user interaction is handled by
+ // the GestureTransformable parent widget.
+ return Scaffold(
+ appBar: AppBar(
+ title: const Text('2D Tranformations'),
+ actions: [
+ IconButton(
+ icon: const Icon(Icons.help),
+ tooltip: 'Help',
+ onPressed: () {
+ showDialog(
+ context: context,
+ builder: (BuildContext context) => instructionDialog,
+ );
+ },
+ ),
+ ],
+ ),
+ body: LayoutBuilder(
+ builder: (BuildContext context, BoxConstraints constraints) {
+ // Draw the scene as big as is available, but allow the user to
+ // translate beyond that to a visibleSize that's a bit bigger.
+ final Size size = Size(constraints.maxWidth, constraints.maxHeight);
+ final Size visibleSize = Size(size.width * 3, size.height * 2);
+ return GestureTransformable(
+ reset: _reset,
+ onResetEnd: () {
+ setState(() {
+ _reset = false;
+ });
+ },
+ child: CustomPaint(
+ painter: painter,
+ ),
+ boundaryRect: Rect.fromLTWH(
+ -visibleSize.width / 2,
+ -visibleSize.height / 2,
+ visibleSize.width,
+ visibleSize.height,
+ ),
+ // Center the board in the middle of the screen. It's drawn centered
+ // at the origin, which is the top left corner of the
+ // GestureTransformable.
+ initialTranslation: Offset(size.width / 2, size.height / 2),
+ onTapUp: _onTapUp,
+ size: size,
+ );
+ },
+ ),
+ floatingActionButton: _board.selected == null ? resetButton : editButton,
+ );
+ }
+
+ Widget get instructionDialog {
+ return AlertDialog(
+ title: const Text('2D Transformations'),
+ content: Column(
+ crossAxisAlignment: CrossAxisAlignment.start,
+ mainAxisSize: MainAxisSize.min,
+ children: const [
+ Text('Tap to edit hex tiles, and use gestures to move around the scene:\n'),
+ Text('- Drag to pan.'),
+ Text('- Pinch to zoom.'),
+ Text('- Rotate with two fingers.'),
+ Text('\nYou can always press the home button to return to the starting orientation!'),
+ ],
+ ),
+ actions: [
+ FlatButton(
+ child: const Text('OK'),
+ onPressed: () {
+ Navigator.of(context).pop();
+ },
+ ),
+ ],
+ );
+ }
+
+ FloatingActionButton get resetButton {
+ return FloatingActionButton(
+ onPressed: () {
+ setState(() {
+ _reset = true;
+ });
+ },
+ tooltip: 'Reset Transform',
+ backgroundColor: Theme.of(context).primaryColor,
+ child: const Icon(Icons.home),
+ );
+ }
+
+ FloatingActionButton get editButton {
+ return FloatingActionButton(
+ onPressed: () {
+ if (_board.selected == null) {
+ return;
+ }
+ showModalBottomSheet(context: context, builder: (BuildContext context) {
+ return Container(
+ width: double.infinity,
+ height: 150,
+ padding: const EdgeInsets.all(12.0),
+ child: EditBoardPoint(
+ boardPoint: _board.selected,
+ onColorSelection: (Color color) {
+ setState(() {
+ _board = _board.copyWithBoardPointColor(_board.selected, color);
+ Navigator.pop(context);
+ });
+ },
+ ),
+ );
+ });
+ },
+ tooltip: 'Edit Tile',
+ child: const Icon(Icons.edit),
+ );
+ }
+
+ void _onTapUp(TapUpDetails details) {
+ final Offset scenePoint = details.globalPosition;
+ final BoardPoint boardPoint = _board.pointToBoardPoint(scenePoint);
+ setState(() {
+ _board = _board.copyWithSelected(boardPoint);
+ });
+ }
+}
+
+// CustomPainter is what is passed to CustomPaint and actually draws the scene
+// when its `paint` method is called.
+class BoardPainter extends CustomPainter {
+ const BoardPainter({
+ this.board,
+ });
+
+ final Board board;
+
+ @override
+ void paint(Canvas canvas, Size size) {
+ void drawBoardPoint(BoardPoint boardPoint) {
+ final Color color = boardPoint.color.withOpacity(
+ board.selected == boardPoint ? 0.2 : 1.0,
+ );
+ final Vertices vertices = board.getVerticesForBoardPoint(boardPoint, color);
+ canvas.drawVertices(vertices, BlendMode.color, Paint());
+ }
+
+ board.forEach(drawBoardPoint);
+ }
+
+ // We should repaint whenever the board changes, such as board.selected.
+ @override
+ bool shouldRepaint(BoardPainter oldDelegate) {
+ return oldDelegate.board != board;
+ }
+}
diff --git a/examples/flutter_gallery/lib/demo/transformations/transformations_demo_board.dart b/examples/flutter_gallery/lib/demo/transformations/transformations_demo_board.dart
new file mode 100644
index 0000000000..bf74076d4f
--- /dev/null
+++ b/examples/flutter_gallery/lib/demo/transformations/transformations_demo_board.dart
@@ -0,0 +1,286 @@
+import 'dart:collection' show IterableMixin;
+import 'dart:math';
+import 'dart:ui' show Vertices;
+import 'package:flutter/material.dart' hide Gradient;
+import 'package:vector_math/vector_math_64.dart' show Vector3;
+
+// The entire state of the hex board and abstraction to get information about
+// it. Iterable so that all BoardPoints on the board can be iterated over.
+@immutable
+class Board extends Object with IterableMixin {
+ Board({
+ @required this.boardRadius,
+ @required this.hexagonRadius,
+ @required this.hexagonMargin,
+ this.selected,
+ List boardPoints,
+ }) : assert(boardRadius > 0),
+ assert(hexagonRadius > 0),
+ assert(hexagonMargin >= 0) {
+ // Set up the positions for the center hexagon where the entire board is
+ // centered on the origin.
+ // Start point of hexagon (top vertex).
+ final Point hexStart = Point(0, -hexagonRadius);
+ final double hexagonRadiusPadded = hexagonRadius - hexagonMargin;
+ final double centerToFlat = sqrt(3) / 2 * hexagonRadiusPadded;
+ positionsForHexagonAtOrigin.addAll([
+ Offset(hexStart.x, hexStart.y),
+ Offset(hexStart.x + centerToFlat, hexStart.y + 0.5 * hexagonRadiusPadded),
+ Offset(hexStart.x + centerToFlat, hexStart.y + 1.5 * hexagonRadiusPadded),
+ Offset(hexStart.x + centerToFlat, hexStart.y + 1.5 * hexagonRadiusPadded),
+ Offset(hexStart.x, hexStart.y + 2 * hexagonRadiusPadded),
+ Offset(hexStart.x, hexStart.y + 2 * hexagonRadiusPadded),
+ Offset(hexStart.x - centerToFlat, hexStart.y + 1.5 * hexagonRadiusPadded),
+ Offset(hexStart.x - centerToFlat, hexStart.y + 1.5 * hexagonRadiusPadded),
+ Offset(hexStart.x - centerToFlat, hexStart.y + 0.5 * hexagonRadiusPadded),
+ ]);
+
+ if (boardPoints != null) {
+ _boardPoints.addAll(boardPoints);
+ } else {
+ // Generate boardPoints for a fresh board.
+ BoardPoint boardPoint = _getNextBoardPoint(null);
+ while (boardPoint != null) {
+ _boardPoints.add(boardPoint);
+ boardPoint = _getNextBoardPoint(boardPoint);
+ }
+ }
+ }
+
+ final int boardRadius; // Number of hexagons from center to edge.
+ final double hexagonRadius; // Pixel radius of a hexagon (center to vertex).
+ final double hexagonMargin; // Margin between hexagons.
+ final List positionsForHexagonAtOrigin = [];
+ final BoardPoint selected;
+ final List _boardPoints =