From 026534d34d56226d51b348ed46397055520c1e7f Mon Sep 17 00:00:00 2001 From: Maurits van Beusekom Date: Thu, 16 May 2024 10:53:06 +0200 Subject: [PATCH] Fixes deprecation warning in example app --- geolocator_android/example/lib/main.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geolocator_android/example/lib/main.dart b/geolocator_android/example/lib/main.dart index ced77bbde..9c4f72608 100644 --- a/geolocator_android/example/lib/main.dart +++ b/geolocator_android/example/lib/main.dart @@ -117,7 +117,7 @@ class _GeolocatorWidgetState extends State { 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) {