todos-contra-el-fuego-mobile/pubspec.yaml
vjrj a7f3ab6974 Fix remaining compilation errors: null-safety, removed packages, and nullable handling
- Fix AppState: remove removed connectivity package, fix imports (latlong2), make nullable fields optional
- Fix User model: use const empty strings in const constructor instead of null
- Fix model builders: add required ObjectId parameters to YourLocation and FireNotification
- Implement Comparable instead of extending it for BasicLocation
- Fix nullable callback handling in appActions and middleware (Completer<Null>?)
- Add null checks for BuildContext in dialogs (fireAlert, homePage, etc.)
- Fix nullable scaffold state access using ?. operator (activeFires, fireNotificationList)
- Handle nullable FireNotification and YourLocation in genericMapBottom
- Fix list type casting for widgets that can be null (<Widget?> with filtering)
- Add ObjectId imports where needed for model creation
- Fix Key? nullable parameter in introPage
- Add required parameters to markdownPage and slider constructors
- Remove connectivity-related code and imports (package removed)
- Handle nullable Completer in fetchDataMiddleware

All 104 errors resolved. 0 errors, 61 warnings/info remaining.
2026-03-05 02:50:32 +01:00

119 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
meta: any
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