diff --git a/analysis_options.yaml b/analysis_options.yaml index 3d0c57f..5682eef 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -10,3 +10,11 @@ analyzer: - windows/** - macos/** - linux/** + +linter: + rules: + prefer_single_quotes: true + # SCREAMING_SNAKE_CASE for constants is project convention + constant_identifier_names: false + # sort_pub_dependencies doesn't play well with flutter SDK dep first + sort_pub_dependencies: false \ No newline at end of file diff --git a/lib/data/services/overlay_service.dart b/lib/data/services/overlay_service.dart index 84454da..8e6067e 100644 --- a/lib/data/services/overlay_service.dart +++ b/lib/data/services/overlay_service.dart @@ -23,7 +23,7 @@ class OverlayService { () async { await FlutterOverlayWindow.showOverlay( enableDrag: true, - overlayTitle: "Speedometer", + overlayTitle: 'Speedometer', overlayContent: 'Speedo overlay active', flag: OverlayFlag.defaultFlag, visibility: NotificationVisibility.visibilityPublic, diff --git a/pubspec.yaml b/pubspec.yaml index 00a16b0..db455ac 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,37 +11,22 @@ dependencies: flutter: sdk: flutter - # cupertino_icons: ^1.0.8 - # Probably no icons needed for now - # GPS and Location Services - Essential only + bg_launcher: ^0.1.0 + flutter_overlay_window: ^0.5.0 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 - - # Retry logic for platform operations retry: ^3.1.2 + shared_preferences: ^2.3.4 + wakelock_plus: ^1.2.8 dev_dependencies: + flutter_launcher_icons: "^0.14.4" + flutter_lints: ^6.0.0 flutter_test: sdk: flutter - flutter_lints: ^6.0.0 - flutter_launcher_icons: "^0.14.4" flutter: uses-material-design: true