Skip to content

Commit

Permalink
[geolocator] Fix analyze issue
Browse files Browse the repository at this point in the history
background is deprecated, so use surface instead.
  • Loading branch information
JSUYA committed May 23, 2024
1 parent a34f10f commit 9c3cf59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/geolocator/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class _GeolocatorWidgetState extends State<GeolocatorWidget> {
ExamplePage(
Icons.location_on,
(context) => Scaffold(
backgroundColor: Theme.of(context).colorScheme.background,
backgroundColor: Theme.of(context).colorScheme.surface,
body: ListView.builder(
itemCount: _positionItems.length,
itemBuilder: (context, index) {
Expand Down

0 comments on commit 9c3cf59

Please sign in to comment.