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