Closed stx closed 2 years ago
I was able to fix it in my project by changing the references from Stream<Null>
to Stream<void>
without any issues so far. Should be in lib/src/plugin.dart and lib/src/layer.dart
This package depends on the latest published version flutter_map: ^0.14.0
.
Keep an eye on https://github.com/fleaflet/flutter_map/issues/1188 to upgrade this package when a new tagged version is available.
Error: The parameter 'stream' of the method 'LocationMarkerPlugin.createLayer' has type 'Stream', which does not match the corresponding type, 'Stream', in the overridden method, 'MapPlugin.createLayer'.
MapPlugin.createLayer now uses Stream instead of Stream:
https://github.com/fleaflet/flutter_map/blob/master/lib/src/plugins/plugin.dart