7a4c9fb3bc
fix: resolve 2 remaining strict analysis errors
...
- introPage.dart: Convert fireItems to proper static function closure
- mainDrawer.dart: Convert unreadCount int to String for Text widget
2026-03-06 11:21:06 +01:00
14b558340d
feat: replace layer toggle with layer selector menu
...
- Replace ToggleMapLayerAction with SelectMapLayerAction that takes a specific layer
- Update fireMapReducer to handle SelectMapLayerAction instead of toggling
- Use PopupMenuButton with GlobalKey to open menu on button tap
- Show check icon and bold text for currently selected layer
- Menu items display layer names: OSMC Grey, OSMC, Esri Street, Esri Satellite, Esri Terrain
- Selecting a layer immediately updates Redux state and closes the menu
2026-03-06 08:48:59 +01:00
eb0d19621c
Migrate fires_flutter to flutter_map v6.1.0 and complete major null-safety fixes
...
- Updated Android build files: gradle plugin 8.2.2, gradle 8.3, SDK 34, minSdk 21
- Ran dart fix --apply for 87 automatic null-safety fixes
- Migrated flutter_map v6 API breaking changes:
- MapOptions: center → initialCenter, zoom → initialZoom
- layers → children structure
- TileLayerOptions/MarkerLayerOptions/PolylineLayerOptions → TileLayer/MarkerLayer/PolylineLayer
- Removed plugin_api.dart imports
- Converted old plugin system (ZoomMapPlugin, AttributionPlugin, etc.) to direct widgets
- Updated onTap callback signature: (TapPosition) → (TapPosition, LatLng)
- Migrated all marker/polyline creation to v6 API
- Fixed FlatButton → TextButton deprecation
- Fixed stackTrace access with catch(e, stackTrace) pattern
- Removed deprecated flutter_google_places_autocomplete dependency
- Removed deprecated dependencies: latlong, connectivity, launch_review
- Updated all imports from latlong → latlong2
- Placeholder implementation for places autocomplete (feature temporarily disabled)
Remaining tasks (non-blocking for build):
- Complete null-safety fixes for _location variables in genericMap.dart
- Fix theme.dart MaterialTheme parameter issues
- Fix customStepper.dart null-safety issues
- Final build and testing
2026-03-05 02:10:14 +01:00
Vicente J. Ruiz Jurado
cb02156ae1
Better fire stats. False positives mark api part
2018-08-08 08:55:31 +02:00
Vicente J. Ruiz Jurado
845c38bf04
Map attribution & map layers plugin
2018-08-04 09:14:51 +02:00
Vicente J. Ruiz Jurado
8926fc20d9
Fire notification map
2018-07-26 22:32:30 +02:00
vjrj
609cf8422a
Editing location finished
2018-07-05 18:36:24 +02:00
vjrj
c0e8524692
Location edition
2018-07-05 17:17:45 +02:00
vjrj
e97a5a1a9f
More work with redux, and location edit (wip)
2018-07-03 12:28:40 +02:00