mirror of
https://github.com/nisrulz/flutter-examples.git
synced 2026-08-25 01:05:36 +00:00
e143b4c3a22bea8b86f628ec284fd63a9d0660e8
Apply a consistent structure to 5 example apps (simple_material_app, stateful_widget, dropdown_button, using_gradient, using_tabs): - lib/main.dart now contains only the app bootstrap: runApp + a const MyApp widget wrapping the app in a MaterialApp. - lib/example.dart holds the full screen (Scaffold, AppBar, and the focused code that demonstrates the example feature), marked with a '// Example:' banner comment. This makes it easy to pinpoint the code that teaches each concept while keeping the wrapping/chrome code uniform and minimal. Review this pilot before rolling the pattern out to the remaining apps.
Show some ❤️ and star the repo to support the project
Example apps demonstrating features, functionality, and integrations in Flutter. Each folder is a standalone app you can run as-is.
Featured In
Getting started
git clone https://github.com/nisrulz/flutter-examples.git
cd flutter-examples
make packages
cd <example-folder>
flutter run
New to Flutter? See Getting Started for full setup and run instructions.
Documentation
- Example Apps: all examples in this repository
- Getting Started: setup, run, and download a single example
- Maintenance: available
makecommands - Contributing: how to submit pull requests
Author & support
This project was created by Nishant Srivastava but hopefully developed and maintained by many others. See the list of contributors here.
If you appreciate my work, consider buying me a cup of ☕ to keep me recharged 🤘 [PayPal]
License
This project is licensed under the Apache License, Version 2.0.
Description
Languages
Dart
58.9%
Python
10.5%
C++
7.8%
CMake
5.9%
Objective-C
4.5%
Other
12.3%








