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
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
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
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
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
Nishant Srivastava
dd23466cd4
cleanup
2021-07-25 20:48:19 +02:00
Nishant Srivastava
d409e4a19c
updated packages
2021-07-25 20:36:51 +02:00
Nishant Srivastava
e35f5c4914
updated gradle wrapper
2021-07-25 20:35:01 +02:00
Nishant Srivastava
effab64ce1
update gradle wrapper and packages
2021-05-13 23:07:43 +02:00
Nishant Srivastava
5f0bb197d1
fixes issue #85
2021-04-10 23:17:06 +02:00
Nishant Srivastava
2e5da9a7d7
updated deps
2021-04-10 22:59:28 +02:00
Nishant Srivastava
3f4b235bc2
updated agp and gradle wrapper
2021-01-13 00:24:14 +01:00
Nishant Srivastava
203345032d
updated packages and gradle wrapper
2020-12-18 14:06:46 +01:00
Nishant Srivastava
0757bd3d04
update to latest android gradle plugin
2020-10-29 00:35:54 +01:00
Nishant Srivastava
52072098cf
cleanup and updated gradle wrapper
2020-10-29 00:34:51 +01:00
Nishant Srivastava
23837f9048
updated deps
2020-08-23 03:29:56 +02:00
Nishant Srivastava
49925fad08
upgraded packages
2020-08-19 00:22:04 +02:00
Nishant Srivastava
5302b451eb
update readme for each sample app
2020-08-19 00:02:30 +02:00
Nishant Srivastava
07b7411e54
updated agp
2020-06-14 00:43:56 +02:00
Nishant Srivastava
a144878f76
updated deps
2020-06-14 00:39:13 +02:00
Nishant Srivastava
186a484d5a
updated gradle wrapper
2020-03-25 00:24:51 +01:00
Nishant Srivastava
81ec87cbdc
add missing files and update deps
2020-03-19 21:47:00 +01:00
Nishant Srivastava
d31e3c5782
updated gradle wrapper to v6.2.1
2020-02-24 23:28:34 +01:00
Nishant Srivastava
d9de8bd39b
upgrade projects
...
- gradle wrapper v6.2
- kotlin v1.3.61
2020-02-17 20:55:35 +01:00
Nishant Srivastava
7b2437b79d
update packages
2020-01-18 15:55:30 +01:00
Nishant Srivastava
34747b99ab
Upgrade projects
...
Now using
- gradle wrapper v6.0
- androidx
- stable android gradle plugin v3.5.0
- target and compile sdk set to 29
2019-11-15 00:42:49 +01: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
173bb3ece0
🤖 android fix: using implementation instead of compile in build.gradle for android part of examples
2019-01-05 19:58:04 +01:00
Nishant Srivastava
6c5c60d017
🤖 android fix: updated the test dependencies for android part of examples
2019-01-05 19:55:29 +01:00
Nishant Srivastava
83ff50a344
🤖 android fix: removed buildToolsVersion
2019-01-05 19:53:37 +01:00
Nishant Srivastava
f431c20243
🤖 android fix: update compileSdkVersion to 28
2019-01-05 19:49:15 +01:00
Nishant Srivastava
83c2dd0c5c
🤖 android fix: update gradle wrapper from v3.3 to v4.6
2019-01-05 19:47:23 +01:00
Nishant Srivastava
1f7090f9b2
🤖 android fix: update support annotation to v28.0.0
2019-01-05 19:46:38 +01:00
Nishant Srivastava
5e8e413217
🤖 android fix: update targetSdkVersion to 28
2019-01-05 19:45:47 +01:00
Nishant Srivastava
180b729c1e
🤖 android fix: fix the google repo for android part in examples
2019-01-05 19:44:50 +01:00
Nishant Srivastava
75d833bec1
updated: package to be standard across all example apps
2018-07-08 00:20:41 +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
32858affd6
implemented load_local_image example
2017-08-09 14:36:58 -07:00