- 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
118 lines
2.8 KiB
YAML
118 lines
2.8 KiB
YAML
name: fires_flutter
|
|
description: All Against Fire
|
|
|
|
environment:
|
|
sdk: ">=3.0.0 <4.0.0"
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
# i18n
|
|
flutter_localizations:
|
|
sdk: flutter
|
|
intl: ^0.20.2
|
|
|
|
# utils
|
|
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: ^1.2.1
|
|
dio: ^5.4.3+1
|
|
connectivity_plus: ^5.0.2
|
|
share_plus: ^7.2.2
|
|
|
|
# data
|
|
json_annotation: ^4.9.0
|
|
shared_preferences: ^2.2.3
|
|
objectid: ^2.1.0
|
|
comunes_flutter:
|
|
path: /home/vjrj/dev/comunes_flutter
|
|
|
|
# redux
|
|
redux: ^5.0.0
|
|
flutter_redux: ^0.10.0
|
|
|
|
# maps, geo, etc
|
|
flutter_map: ^6.1.0
|
|
latlong2: ^0.9.1
|
|
location: ^5.0.3
|
|
geocoding: ^2.1.1
|
|
|
|
# layout
|
|
padder: ^1.0.1
|
|
flutter_speed_dial: ^7.0.0
|
|
badges: ^3.1.2
|
|
flutter_spinkit: ^5.2.0
|
|
|
|
# firebase
|
|
firebase_core: ^2.27.1
|
|
firebase_messaging: ^14.7.19
|
|
|
|
# icons
|
|
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: ^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
|
|
|
|
# The following section is specific to Flutter.
|
|
flutter:
|
|
|
|
# The following line ensures that the Material Icons font is
|
|
# included with your application, so that you can use the icons in
|
|
# the material Icons class.
|
|
uses-material-design: true
|
|
|
|
assets:
|
|
- assets/private-settings.json
|
|
- assets/private-settings-dev.json
|
|
- assets/pages/privacy-en.md
|
|
- assets/pages/privacy-es.md
|
|
- images/logo-200.png
|
|
- images/fire-marker-l.png
|
|
- images/fire-marker-m.png
|
|
- images/fire-marker-s.png
|
|
- images/fire-marker.png
|
|
- images/industry-marker-reg.png
|
|
- images/industry-marker.png
|
|
|
|
# An image asset can refer to one or more resolution-specific "variants", see
|
|
# https://flutter.io/assets-and-images/#resolution-aware.
|
|
|
|
# For details regarding adding assets from package dependencies, see
|
|
# https://flutter.io/assets-and-images/#from-packages
|
|
|
|
# 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 example:
|
|
# fonts:
|
|
# - family: Schyler
|
|
# fonts:
|
|
# - asset: fonts/Schyler-Regular.ttf
|
|
# - asset: fonts/Schyler-Italic.ttf
|
|
# style: italic
|
|
# - family: Trajan Pro
|
|
# fonts:
|
|
# - asset: fonts/TrajanPro.ttf
|
|
# - asset: fonts/TrajanPro_Bold.ttf
|
|
# weight: 700
|
|
#
|
|
# For details regarding fonts from package dependencies,
|
|
# see https://flutter.io/custom-fonts/#from-packages
|