AnimatedThumb constructor

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