AnimatedSwitchmark constructor
const
AnimatedSwitchmark({
- Key? key,
- bool? value,
- double? thumbInset,
- Color? trackBorderColor,
- double? trackBorderWidth,
- BorderRadiusGeometry? trackBorderRadius,
- Color? trackColor,
- double? trackHeight,
- Color? trackShadow,
- double? trackElevation,
- ShapeBorder? thumbShape,
- Color? thumbColor,
- double? thumbSize,
- Color? thumbShadow,
- double? thumbElevation,
- Color? overlayColor,
- double? overlayOpacity,
- double? overlayRadius,
- Size? size,
- Duration duration = const Duration(milliseconds: 200),
- Curve curve = Curves.linear,
Implementation
const AnimatedSwitchmark({
Key? key,
this.value,
this.thumbInset,
this.trackBorderColor,
this.trackBorderWidth,
this.trackBorderRadius,
this.trackColor,
this.trackHeight,
this.trackShadow,
this.trackElevation,
this.thumbShape,
this.thumbColor,
this.thumbSize,
this.thumbShadow,
this.thumbElevation,
this.overlayColor,
this.overlayOpacity,
this.overlayRadius,
this.size,
Duration duration = const Duration(milliseconds: 200),
Curve curve = Curves.linear,
}) : super(
key: key,
duration: duration,
curve: curve,
);