FadeIn constructor
const
FadeIn({
- Key? key,
- required Widget child,
- Duration duration = const Duration(milliseconds: 500),
- Duration delay = Duration.zero,
- Curve curve = Curves.easeOut,
- bool autoPlay = true,
- VoidCallback? onComplete,
- VoidCallback? onCancel,
- bool maintainState = true,
- bool respectSystemPreferences = true,
Creates a fade-in animation widget
Implementation
const FadeIn({
super.key,
required this.child,
this.duration = const Duration(milliseconds: 500),
this.delay = Duration.zero,
this.curve = Curves.easeOut,
this.autoPlay = true,
this.onComplete,
this.onCancel,
this.maintainState = true,
this.respectSystemPreferences = true,
});