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
This commit is contained in:
parent
292cf65bbc
commit
eb0d19621c
46 changed files with 586 additions and 697 deletions
87
pubspec.yaml
87
pubspec.yaml
|
|
@ -2,7 +2,7 @@ name: fires_flutter
|
|||
description: All Against Fire
|
||||
|
||||
environment:
|
||||
sdk: ">=2.7.0 <3.0.0"
|
||||
sdk: ">=3.0.0 <4.0.0"
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
|
|
@ -10,71 +10,63 @@ dependencies:
|
|||
# i18n
|
||||
flutter_localizations:
|
||||
sdk: flutter
|
||||
intl: "^0.16.1"
|
||||
# https://pub.dartlang.org/packages/flutter
|
||||
intl: ^0.20.2
|
||||
|
||||
# utils
|
||||
simple_moment: "^1.0.7"
|
||||
just_debounce_it: "^3.0.0+2"
|
||||
flutter_simple_dependency_injection: "^0.0.2"
|
||||
sentry: "^2.0.2"
|
||||
flutter_markdown: "^0.5.1"
|
||||
url_launcher: "^5.7.10"
|
||||
package_info: ^0.4.3+2
|
||||
launch_review: "^1.0.1"
|
||||
timeago: ^3.6.1
|
||||
get_it: ^7.6.7
|
||||
sentry_flutter: ^7.18.0
|
||||
flutter_markdown: ^0.7.0
|
||||
url_launcher: ^6.2.5
|
||||
package_info_plus: ^6.0.0
|
||||
|
||||
# net
|
||||
http: "^0.11.3+16"
|
||||
jaguar_resty: "^2.5.5"
|
||||
connectivity: ^2.0.2
|
||||
share: "^0.5.2"
|
||||
http: ^1.2.1
|
||||
dio: ^5.4.3+1
|
||||
connectivity_plus: ^5.0.2
|
||||
share_plus: ^7.2.2
|
||||
|
||||
# data
|
||||
json_annotation: "^3.1.1"
|
||||
shared_preferences: "^0.4.2"
|
||||
# bson_objectid: "^0.1.0
|
||||
objectid: 1.1.0
|
||||
json_annotation: ^4.9.0
|
||||
shared_preferences: ^2.2.3
|
||||
objectid: ^2.1.0
|
||||
comunes_flutter:
|
||||
#git: git@github.com:comunes/comunes-flutter.git
|
||||
path: /home/vjrj/dev/comunes_flutter
|
||||
# version: "^0.0.12"
|
||||
|
||||
# redux
|
||||
redux: "^3.0.0"
|
||||
flutter_redux: "^0.5.2"
|
||||
redux_logging: "^0.3.0"
|
||||
redux: ^5.0.0
|
||||
flutter_redux: ^0.10.0
|
||||
|
||||
# maps, geo, etc
|
||||
flutter_map: ^0.10.1+1
|
||||
flutter_google_places_autocomplete: "^0.1.3"
|
||||
location: ^3.2.1
|
||||
geocoder: "^0.2.1"
|
||||
flutter_map: ^6.1.0
|
||||
latlong2: ^0.9.1
|
||||
location: ^5.0.3
|
||||
geocoding: ^2.1.1
|
||||
|
||||
# layout
|
||||
# fluttery: "^0.0.7"
|
||||
# https://pub.dartlang.org/packages/padder
|
||||
padder: "^1.0.1"
|
||||
flutter_fab_dialer: "^0.0.5"
|
||||
# badge: "^0.0.2"
|
||||
badges: ^1.1.6
|
||||
flutter_spinkit: "^1.0.0"
|
||||
padder: ^1.0.1
|
||||
flutter_speed_dial: ^7.0.0
|
||||
badges: ^3.1.2
|
||||
flutter_spinkit: ^5.2.0
|
||||
|
||||
# firebase
|
||||
firebase_core: ^0.5.3
|
||||
firebase_messaging: ^7.0.3
|
||||
firebase_core: ^2.27.1
|
||||
firebase_messaging: ^14.7.19
|
||||
|
||||
# icons
|
||||
# The following adds the Cupertino Icons font to your application.
|
||||
# Use with the CupertinoIcons class for iOS style icons.
|
||||
cupertino_icons: "^0.1.2"
|
||||
community_material_icon: "^5.4.55"
|
||||
cupertino_icons: ^1.0.8
|
||||
community_material_icon: ^5.9.55
|
||||
|
||||
# reviews
|
||||
in_app_review: ^2.0.9
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
build_runner: "^1.0.0"
|
||||
json_serializable: ^3.5.1
|
||||
test: ^1.15.7
|
||||
build_runner: ^2.4.8
|
||||
json_serializable: ^6.7.1
|
||||
test: ^1.25.2
|
||||
flutter_lints: ^3.0.1
|
||||
|
||||
# For information on the generic Dart part of this file, see the
|
||||
# following page: https://www.dartlang.org/tools/pub/pubspec
|
||||
|
|
@ -109,8 +101,7 @@ flutter:
|
|||
# To add custom fonts to your application, add a fonts section here,
|
||||
# in this "flutter" section. Each entry in this list should have a
|
||||
# "family" key with the font family name, and a "fonts" key with a
|
||||
# list giving the asset and other descriptors for the font. For
|
||||
# example:
|
||||
# list giving the asset and other descriptors. For example:
|
||||
# fonts:
|
||||
# - family: Schyler
|
||||
# fonts:
|
||||
|
|
@ -125,7 +116,3 @@ flutter:
|
|||
#
|
||||
# For details regarding fonts from package dependencies,
|
||||
# see https://flutter.io/custom-fonts/#from-packages
|
||||
|
||||
# https://github.com/flutter/flutter/issues/70433
|
||||
dependency_overrides:
|
||||
intl: ^0.17.0-nullsafety.2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue