AnimatedClipReveal constructor

const AnimatedClipReveal({
  1. Key? key,
  2. required Widget child,
  3. Duration duration = AnimatedClipReveal.defaultDuration,
  4. PathBuilder pathBuilder = PathBuilders.slideUp,
  5. Curve curve = Curves.linear,
  6. Clip clipBehavior = Clip.antiAlias,
  7. StackFit fit = StackFit.loose,
  8. bool revealFirstChild = false,
})

Creates an AnimatedClipReveal.

All the arguments other than key must be non-null.

Implementation

const AnimatedClipReveal({
  Key? key,
  required this.child,
  this.duration = AnimatedClipReveal.defaultDuration,
  this.pathBuilder = PathBuilders.slideUp,
  this.curve = Curves.linear,
  this.clipBehavior = Clip.antiAlias,
  this.fit = StackFit.loose,
  this.revealFirstChild = false,
}) : super(key: key);