Closed bramp closed 11 months ago
Thanks you for contributing. I found some problems in this PR.
Custom layers need to define their behaviour The way custom layers are defined has changed. Mobile/moving layers should now use
MobileLayerTransformer
at the top of their widget tree.
For this change, NonRotationContainer
is not needed and can be removed.
nonRotatedChildren
has been removed The approach to 'mobile' and 'static' layers has been changed. Mobile layers now wrap themselves in aMobileLayerTransformer
which uses the inherited state, instead ofFlutterMap
applying the affects directly to them. Static layers should now ensure they useAlign
and/orSizedBox.expand
.
For this change, in the 4 examples used nonRotatedChildren
, the widgets in nonRotatedChildren
should be wraped in Align, otherwise Position widget throw an error.
Fixed these problems in 5f49fc53.
Changes required for Flutter Map v6, including migrating away from deprecated properties.
Fixes https://github.com/tlserver/flutter_map_location_marker/issues/87