fadeOut method
Applies an OpacityEffect to a Widget with a default fade out animation.
Implementation
Widget fadeOut({double start = 1, double end = 0}) {
return EffectWidget(
start: OpacityEffect(opacity: start),
end: OpacityEffect(opacity: end),
child: this,
);
}