File tree 5 files changed +13
-12
lines changed
5 files changed +13
-12
lines changed Original file line number Diff line number Diff line change
1
+ ## 2.3.10
2
+
3
+ * Updated dart sdk to sdk: ` ^3.5.0 `
4
+ * Fixed example project warnings
5
+
1
6
## 2.3.9
2
7
3
8
* Adds privacy manifest for macOS.
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ void main() {
18
18
/// Example [Widget] showing the functionalities of the geolocator plugin
19
19
class GeolocatorWidget extends StatefulWidget {
20
20
/// Creates a new GeolocatorWidget.
21
- const GeolocatorWidget ({Key ? key}) : super ( key: key );
21
+ const GeolocatorWidget ({super . key} );
22
22
23
23
/// Utility method to create a page with the Baseflow templating.
24
24
static ExamplePage createPage () {
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ description: Demonstrates how to use the geolocator_ios plugin.
6
6
publish_to : ' none' # Remove this line if you wish to publish to pub.dev
7
7
8
8
environment :
9
- sdk : " >=2.15.0 <4.0.0 "
9
+ sdk : ^3.5.0
10
10
11
11
dependencies :
12
12
baseflow_plugin_template : ^2.1.2
Original file line number Diff line number Diff line change @@ -13,16 +13,12 @@ class AppleSettings extends LocationSettings {
13
13
AppleSettings ({
14
14
this .pauseLocationUpdatesAutomatically = false ,
15
15
this .activityType = ActivityType .other,
16
- LocationAccuracy accuracy = LocationAccuracy .best ,
17
- int distanceFilter = 0 ,
18
- Duration ? timeLimit,
16
+ super .accuracy ,
17
+ super . distanceFilter,
18
+ super . timeLimit,
19
19
this .showBackgroundLocationIndicator = false ,
20
20
this .allowBackgroundLocationUpdates = true ,
21
- }) : super (
22
- accuracy: accuracy,
23
- distanceFilter: distanceFilter,
24
- timeLimit: timeLimit,
25
- );
21
+ });
26
22
27
23
/// Allows the location manager to pause updates to improve battery life
28
24
/// on the target device without sacrificing location data.
Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ name: geolocator_apple
2
2
description : Geolocation Apple plugin for Flutter. This plugin provides the Apple implementation for the geolocator.
3
3
repository : https://github.com/baseflow/flutter-geolocator/tree/main/geolocator_apple
4
4
issue_tracker : https://github.com/baseflow/flutter-geolocator/issues?q=is%3Aissue+is%3Aopen
5
- version : 2.3.9
5
+ version : 2.3.10
6
6
7
7
environment :
8
- sdk : " >=2.15.0 <4.0.0 "
8
+ sdk : ^3.5.0
9
9
flutter : " >=2.8.0"
10
10
11
11
flutter :
You can’t perform that action at this time.
0 commit comments