1
0
mirror of https://github.com/nisrulz/flutter-examples.git synced 2026-08-25 01:05:36 +00:00

5 Commits

Author SHA1 Message Date
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
Nishant Srivastava
6d56bfc5d4 🚧 remove new keyword to get inline with dart 2 code standard. 2019-07-23 03:42:56 +02:00
Nishant Srivastava
b526955129 updated readme of each example with a screenshot/gif and more details about the example.
added more comments to code
2017-08-26 18:08:28 -07:00
Nishant Srivastava
f0f31c27e9 cleanup 2017-08-21 13:57:10 -07:00
Nishant Srivastava
b019f65539 implemented simple material app
updated gitignore to ignore all files under build folder
2017-08-07 23:44:51 -07:00