1
0
mirror of https://github.com/nisrulz/flutter-examples.git synced 2026-08-25 17:24:01 +00:00
Commit Graph

7 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
5c53498119 refactor: standardize Dart and Android config across all 54 apps
- Bump all apps to sdk >=3.0.0 <4.0.0 and add flutter_lints + a shared
  analysis_options.yaml to every app (flutter analyze is now green repo-wide)
- Fix real compile errors in firebase_google_authentication and image_editor,
  plus deprecated APIs (Matrix4, SvgPicture.color, textScaleFactor),
  missing async 'mounted' guards, and misc lints via dart fix + manual fixes
- Align pubspec 'name' with each folder and Android namespace/applicationId
  with the documented github.nisrulz.* convention
- Convert bmi_calculator from a legacy Flutter module to a standard app
  with a proper android/ scaffold; fix missing android:exported in launcher
  manifests across 22 apps so all Android builds pass
- Untrack generated build files (GeneratedPluginRegistrant,
  .flutter-plugins-dependencies) and ignore them
2026-08-17 17:26:39 +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
16b934585f small changes, updated readme 2017-09-30 00:01:34 -07:00
Nishant Srivastava
351b44db0e refactoring and added comments 2017-09-29 23:38:41 -07:00
Nishant Srivastava
5b7434fb2a added gradient to using_gradient example 2017-09-29 22:47:15 -07:00
Nishant Srivastava
5846cca07a added using_gradient example 2017-09-29 22:41:29 -07:00