Skip to content

Commit bef0343

Browse files
committed
Fixed deprecation warning
1 parent 93a9289 commit bef0343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

geolocator_web/example/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class _GeolocatorWidgetState extends State<GeolocatorWidget> {
5252
);
5353

5454
return Scaffold(
55-
backgroundColor: Theme.of(context).colorScheme.background,
55+
backgroundColor: Theme.of(context).colorScheme.surface,
5656
body: ListView.builder(
5757
itemCount: _positionItems.length,
5858
itemBuilder: (context, index) {

0 commit comments

Comments
 (0)