mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
https://github.com/flutter/flutter/issues/17956 * Add a `debugInstrumentAction()` method that will wrap an action in a stopwatch and print the time it took to run the action. * Add a global `debugInstrumentationEnabled` that will control whether `debugInstrumentAction()` does anything (even in debug builds). * Add some basic instrumentation to `registerServiceExtension()` * Temporarily enable the `debugInstrumentationEnabled` flag in the Gallery to give us better visibility into what's happening in https://github.com/flutter/flutter/issues/17956
Flutter gallery
Demo app for the material design widgets and other features provided by Flutter.
Building
You can follow these instructions to build the gallery app and install it onto your device.
Prerequisites
If you are new to Flutter, please first follow the Flutter Setup guide.
Building and installing the Flutter app
cd $FLUTTER_ROOT/examples/flutter_galleryflutter upgradeflutter run --release
The flutter run --release command both builds and installs the Flutter app.
Prerelease checklist
- Verify that the About box's license page scrolls and reveals its long long stream of license texts.
Icon
Android launcher icons were generated using Android Asset Studio: https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html#foreground.type=image&foreground.space.trim=1&foreground.space.pad=0.1&foreColor=607d8b%2C0&crop=0&backgroundShape=square&backColor=fafafa%2C100&effects=none