File tree 8 files changed +23
-14
lines changed
geocoding_platform_interface
8 files changed +23
-14
lines changed Original file line number Diff line number Diff line change 1
1
# Flutter geocoding plugin
2
2
3
+ [ ![ pub package] ( https://img.shields.io/pub/v/geocoding.svg )] ( https://pub.dartlang.org/packages/geocoding )
4
+ [ ![ License: MIT] ( https://img.shields.io/badge/license-MIT-blue.svg )] ( https://opensource.org/licenses/MIT )
5
+ [ ![ style: effective dart] ( https://img.shields.io/badge/style-effective_dart-40c4ff.svg )] ( https://github.com/tenhobi/effective_dart )
6
+ [ ![ Buid status] ( https://github.com/Baseflow/flutter-geocoding/workflows/Geocoding/badge.svg )] ( https://github.com/Baseflow/flutter-geocoding/actions?query=workflow%3AGeocoding )
7
+ [ ![ codecov] ( https://codecov.io/gh/Baseflow/flutter-geocoding/branch/main/graph/badge.svg )] ( https://codecov.io/gh/Baseflow/flutter-geocoding )
8
+
3
9
The Flutter geocoding plugin is build following the federated plugin architecture. A detailed explanation of the federated plugin concept can be found in the [ Flutter documentation] ( https://flutter.dev/docs/development/packages-and-plugins/developing-packages#federated-plugins ) . This means the geocoding plugin is separated into the following packages:
4
10
5
11
1 . [ ` geocoding ` ] [ 1 ] : the app facing package. This is the package users depend on to use the plugin in their project. For details on how to use the [ ` geocoding ` ] [ 1 ] plugin you can refer to its [ README.md] [ 2 ] file. At this moment the Android and iOS platform implementations are also part of this package;
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ void main() {
9
9
/// Example [Widget] showing the use of the Geocode plugin
10
10
class GeocodeWidget extends StatefulWidget {
11
11
/// Constructs the [GeocodeWidget] class
12
- const GeocodeWidget ({Key ? key}) : super ( key: key );
12
+ const GeocodeWidget ({super . key} );
13
13
14
14
@override
15
15
State <GeocodeWidget > createState () => _GeocodeWidgetState ();
@@ -179,7 +179,7 @@ class _GeocodeWidgetState extends State<GeocodeWidget> {
179
179
}
180
180
181
181
class _GeocodingExample extends StatelessWidget {
182
- const _GeocodingExample ({ Key ? key}) : super (key : key );
182
+ const _GeocodingExample ();
183
183
184
184
@override
185
185
Widget build (BuildContext context) {
Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ description: Demonstrates how to use the geocoding 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.12.0 <4.0.0'
9
+ sdk : " >=3.3.0 <4.0.0"
10
+ flutter : " >=3.0.0"
10
11
11
12
dependencies :
12
13
baseflow_plugin_template : ^2.1.2
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ repository: https://github.com/baseflow/flutter-geocoding/tree/main/geocoding
5
5
issue_tracker : https://github.com/Baseflow/flutter-geocoding/issues
6
6
7
7
environment :
8
- sdk : " >=2.17 .0 <4.0.0"
8
+ sdk : " >=3.3 .0 <4.0.0"
9
9
flutter : " >=3.0.0"
10
10
11
11
dependencies :
@@ -20,7 +20,7 @@ dev_dependencies:
20
20
flutter_test :
21
21
sdk : flutter
22
22
23
- flutter_lints : ^3 .0.1
23
+ flutter_lints : ^5 .0.0
24
24
mockito : ^5.0.0
25
25
plugin_platform_interface : ^2.0.0
26
26
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ repository: https://github.com/baseflow/flutter-geocoding/tree/main/geocoding_an
5
5
issue_tracker : https://github.com/Baseflow/flutter-geocoding/issues
6
6
7
7
environment :
8
- sdk : " >=2.17 .0 <4.0.0"
8
+ sdk : " >=3.3 .0 <4.0.0"
9
9
flutter : " >=3.0.0"
10
10
11
11
dependencies :
@@ -18,7 +18,7 @@ dev_dependencies:
18
18
flutter_test :
19
19
sdk : flutter
20
20
21
- flutter_lints : ^3 .0.1
21
+ flutter_lints : ^5 .0.0
22
22
mockito : ^5.0.0
23
23
plugin_platform_interface : ^2.0.0
24
24
Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ description: Demonstrates how to use the geocoding 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.12.0 <3.0.0'
9
+ sdk : " >=3.3.0 <4.0.0"
10
+ flutter : " >=3.0.0"
10
11
11
12
dependencies :
12
13
flutter :
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ repository: https://github.com/baseflow/flutter-geocoding/tree/main/geocoding_io
5
5
issue_tracker : https://github.com/Baseflow/flutter-geocoding/issues
6
6
7
7
environment :
8
- sdk : " >=2.17 .0 <4.0.0"
8
+ sdk : " >=3.3 .0 <4.0.0"
9
9
flutter : " >=3.0.0"
10
10
11
11
dependencies :
@@ -18,7 +18,7 @@ dev_dependencies:
18
18
flutter_test :
19
19
sdk : flutter
20
20
21
- flutter_lints : ^3 .0.1
21
+ flutter_lints : ^5 .0.0
22
22
mockito : ^5.0.0
23
23
plugin_platform_interface : ^2.0.0
24
24
Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ homepage: https://github.com/baseflow/flutter-geocoding/tree/main/geocoding_plat
5
5
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
6
6
version : 3.2.1
7
7
8
+ environment :
9
+ sdk : " >=3.3.0 <4.0.0"
10
+ flutter : " >=3.0.0"
11
+
8
12
dependencies :
9
13
flutter :
10
14
sdk : flutter
@@ -16,9 +20,6 @@ dev_dependencies:
16
20
flutter_test :
17
21
sdk : flutter
18
22
19
- flutter_lints : ^3 .0.1
23
+ flutter_lints : ^5 .0.0
20
24
mockito : ^5.0.0
21
25
22
- environment :
23
- sdk : ' >=2.12.0 <4.0.0'
24
- flutter : " >=1.10.0"
You can’t perform that action at this time.
0 commit comments