Fix lint warnings and cleanup unused code after RadioGroup migration

Remove unused imports, fields, variables, and dead code introduced
during the RadioGroup widget migration and prior changes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Doug BorgandClaude Opus 4.6 committed 2026-02-09 13:36:18 -07:00
1 parent 98b73fe019
commit 037165653c
11 files changed
+6 -45

No files matched your search

+2 -8
View File
@@ -4,15 +4,11 @@ import 'package:flutter_map_animations/flutter_map_animations.dart';
import 'package:latlong2/latlong.dart';
import 'package:provider/provider.dart';
import '../app_state.dart' show AppState, FollowMeMode, UploadMode;
import '../app_state.dart' show AppState, FollowMeMode;
import '../services/offline_area_service.dart';
import '../services/network_status.dart';
import '../models/osm_node.dart';
import '../models/node_profile.dart';
import '../models/suspected_location.dart';
import '../models/tile_provider.dart';
import '../state/session_state.dart';
import 'debouncer.dart';
import 'node_provider_with_cache.dart';
import 'map/map_overlays.dart';
@@ -170,9 +166,7 @@ class MapViewState extends State<MapView> {
} catch (_) {
return [];
}
return mapBounds != null
? NodeProviderWithCache.instance.getCachedNodesForBounds(mapBounds)
: [];
return NodeProviderWithCache.instance.getCachedNodesForBounds(mapBounds);
} catch (e) {
debugPrint('[MapView] Could not get nearby nodes: $e');
return [];