NibPathMotion constructor

const NibPathMotion({
  1. Key? key,
  2. required Widget child,
  3. required Path path,
  4. MotionValue<double>? progress,
  5. Duration duration = const Duration(milliseconds: 1000),
  6. Curve curve = Curves.easeInOut,
  7. bool repeat = false,
  8. bool autoPlay = true,
  9. bool rotate = false,
  10. NibPathMotionController? controller,
})

Creates a NibPathMotion.

Implementation

const NibPathMotion({
  super.key,
  required this.child,
  required this.path,
  this.progress,
  this.duration = const Duration(milliseconds: 1000),
  this.curve = Curves.easeInOut,
  this.repeat = false,
  this.autoPlay = true,
  this.rotate = false,
  this.controller,
});