mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This patch improves the Post and Shrine transitions by making the AppBar into a Hero and changing the default MaterialPageTransition. Now the AppBar transitions smoothly between screens and the MaterialPageTransition doesn't involve a fade effect. Also, rejigger the bounds of the image header in Pesto to avoid the "pop" at the end of the animation by laying out the image header at its final visual size instead of relying on occlusion to size the image header. Fixes #5202 Fixes #5204
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.
Prereqs
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 installed the Flutter app.
Icon
Icon was generated using Android Asset Studio: https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html#foreground.type=image&foreground.space.trim=0&foreground.space.pad=0.1&foreColor=607d8b%2C0&crop=0&backgroundShape=square&backColor=ffffff%2C100&effects=none
From the Flutter Logo: https://github.com/flutter/website/blob/master/_includes/logo.html which appears to be CC-BY 4.0.