ionic-planb-logistic-app-fl.../pubspec.yaml
Jean-Philippe Brule d8bdaed63e Upgrade Flutter packages and fix breaking changes for Riverpod 3.0
Major package upgrades:
- Riverpod 2.x → 3.0.3 (breaking changes)
- flutter_appauth 7.0.0 → 11.0.0
- go_router 14.0.0 → 17.0.0
- permission_handler 11.3.0 → 12.0.1
- flutter_lints 5.0.0 → 6.0.0
- animate_do 3.1.2 → 4.2.0
- Plus 41 transitive dependency updates

Breaking changes fixed:

Riverpod 3.0 migration:
- Replace StateProvider with NotifierProvider pattern
- Update .valueOrNull to proper async value handling with .future
- Create LanguageNotifier and ThemeModeNotifier classes
- Fix all provider async value access patterns

Google Maps Navigation API updates:
- Rename GoogleMapsNavigationViewController to GoogleNavigationViewController
- Update Waypoint to NavigationWaypoint.withLatLngTarget
- Migrate controller methods to static GoogleMapsNavigator methods
- Update event listener types and callbacks

Localization system fixes:
- Update l10n.yaml synthetic-package configuration
- Fix import paths from flutter_gen to package imports
- Add errorTitle translation key for both en/fr
- Remove unnecessary null-aware operators (AppLocalizations is non-nullable)
- Regenerate localization files

iOS/macOS configuration:
- Update CocoaPods dependencies (AppAuth 1.7.5 → 2.0.0)
- Create missing Profile.xcconfig files for both platforms
- Sync Podfile.lock files with updated dependencies

Code quality:
- Fix all analyzer errors (0 errors remaining)
- Resolve deprecated API usage warnings
- Update async/await patterns for better error handling

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-16 01:25:16 -05:00

89 lines
2.0 KiB
YAML

name: planb_logistic
description: "Plan B Logistics - Delivery Management Mobile App"
publish_to: 'none'
version: 1.0.0+1
environment:
sdk: ^3.9.2
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.8
flutter_riverpod: ^3.0.3
riverpod_annotation: ^3.0.3
animate_do: ^4.2.0
lottie: ^3.0.0
iconsax: ^0.0.8
flutter_animate: ^4.3.0
getwidget: ^7.0.0
flutter_appauth: ^11.0.0
flutter_secure_storage: ^9.2.4
jwt_decoder: ^2.0.1
http: ^1.2.2
json_annotation: ^4.9.0
flutter_localizations:
sdk: flutter
intl: ^0.20.2
image_picker: ^1.0.7
url_launcher: ^6.3.1
permission_handler: ^12.0.1
go_router: ^17.0.0
shared_preferences: ^2.5.3
http_interceptor: ^2.0.0
google_navigation_flutter: ^0.6.5
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^6.0.0
build_runner: ^2.4.14
json_serializable: ^6.9.2
riverpod_generator: ^3.0.3
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter packages.
flutter:
uses-material-design: true
generate: true
fonts:
- family: Montserrat
fonts:
- asset: assets/fonts/Montserrat-VariableFont_wght.ttf
- asset: assets/fonts/Montserrat-Italic-VariableFont_wght.ttf
style: italic
- family: IBMPlexMono
fonts:
- asset: assets/fonts/IBMPlexMono-Regular.ttf
- asset: assets/fonts/IBMPlexMono-Italic.ttf
style: italic
- asset: assets/fonts/IBMPlexMono-Bold.ttf
weight: 700
- asset: assets/fonts/IBMPlexMono-BoldItalic.ttf
weight: 700
style: italic
- asset: assets/fonts/IBMPlexMono-Medium.ttf
weight: 500
- asset: assets/fonts/IBMPlexMono-MediumItalic.ttf
weight: 500
style: italic
- asset: assets/fonts/IBMPlexMono-Light.ttf
weight: 300
- asset: assets/fonts/IBMPlexMono-LightItalic.ttf
weight: 300
style: italic