Article Dark Mode
Give your eyes a break and switch this Article App to dark mode. Switch it anywhere in the article and see a great transition across all content and the UI.
Shows how a png sequence can be used to mask an arbitrary widget. Here that technique is used in a page transition between light and dark themes.
The Flutter Vignettes
This vignette is part of a collection of explorations into the exciting user experience possibilities enabled by the Flutter platform. Built by gskinner in partnership with Google, these vignettes range from practical to novel. They aim to inspire both developers and designers to build delightful and beautiful experiences with Flutter. You can view all of the vignettes in the main GitHub repo.
If you're new to Flutter the first thing you'll need is to follow the setup instructions. Once you're set up and can compile the sample Flutter app, you're ready to run some vignettes!
Each vignette is stored in its own folder in the repository. Using your IDE of choice, open the vignette directory you'd like to run. Then, using the terminal inside youre IDE, run
flutter pub get to fetch any dependencies, and
flutter run to deploy to your connected device or simulator.
If you would like to try these for Flutter for web, you can use
flutter run -d chrome. Note that Flutter for web is currently a technical preview and not all of the vignettes will work correctly. For more information on enabling Flutter for web follow the setup instructions.
These vignettes are released under the MIT license. You can use the code for any purpose, including commercial projects.
We exist to build inovative digital experiences for smart clients, and we love how easy Flutter makes that. Don't hesitate to stop by our site to learn more about what we do. We'd love to hear from you!