f458b62eea
- Added provider ^6.1.2 and shared_preferences ^2.3.4 to pubspec.yaml - Removed singleton pattern from GpsDataManager (deleted _instance and instance getter) - Changed GpsDataManager._internal() to public GpsDataManager() constructor - Extended ChangeNotifier to enable reactive state updates - Added _isDisposed guard field to prevent disposed notifications - Updated _updateData() to call notifyListeners() after stream emission - Added _isDisposed guards to _onGpsError() and _handleStaleDataTimeout() - Updated dispose() to set _isDisposed, call super.dispose() last, removed _isInitialized reset
55 lines
1.0 KiB
YAML
55 lines
1.0 KiB
YAML
name: gps_speedo
|
|
description: "Speedo - A Flutter application."
|
|
publish_to: 'none'
|
|
|
|
version: 2.2.2+1
|
|
|
|
environment:
|
|
sdk: ^3.9.0
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
|
|
# cupertino_icons: ^1.0.8
|
|
# Probably no icons needed for now
|
|
|
|
# GPS and Location Services - Essential only
|
|
geolocator: ^14.0.2
|
|
permission_handler: ^12.0.1
|
|
|
|
# Keep screen awake during navigation
|
|
wakelock_plus: ^1.2.8
|
|
|
|
# Floating window overlay capability
|
|
flutter_overlay_window: ^0.5.0
|
|
|
|
# Bring app to foreground from background/overlay
|
|
bg_launcher: ^0.1.0
|
|
|
|
# State management
|
|
provider: ^6.1.2
|
|
|
|
# Persistent settings storage
|
|
shared_preferences: ^2.3.4
|
|
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
flutter_lints: ^6.0.0
|
|
flutter_launcher_icons: "^0.14.4"
|
|
|
|
flutter:
|
|
uses-material-design: true
|
|
|
|
fonts:
|
|
- family: DIN1451Alt
|
|
fonts:
|
|
- asset: fonts/din1451alt.ttf
|
|
|
|
flutter_launcher_icons:
|
|
android: true
|
|
ios: true
|
|
image_path: "icon/speedo.png"
|
|
adaptive_icon_foreground: "icon/speedo.png" |