File tree 6 files changed +11
-10
lines changed
6 files changed +11
-10
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.2.2
2
+
3
+ - Updates dart sdk to ` sdk: ^3.5.0 `
4
+ - Fixes analyzer issues
5
+
1
6
## 0.2.1
2
7
3
8
- Updates dependency on package_info_plus to version 8.0.0.
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ void main() {
21
21
/// Example [Widget] showing the functionalities of the geolocator plugin
22
22
class GeolocatorWidget extends StatefulWidget {
23
23
/// Create a GeolocatorWidget.
24
- const GeolocatorWidget ({Key ? key}) : super ( key: key );
24
+ const GeolocatorWidget ({super . key} );
25
25
26
26
/// Utility method to create a page with the Baseflow templating.
27
27
static ExamplePage createPage () {
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ description: Demonstrates how to use the geolocator_linux 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 <3.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 @@ -45,8 +45,6 @@ extension GeoClueLocationAccuracy on LocationAccuracy {
45
45
case LocationAccuracy .best:
46
46
case LocationAccuracy .bestForNavigation:
47
47
return GeoClueAccuracyLevel .exact;
48
- default :
49
- return GeoClueAccuracyLevel .none;
50
48
}
51
49
}
52
50
}
Original file line number Diff line number Diff line change 1
- import 'package:geoclue/geoclue.dart' ;
2
1
import 'package:geolocator_platform_interface/geolocator_platform_interface.dart' ;
3
2
import 'package:gsettings/gsettings.dart' ;
4
3
import 'package:dbus/dbus.dart' ;
5
4
6
5
import 'geolocator_linux.dart' ;
7
6
8
7
class GeolocatorGnome extends GeolocatorLinux {
9
- GeolocatorGnome (GeoClueManager manager, {GSettings ? settings})
10
- : _settings = settings ?? GSettings ('org.gnome.system.location' ),
11
- super (manager);
8
+ GeolocatorGnome (super .manager, {GSettings ? settings})
9
+ : _settings = settings ?? GSettings ('org.gnome.system.location' );
12
10
13
11
final GSettings _settings;
14
12
Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ description: Geolocation Linux plugin for Flutter. This plugin provides the
3
3
Linux implementation for the geolocator.
4
4
repository : https://github.com/baseflow/flutter-geolocator/tree/main/geolocator_linux
5
5
issue_tracker : https://github.com/baseflow/flutter-geolocator/issues?q=is%3Aissue+is%3Aopen
6
- version : 0.2.1
6
+ version : 0.2.2
7
7
8
8
environment :
9
- sdk : ' >=2.15.0 <4.0.0 '
9
+ sdk : ^3.5.0
10
10
flutter : " >=2.8.0"
11
11
12
12
flutter :
You can’t perform that action at this time.
0 commit comments