AnilocationTaskDescription constructor

const AnilocationTaskDescription({
  1. required TickerProvider vsync,
  2. required MarkerId markerId,
  3. required RippleListener? onRippleAnimation,
  4. required ILocationDispatcher dispatcher,
  5. bool useRotation = true,
  6. int runExpressAfter = 10,
  7. ILatLng begin = const ILatLng.empty(),
  8. ILatLng end = const ILatLng.empty(),
  9. Curve curve = Curves.linear,
  10. double angleThreshold = 5.5,
  11. OnAnimCompleted? onAnimCompleted,
  12. double rippleRadius = 0.5,
  13. LatLngListener? latLngListener,
  14. bool isActiveTrip = true,
  15. Color rippleColor = Colors.red,
  16. Duration duration = const Duration(milliseconds: 2000),
  17. Duration rippleDuration = const Duration(milliseconds: 2000),
})

Implementation

const AnilocationTaskDescription({
  required this.vsync,
  required this.markerId,
  required this.onRippleAnimation,
  required ILocationDispatcher dispatcher,
  this.useRotation = true,
  this.runExpressAfter = 10,
  this.begin = const ILatLng.empty(),
  this.end = const ILatLng.empty(),
  this.curve = Curves.linear,
  this.angleThreshold = 5.5,
  this.onAnimCompleted,
  this.rippleRadius = 0.5,
  this.latLngListener,
  this.isActiveTrip = true,
  this.rippleColor = Colors.red,
  this.duration = const Duration(milliseconds: 2000),
  this.rippleDuration = const Duration(milliseconds: 2000),
}) : _dispatcher = dispatcher;