AnimatedLocationMarkerLayer constructor
const
AnimatedLocationMarkerLayer({
- Key? key,
- required LocationMarkerPosition position,
- LocationMarkerHeading? heading,
- LocationMarkerStyle style = const LocationMarkerStyle(),
- Duration moveAnimationDuration = const Duration(milliseconds: 200),
- Curve moveAnimationCurve = Curves.fastOutSlowIn,
- Duration rotateAnimationDuration = const Duration(milliseconds: 50),
- Curve rotateAnimationCurve = Curves.easeInOut,
Create a AnimatedLocationMarkerLayer.
Implementation
const AnimatedLocationMarkerLayer({
super.key,
required this.position,
this.heading,
this.style = const LocationMarkerStyle(),
this.moveAnimationDuration = const Duration(milliseconds: 200),
this.moveAnimationCurve = Curves.fastOutSlowIn,
this.rotateAnimationDuration = const Duration(milliseconds: 50),
this.rotateAnimationCurve = Curves.easeInOut,
});