Skip to content

Commit 6ea0e33

Browse files
committed
Fixes
1 parent 28bf243 commit 6ea0e33

File tree

8 files changed

+23
-14
lines changed

8 files changed

+23
-14
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Flutter geocoding plugin
22

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+
39
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:
410

511
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;

geocoding/example/lib/main.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ void main() {
99
/// Example [Widget] showing the use of the Geocode plugin
1010
class GeocodeWidget extends StatefulWidget {
1111
/// Constructs the [GeocodeWidget] class
12-
const GeocodeWidget({Key? key}) : super(key: key);
12+
const GeocodeWidget({super.key});
1313

1414
@override
1515
State<GeocodeWidget> createState() => _GeocodeWidgetState();
@@ -179,7 +179,7 @@ class _GeocodeWidgetState extends State<GeocodeWidget> {
179179
}
180180

181181
class _GeocodingExample extends StatelessWidget {
182-
const _GeocodingExample({Key? key}) : super(key: key);
182+
const _GeocodingExample();
183183

184184
@override
185185
Widget build(BuildContext context) {

geocoding/example/pubspec.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ description: Demonstrates how to use the geocoding plugin.
66
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
77

88
environment:
9-
sdk: '>=2.12.0 <4.0.0'
9+
sdk: ">=3.3.0 <4.0.0"
10+
flutter: ">=3.0.0"
1011

1112
dependencies:
1213
baseflow_plugin_template: ^2.1.2

geocoding/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ repository: https://github.com/baseflow/flutter-geocoding/tree/main/geocoding
55
issue_tracker: https://github.com/Baseflow/flutter-geocoding/issues
66

77
environment:
8-
sdk: ">=2.17.0 <4.0.0"
8+
sdk: ">=3.3.0 <4.0.0"
99
flutter: ">=3.0.0"
1010

1111
dependencies:
@@ -20,7 +20,7 @@ dev_dependencies:
2020
flutter_test:
2121
sdk: flutter
2222

23-
flutter_lints: ^3.0.1
23+
flutter_lints: ^5.0.0
2424
mockito: ^5.0.0
2525
plugin_platform_interface: ^2.0.0
2626

geocoding_android/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ repository: https://github.com/baseflow/flutter-geocoding/tree/main/geocoding_an
55
issue_tracker: https://github.com/Baseflow/flutter-geocoding/issues
66

77
environment:
8-
sdk: ">=2.17.0 <4.0.0"
8+
sdk: ">=3.3.0 <4.0.0"
99
flutter: ">=3.0.0"
1010

1111
dependencies:
@@ -18,7 +18,7 @@ dev_dependencies:
1818
flutter_test:
1919
sdk: flutter
2020

21-
flutter_lints: ^3.0.1
21+
flutter_lints: ^5.0.0
2222
mockito: ^5.0.0
2323
plugin_platform_interface: ^2.0.0
2424

geocoding_ios/example/pubspec.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ description: Demonstrates how to use the geocoding plugin.
66
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
77

88
environment:
9-
sdk: '>=2.12.0 <3.0.0'
9+
sdk: ">=3.3.0 <4.0.0"
10+
flutter: ">=3.0.0"
1011

1112
dependencies:
1213
flutter:

geocoding_ios/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ repository: https://github.com/baseflow/flutter-geocoding/tree/main/geocoding_io
55
issue_tracker: https://github.com/Baseflow/flutter-geocoding/issues
66

77
environment:
8-
sdk: ">=2.17.0 <4.0.0"
8+
sdk: ">=3.3.0 <4.0.0"
99
flutter: ">=3.0.0"
1010

1111
dependencies:
@@ -18,7 +18,7 @@ dev_dependencies:
1818
flutter_test:
1919
sdk: flutter
2020

21-
flutter_lints: ^3.0.1
21+
flutter_lints: ^5.0.0
2222
mockito: ^5.0.0
2323
plugin_platform_interface: ^2.0.0
2424

geocoding_platform_interface/pubspec.yaml

+5-4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ homepage: https://github.com/baseflow/flutter-geocoding/tree/main/geocoding_plat
55
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
66
version: 3.2.1
77

8+
environment:
9+
sdk: ">=3.3.0 <4.0.0"
10+
flutter: ">=3.0.0"
11+
812
dependencies:
913
flutter:
1014
sdk: flutter
@@ -16,9 +20,6 @@ dev_dependencies:
1620
flutter_test:
1721
sdk: flutter
1822

19-
flutter_lints: ^3.0.1
23+
flutter_lints: ^5.0.0
2024
mockito: ^5.0.0
2125

22-
environment:
23-
sdk: '>=2.12.0 <4.0.0'
24-
flutter: ">=1.10.0"

0 commit comments

Comments
 (0)