Nishant Srivastava
9d67d31c72
docs: document the wrapper/example app structure
2026-08-18 01:05:36 +02:00
Nishant Srivastava
bcb3629907
refactor: split app wrapper from focused example code (complex apps)
...
Convert the final 12 multi-screen apps to the validated pattern:
lib/main.dart keeps only the MaterialApp bootstrap (plus firebase init where
that is genuine bootstrap), and a new lib/example.dart holds the entry screen
and focused example code, importing existing supporting files. firebase_crash
keeps its runZonedGuarded bootstrap in main.dart and extracts only CrashApp.
Apps: bmi_calculator, covid19_mobile_app, expense_planner,
firebase_crash_reporting, firebase_google_authentication, lunch_app,
navigation_drawer, news_memes_app, save_data_locally_with_sqlite,
todo_list_using_provider, unit_testing, using_firebase_db
2026-08-18 00:55:18 +02:00
Nishant Srivastava
6e3ff94bfe
refactor: split app wrapper from focused example code (multi-file apps)
...
Convert 17 multi-file apps to the validated pattern: lib/main.dart keeps
only the MaterialApp bootstrap; a new lib/example.dart holds the full entry
screen and focused example code, importing existing supporting files
(screens/, tabs/, services/, models/, widgets/, utils/).
Apps: analytics_integration, animation_example, biometrics, bottom_sheet,
custom_home_drawer, google_signin, grid_layout, handling_routes,
image_editor, scan_qr_code, statless_counter_app, using_bottom_nav_bar,
using_custom_fonts, using_listview, using_listwheelscrollview,
using_platform_adaptive, view_pdf_file
2026-08-18 00:48:50 +02:00
Nishant Srivastava
780c0f1dbb
refactor: split app wrapper from focused example code (single-file apps)
...
Convert 20 more single-file apps to the validated pattern: lib/main.dart
holds only the runApp + MaterialApp bootstrap, while a new lib/example.dart
holds the full screen (Scaffold, AppBar) and the focused example code.
Apps: enabling_splash_screen, getx_counter_app, image_from_network,
infinite_list, load_local_image, load_local_json, persist_key_value,
push_notifications, sliver_app_bar_example, stateless_widgets, tic_tac_toe,
tip_calculator, using_alert_dialog, using_edittext, using_expansionpanel,
using_http_get, using_interactiveviewer, using_snackbar, using_stepper,
using_theme
2026-08-18 00:41:30 +02: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
Nishant Srivastava
2cf50c0b6b
tools: add make analyze/test/doctor and unify gradle wrappers
...
- Add scripts/analyze_all.sh and scripts/test_all.sh that run flutter
analyze/test across every app and report a summary
- Add scripts/repo_doctor.sh that flags config drift (sdk constraint,
analysis_options, pubspec name, applicationId, gradle version, docs,
tracked generated files) and exits non-zero for use as a pre-commit gate
- Wire these into the Makefile as 'make analyze/test/doctor' and document
them in MAINTENANCE.md
- Bring bmi_calculator and push_notifications gradle wrappers up to the
repo-standard 9.7.0; note push_notifications as a Firebase app requiring
google-services.json
2026-08-17 23:48:02 +02:00
Nishant Srivastava
47bc829f64
fix: make every Android app build again
...
- Add the missing flutterEmbedding v2 meta-data to 8 manifests that still
used the removed v1 embedding
- Drop stale package attributes from covid19_mobile_app debug/profile
manifests that conflicted with its namespace
- Override gallery_saver_plus's hardcoded compileSdk 31 in image_editor so
its dependencies resolve (documented AAR metadata check now passes)
- Document that the three Firebase apps need a developer-provided
google-services.json before they can build
2026-08-17 23:41:25 +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
c8d2d4fffc
make: add docs target to regenerate EXAMPLES.md
2026-08-17 17:25:07 +02:00
Nishant Srivastava
f62d1fcf6e
docs: regenerate examples list and drop obsolete svn instructions
...
- EXAMPLES.md now lists all 54 apps; generated by
scripts/generate_examples_doc.sh so it cannot drift again
- Replace dead 'svn checkout' instructions in GETTING_STARTED.md
(GitHub removed SVN support) with git sparse-checkout
2026-08-17 16:02:18 +02:00
Nishant Srivastava
b33c77a4cc
chore: remove dead folders and untrack generated build artifacts
...
- Move dead firebase_twitter_sign_in (no pubspec), vendored
flutter_date_pickers-master, and temp .pr-description dirs to .trash
- Untrack 75 .dart_tool files and a stray pubspec.lock from git
- Consolidate stray in-app .trash dirs; ignore .pr-description-*
2026-08-17 16:00:22 +02:00
Nishant Srivastava
42bde1c435
chore: remove failing default widget tests from example apps
...
The default counter smoke-test stubs generated by 'flutter create' do not
match most example apps and fail to compile or run. Delete them from all
apps except unit_testing, which demonstrates real testing.
2026-08-17 15:59:17 +02:00
Nishant Srivastava
8745f7cf5a
chore: modernize Flutter examples — null safety, latest APIs, Kotlin DSL Gradle ( #148 )
...
* updates
* Update Gradle wrapper script to fetch latest version online and allow --version override
* chore(analytics_integration): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build files to Kotlin DSL and bump Gradle wrapper.
* chore(animation_example): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build files to Kotlin DSL.
* chore(biometrics): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build files to Kotlin DSL.
* chore(bmi_calculator): test
test body
* chore(bottom_sheet): test
test body
* chore(custom_home_drawer): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build files to Kotlin DSL and bump Gradle wrapper.
* chore(covid19_mobile_app): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(dropdown_button): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(enabling_splash_screen): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(expense_planner): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(firebase_crash_reporting): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(firebase_google_authentication): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(flutter_date_pickers-master): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(getx_counter_app): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(google_signin): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(grid_layout): remove legacy nested android project
Delete the redundant nested android/ project directory from the old layout. Also update pubspec.yaml SDK constraints and dependencies.
* chore(handling_routes): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(image_editor): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(image_from_network): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(infinite_list): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(load_local_image): remove legacy nested android project
Delete the redundant nested android/ project directory from the old layout. Also update pubspec.yaml SDK constraints and dependencies.
* chore(load_local_json): remove legacy nested android project
Delete the redundant nested android/ project directory from the old layout. Also update pubspec.yaml SDK constraints and dependencies.
* chore(lunch_app): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(navigation_drawer): remove legacy nested android project
Delete the redundant nested android/ project directory from the old layout. Also update pubspec.yaml SDK constraints and dependencies.
* chore(news_memes_app): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(persist_key_value): remove legacy nested android project
Delete the redundant nested android/ project directory from the old layout. Also update pubspec.yaml SDK constraints and dependencies.
* chore(push_notifications): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(save_data_locally_with_sqlite): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(scan_qr_code): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(simple_material_app): remove legacy nested android project
Delete the redundant nested android/ project directory from the old layout. Also update pubspec.yaml SDK constraints and dependencies.
* chore(sliver_app_bar_example): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(stateful_widget): remove legacy nested android project
Delete the redundant nested android/ project directory from the old layout. Also update pubspec.yaml SDK constraints and dependencies.
* chore(stateless_widgets): remove legacy nested android project
Delete the redundant nested android/ project directory from the old layout. Also update pubspec.yaml SDK constraints and dependencies.
* chore(statless_counter_app): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(tic_tac_toe): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(tip_calculator): remove legacy nested android project
Delete the redundant nested android/ project directory from the old layout. Also update pubspec.yaml SDK constraints and dependencies.
* chore(todo_list_using_provider): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(unit_testing): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(using_alert_dialog): remove legacy nested android project
Delete the redundant nested android/ project directory from the old layout. Also update pubspec.yaml SDK constraints and dependencies.
* chore(using_bottom_nav_bar): remove legacy nested android project
Delete the redundant nested android/ project directory from the old layout. Also update pubspec.yaml SDK constraints and dependencies.
* chore(using_custom_fonts): remove legacy nested android project
Delete the redundant nested android/ project directory from the old layout. Also update pubspec.yaml SDK constraints and dependencies.
* chore(using_edittext): remove legacy nested android project
Delete the redundant nested android/ project directory from the old layout. Also update pubspec.yaml SDK constraints and dependencies.
* chore(using_expansionpanel): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(using_firebase_db): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(using_gradient): remove legacy nested android project
Delete the redundant nested android/ project directory from the old layout. Also update pubspec.yaml SDK constraints and dependencies.
* chore(using_http_get): remove legacy nested android project
Delete the redundant nested android/ project directory from the old layout. Also update pubspec.yaml SDK constraints and dependencies.
* chore(using_interactiveviewer): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(using_listview): remove legacy nested android project
Delete the redundant nested android/ project directory from the old layout. Also update pubspec.yaml SDK constraints and dependencies.
* chore(using_listwheelscrollview): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(using_platform_adaptive): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore(using_snackbar): remove legacy nested android project
Delete the redundant nested android/ project directory from the old layout. Also update pubspec.yaml SDK constraints and dependencies.
* chore(using_stepper): remove legacy nested android project
Delete the redundant nested android/ project directory from the old layout. Also update pubspec.yaml SDK constraints and dependencies.
* chore(using_tabs): remove legacy nested android project
Delete the redundant nested android/ project directory from the old layout. Also update pubspec.yaml SDK constraints and dependencies.
* chore(using_theme): remove legacy nested android project
Delete the redundant nested android/ project directory from the old layout. Also update pubspec.yaml SDK constraints and dependencies.
* chore(view_pdf_file): migrate Gradle build scripts to Kotlin DSL
Convert Groovy build.gradle/settings.gradle to Kotlin DSL and bump Gradle wrapper.
* chore: ignore .trash directory
* chore: remove IDE configs and PR template
* chore(infinite_list): remove legacy nested android project
* refactor(infinite_list): migrate theme to ColorScheme API
* refactor(using_theme): migrate to ColorScheme API
* refactor(analytics_integration): migrate Firebase Analytics API
* refactor(firebase_google_authentication): migrate Google Sign-In API
* refactor(covid19_mobile_app): migrate theme and buttons to current API
* refactor(covid19_mobile_app): replace bezier_chart with fl_chart
* refactor(image_editor): migrate image plugins and button styles
* refactor(scan_qr_code): migrate mobile_scanner API
* refactor(lunch_app): migrate to null safety
* refactor(todo_list_using_provider): migrate to null safety
* refactor(unit_testing): migrate to null safety
* refactor(using_firebase_db): migrate Firebase Database API
* fix(update_gradle_wrapper): edit gradle-wrapper.properties directly
* refactor(push_notifications): migrate Firebase Messaging API
* refactor(using_http_get): migrate to null safety
* refactor(using_listview): migrate to null safety
* refactor(using_listwheelscrollview): migrate to null safety
* refactor(view_pdf_file): migrate to null safety
* refactor(bottom_sheet): migrate to null safety
* refactor(stateless_widgets): migrate to null safety
* chore: regenerate Gradle wrapper
* refactor: move maintenance scripts to Makefile
* chore: remove generated and IDE files
* fix: migrate image_editor to current plugins
* fix: migrate news_memes_app share to share_plus
* fix: migrate view_pdf_file to syncfusion pdf viewer
* fix: update deprecated APIs
* style: remove commented-out code
2026-08-17 13:58:51 +02:00
Nishant Srivastava
80fe9bed92
added pr template
2023-11-03 10:05:04 +05:30
Nishant Srivastava
a9ef4b45c0
Update README.md
2023-11-03 09:40:48 +05:30
Nishant Srivastava
0212b6bb83
Update README.md
2023-11-03 09:19:21 +05:30
Nishant Srivastava
07f7406396
added readme link for bmi calculator app
2023-10-12 18:11:53 +02:00
Nishant Srivastava
0ed78ea636
updated pub
2023-10-12 18:10:46 +02:00
Nishant Srivastava
526f74a64c
upgrade gradle wrapper to 8.4
2023-10-12 18:10:46 +02:00
Nishant Srivastava
8f8047e9b8
fix readme link and name of example app
2023-10-12 18:10:46 +02:00
lutaii
36c8bed38c
BMI calculator example ( #130 )
2023-10-12 18:08:26 +02:00
Nishant Srivastava
f761e553e4
Cleanup and updates ( #126 )
...
* updated gradle wrapper
* get packages
* fix dependabot issues
* Migrate to using io.flutter.embedding.android.FlutterActivity
* delete files
2022-10-22 21:24:21 +02:00
Deenadayalan M
0df530c26a
Updated main.dart file ( #107 )
...
Will declare late variable before create TabController controller to Lazily initializing a variable
2022-10-22 20:34:59 +02:00
Safad T M
9bcc260c19
New Example - Tic Tac Toe ( #125 )
2022-10-22 20:34:28 +02:00
Sushan Shakya
6a954dd349
New Example - Biometrics ( #119 )
2022-10-22 20:33:44 +02:00
Sriraj
d63f4147a9
New Example - Firebase Google Authentication ( #106 )
...
* Added the firebase+google_authentication example
* Modified Readme.md
2022-10-22 20:32:53 +02:00
Sagar Shah
b024cb183d
New Example - Stateless MObX Counter App ( #104 )
...
Co-authored-by: A HEAD FULL OF DREAMS <workdeveloper@gmail.com >
Co-authored-by: Nishant Srivastava <nisrulz@users.noreply.github.com >
2022-10-22 20:32:00 +02:00
Sushan Shakya
4407e4362b
New Example - Lunch App ( #98 )
2022-10-22 20:30:15 +02:00
Ishaan Kesarwani
91d4d1b868
New Example - Calendar ( #91 )
2022-10-22 20:29:43 +02:00
Abhishek Yadav
d9cc97a7ea
New Example - Animation ( #89 )
2022-10-22 20:28:02 +02:00
Sriraj
59ec36a48a
[ Fixes #97 ] Added a News & Memes App ( #99 )
...
* Added a News&Memes-App/Sriraj-dev
* Added Screen recording and Screenshots
* Update README.md
* Added demo directory with sample images/recording
* Update README.md
2022-10-22 20:22:33 +02:00
Mukund Tandon
52a150d66b
New Example - App to store data locally using SQlite ( #102 )
...
* Added files of save data locally using sqlite example App
* Update README.md
2022-10-22 20:18:58 +02:00
Sajad Rahimi
5148c1724b
New Example - Counter app with getx state management ( #108 )
2022-10-22 20:16:39 +02:00
Saint Gabriel
a52c2d5399
Update README.md ( #114 )
...
Corrections of misspelled words.
2022-10-22 20:15:18 +02:00
Aditya
9741f86826
New Example - Expansion panel demo ( #116 )
2022-10-22 20:14:38 +02:00
Md Didarul Islam
467637718c
Replaced Scaffold.of(context) with ScaffoldMessenger.of(context) ( #120 )
2022-10-22 20:13:38 +02:00
Bryce Cole
b0d917b05a
New Example - Platform Adaptive Example ( #121 )
...
* Adding Platform Adaptive Example
* Adding screenshots
2022-10-22 20:13:07 +02:00
Mridul Dhiman
1564ccdff2
New Example - QR Code Scanner ( #122 )
...
Co-authored-by: Mridul <mridul@Mriduls-MacBook-Pro.local >
2022-10-22 20:12:12 +02:00
Vasu Gajjar
fe71b47e3e
New example - Custom Drawer ( #124 )
...
* Added new example custom_home_drawer
* Updating Package Name
* Adding Screenshot
2022-10-22 20:11:23 +02:00
Sannidhya Dubey
5149889465
Added Sample app for SliverAppBar Widget ( #117 )
...
* Added Sample app for SliverAppBar Widget
2022-10-06 10:06:03 +02:00
Nishant Srivastava
9fabd53d57
updated readme
2021-07-25 21:06:06 +02:00
ralphcoder
4b66929f42
implementation of listwheelscrollview widget ( #65 )
2021-07-25 20:59:50 +02:00
SAGAR SURI
ef8f5fd321
firebase crash reporting ( #67 )
...
* Created app
* Setup firebase for android
* Added crashlytics plugin
* Setup crashlytics for android
* Setup crashlytics for iOS
* Initialized Firebase and crashlytics
* Update README.md
2021-07-25 20:58:15 +02:00
Tejas Bir Singh
1ae097d6a8
Add Push Notifcations Example ( #68 )
2021-07-25 20:57:34 +02:00
Mohammed Mehdi
3eaedb619c
Added covid-19 example app and Updated the readme ( #73 )
2021-07-25 20:56:58 +02:00
Gourav Sarkar
48f14caf15
Image Editor App ( #75 )
...
* added image editor
* package update
2021-07-25 20:56:09 +02:00
Ashutosh Singh
abd78777a6
firebase analytics integration in flutter ( #76 )
2021-07-25 20:54:47 +02:00
Rene Lazo Mendez
89f48b8f1e
Add new flutter example of todo app with provider ( #78 )
2021-07-25 20:51:35 +02:00
Nishant Srivastava
dd23466cd4
cleanup
2021-07-25 20:48:19 +02:00
ibraheem alsamaraie
510d27d1e7
edit http status to catch and print any error belongs to the statusCode ( #84 )
2021-07-25 20:42:18 +02:00