AnimatedLocationMarkerLayer constructor

const AnimatedLocationMarkerLayer({
  1. Key? key,
  2. required LocationMarkerPosition position,
  3. LocationMarkerHeading? heading,
  4. LocationMarkerStyle style = const LocationMarkerStyle(),
  5. Duration moveAnimationDuration = const Duration(milliseconds: 200),
  6. Curve moveAnimationCurve = Curves.fastOutSlowIn,
  7. Duration rotateAnimationDuration = const Duration(milliseconds: 50),
  8. 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,
});