AnimatedThumb constructor
AnimatedThumb({
- Key? key,
- Color? thumbColor,
- required Alignment alignment,
- required Duration duration,
- required NeumorphicShape shape,
- double? depth,
- Curve curve = Curves.linear,
- NeumorphicBorder border = const NeumorphicBorder.none(),
- LightSource lightSource = LightSource.topLeft,
- bool disableDepth = false,
Implementation
AnimatedThumb({
Key? key,
this.thumbColor,
required this.alignment,
required this.duration,
required this.shape,
this.depth,
this.curve = Curves.linear,
this.border = const NeumorphicBorder.none(),
this.lightSource = LightSource.topLeft,
this.disableDepth = false,
}) : super(key: key);