1
0
mirror of https://github.com/nisrulz/flutter-examples.git synced 2026-08-25 01:05:36 +00:00
Nishant Srivastava e143b4c3a2 refactor: split app wrapper from focused example code (pilot)
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.
2026-08-18 00:24:22 +02:00
2017-08-07 23:21:02 -07:00
2017-08-07 23:21:02 -07:00

Image

Show some ❤️ and star the repo to support the project

GitHub stars GitHub forks GitHub watchers GitHub followers
Twitter Follow

Example apps demonstrating features, functionality, and integrations in Flutter. Each folder is a standalone app you can run as-is.

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

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
No description provided
Readme 170 MiB
Languages
Dart 58.9%
Python 10.5%
C++ 7.8%
CMake 5.9%
Objective-C 4.5%
Other 12.3%