AnimarkerControllerDescription constructor
const
AnimarkerControllerDescription({
- required TickerProvider vsync,
- bool useRotation = true,
- OnStopover? onStopover,
- MarkerListener? onMarkerAnimation,
- double angleThreshold = 1.5,
- bool isActiveTrip = true,
- int runExpressAfter = 10,
- double rippleRadius = 0.5,
- RippleListener? onRippleAnimation,
- Curve curve = Curves.linear,
- Color rippleColor = Colors.red,
- Duration duration = const Duration(milliseconds: 2500),
- Duration rippleDuration = const Duration(milliseconds: 2000),
- 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),
});