AnimatedThumb constructor

const AnimatedThumb({
  1. Key? key,
  2. Color? thumbColor,
  3. required Alignment alignment,
  4. required Duration duration,
  5. required NeumorphismShape shape,
  6. double? depth,
  7. Curve curve = Curves.linear,
  8. NeumorphismBorder border = const NeumorphismBorder.none(),
  9. LightSource lightSource = LightSource.topLeft,
  10. 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,
});