fadeIn method

Widget fadeIn({
  1. Key? key,
  2. Duration duration = const Duration(milliseconds: 500),
  3. Curve curve = Curves.easeIn,
})

Fades in the widget.

Implementation

Widget fadeIn({
  Key? key,
  Duration duration = const Duration(milliseconds: 500),
  Curve curve = Curves.easeIn,
}) {
  return _AnimatedWrapper(
    key: key,
    type: _AnimationType.fadeIn,
    duration: duration,
    curve: curve,
    child: this,
  );
}