Skip to content

Commit b834ab1

Browse files
update lint to 2.8.0
1 parent 11833cf commit b834ab1

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.fvmrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"flutter": "3.29.3"
3+
}

arcgis_map_sdk/lib/src/arcgis_map_controller.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class ArcgisMapController {
4040
void Function(dynamic)? onPressed,
4141
String? url,
4242
void Function(double)? getZoom,
43-
}) async {
43+
}) {
4444
return ArcgisMapPlatform.instance.addFeatureLayer(
4545
options,
4646
data,
@@ -62,7 +62,7 @@ class ArcgisMapController {
6262
required String layerId,
6363
required GraphicsLayerOptions options,
6464
void Function(dynamic)? onPressed,
65-
}) async {
65+
}) {
6666
return ArcgisMapPlatform.instance.addGraphicsLayer(
6767
options,
6868
mapId,
@@ -75,7 +75,7 @@ class ArcgisMapController {
7575
required String layerId,
7676
required String url,
7777
required SceneLayerOptions options,
78-
}) async {
78+
}) {
7979
return ArcgisMapPlatform.instance.addSceneLayer(
8080
options: options,
8181
layerId: layerId,
@@ -300,7 +300,7 @@ class ArcgisMapController {
300300
ArcgisMapPlatform.instance.addViewPadding(mapId, padding);
301301
}
302302

303-
Future<void> toggleBaseMap({required BaseMap baseMap}) async {
303+
Future<void> toggleBaseMap({required BaseMap baseMap}) {
304304
return ArcgisMapPlatform.instance.toggleBaseMap(mapId, baseMap);
305305
}
306306

arcgis_map_sdk/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dependencies:
1818
sdk: flutter
1919

2020
dev_dependencies:
21-
lint: ^2.0.0
21+
lint: ^2.8.0
2222

2323
flutter:
2424
plugin:

0 commit comments

Comments
 (0)