Skip to content

Commit

Permalink
avoid_unused_constructor_parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
josxha committed Jun 6, 2024
1 parent bb3070f commit 27eaca2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
packages.
* Renamed `Maplibre` to `MapLibre` to be in line with maplibre-native
(affects for example the classes MaplibreMap and MaplibreMapController).
* Remove the parameter `hash` from `MapOptions` because it was not used.

### Changes

Expand Down
1 change: 0 additions & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ linter:
prefer_int_literals: false
unnecessary_lambdas: false
avoid_print: false
avoid_unused_constructor_parameters: false
no_default_cases: false
sort_pub_dependencies: false
unnecessary_breaks: false
Expand Down
1 change: 0 additions & 1 deletion maplibre_gl_web/lib/src/ui/map.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,6 @@ class MapOptions extends JsObjectWrapper<MapOptionsJsImpl> {
dynamic get locale => jsObject.locale;

factory MapOptions({
dynamic hash,
bool? interactive,
dynamic container,
num? bearingSnap,
Expand Down

0 comments on commit 27eaca2

Please sign in to comment.