AnimarkerControllerDescription constructor

const AnimarkerControllerDescription({
  1. required TickerProvider vsync,
  2. required OnStopover? onStopover,
  3. required bool useRotation,
  4. required MarkerListener? onMarkerAnimation,
  5. double angleThreshold = 1.5,
  6. bool isActiveTrip = true,
  7. int runExpressAfter = 10,
  8. double rippleRadius = 0.5,
  9. RippleListener? onRippleAnimation,
  10. Curve curve = Curves.linear,
  11. Color rippleColor = Colors.red,
  12. Duration duration = const Duration(milliseconds: 2500),
  13. Duration rippleDuration = const Duration(milliseconds: 2000),
})

Implementation

const AnimarkerControllerDescription({
  required this.vsync,
  required this.onStopover,
  required this.useRotation,
  required this.onMarkerAnimation,
  this.angleThreshold = 1.5,
  this.isActiveTrip = true,
  this.runExpressAfter = 10,
  this.rippleRadius = 0.5,
  this.onRippleAnimation,
  this.curve = Curves.linear,
  this.rippleColor = Colors.red,
  this.duration = const Duration(milliseconds: 2500),
  this.rippleDuration = const Duration(milliseconds: 2000),
});