FadeIn constructor
const
FadeIn({
- Key? key,
- FadeDirection fadeDirection = FadeDirection.startToEnd,
- double offset = 1.0,
- AnimationController? controller,
- Duration? duration,
- Curve curve = Curves.easeOut,
- required Widget child,
Implementation
const FadeIn({
Key? key,
this.fadeDirection = FadeDirection.startToEnd,
this.offset = 1.0,
this.controller,
this.duration,
this.curve = Curves.easeOut,
required this.child,
}) : assert(controller == null && duration != null ||
controller != null && duration == null),
assert(offset > 0),
super(key: key);