AnimarkerControllerDescription constructor

const AnimarkerControllerDescription({
  1. required TickerProvider vsync,
  2. bool useRotation = true,
  3. OnStopover? onStopover,
  4. 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),
  14. Duration rippleIdleAfter = const Duration(seconds: 30),
})

Implementation

const AnimarkerControllerDescription({
  required this.vsync,
  this.useRotation = true,
  this.onStopover,
  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),
  this.rippleIdleAfter = const Duration(seconds: 30),
});