- Convert CompassMapPluginWidget from StatelessWidget to StatefulWidget - Add periodic rotation monitoring (every 100ms) to detect map rotation changes - Button only appears when rotation != 0 (map is rotated away from north) - Button automatically disappears when map is reset to north (rotation = 0) - Improves UX by reducing visual clutter when map is already north-aligned - Add tooltip 'Go to North' for better user guidance - Gracefully handle errors and only update state when widget is mounted |
||
|---|---|---|
| android | ||
| assets | ||
| images | ||
| ios | ||
| lib | ||
| res/values | ||
| test | ||
| .flutter-plugins-dependencies | ||
| .gitignore | ||
| .metadata | ||
| build.yaml | ||
| fires_flutter.iml | ||
| fires_flutter_android.iml | ||
| pubspec.yaml | ||
| README.md | ||
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.jsonseeassets/private-settings-sample.json.google-services.jsonprovided 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
(...)