No description
Find a file
vjrj 30a89fc5c0 Fix 13 lint issues: immutability, imports, async/await, and code style
High-priority fixes (10 issues):
- assignment_to_final errors (7): Use copyWith() to respect immutability in YourLocation, active_fires.dart, generic_map.dart, location_utils.dart, and fetch_data_middleware.dart instead of direct assignment
- Fixed import paths (3): Updated falsePositiveTypes.dart → false_positive_types.dart and firesApi.dart → fires_api.dart in reducers.dart, fire_notification_actions.dart, fires_api.dart

Medium/Low priority fixes (3 issues):
- unnecessary_non_null_assertion: Removed redundant '!' in app_intro_page.dart line 54
- use_super_parameters: Updated app_intro_page.dart to use modern super(key: key) syntax
- no_logic_in_create_state: Fixed material_app_with_intro.dart by moving parameters to State instead of createState
- noop_primitive_operations: Removed redundant .toString() in string interpolation
- avoid_void_async: Changed void _selectLocation to Future<void> in places_autocomplete_utils.dart
- avoid_dynamic_calls: Fixed dynamic map access in fires_api.dart by properly casting intermediate values

Result: Reduced lint issues from 56 to 20 (all remaining are by-design: library_private_types_in_public_api and implementation_imports from external packages)
APK builds successfully with no errors.
2026-03-12 09:16:20 +01:00
android refactor: continue lint cleanup - 21 more issues fixed 2026-03-07 12:23:29 +01:00
assets Added -dev stettings 2018-09-16 08:06:37 +02:00
images More play artwork 2018-08-06 10:35:10 +02:00
ios Migrate fires_flutter to flutter_map v6.1.0 and complete major null-safety fixes 2026-03-05 02:10:14 +01:00
lib Fix 13 lint issues: immutability, imports, async/await, and code style 2026-03-12 09:16:20 +01:00
res/values fix: Resolve localization issues - fix English grammar, remove Russian characters, complete Galician translation 2026-03-06 22:41:59 +01:00
test Fix 13 lint issues: immutability, imports, async/await, and code style 2026-03-12 09:16:20 +01:00
.flutter-plugins-dependencies Fix 78 additional lint issues: rename all files to snake_case and fix 16 style issues 2026-03-12 09:00:06 +01:00
.gitignore Dev settings 2018-09-15 09:43:40 +02:00
.metadata Initial commit 2018-06-08 11:30:33 +02:00
analysis_options.yaml refactor: fix remaining lint warnings and deprecated APIs 2026-03-07 09:35:59 +01:00
build.yaml Last changes not published 2026-03-05 01:18:27 +01:00
fires_flutter.iml Initial commit 2018-06-08 11:30:33 +02:00
fires_flutter_android.iml Initial commit 2018-06-08 11:30:33 +02:00
LINT_CLEANUP_SUMMARY.md refactor: continue lint cleanup - 21 more issues fixed 2026-03-07 12:23:29 +01:00
LOCALIZATION_AUDIT.md refactor: continue lint cleanup - 21 more issues fixed 2026-03-07 12:23:29 +01:00
pubspec.yaml refactor: remove comunes-flutter dependency and inline components 2026-03-07 18:19:33 +01:00
README.md Added Monitorized Areas 2018-08-06 10:34:32 +02:00

Tod@s contra el Fuego (All Against Fire) mobile

This is app that notifies about fires detected in an area of your interest. It helps the early detection of fires and facilitates local mobilization, while the professional extinction services arrive.

Install

Via Play

Development

This app is developed with flutter. So if you want to contribute, please install it.

You also needs a:

  • assets/private-settings.json see assets/private-settings-sample.json.
  • google-services.json provided by firebase console (see also the sample).

Some json related code is generated via

flutter packages pub run build_runner build --delete-conflicting-outputs

also you can run with watch instead of build to build with any code change.

Generate apk with:

flutter build apk -t lib/mainProd.dart --flavor production

also you can run with -t lib/mainDev.dart --flavor development. More info about flavors here.

Testing

Run flutter test for doing unit testing.

Data source acknowledgements

We acknowledge the use of data and imagery from LANCE FIRMS operated by the NASA/GSFC/Earth Science Data and Information System (ESDIS) with funding provided by NASA/HQ.

License

GNU APLv3. See our LICENSE, for a complete text.

Thanks & other acknowlegments

(...)