fadeIn method
void
fadeIn(
- Color color, {
- Duration duration = const Duration(milliseconds: 500),
- Curve curve = Curves.decelerate,
override
Animates the ambient color from fully transparent to color.
Implementation
@override
void fadeIn(
Color color, {
Duration duration = const Duration(milliseconds: 500),
Curve curve = Curves.decelerate,
}) {
this.color = color.withValues(alpha: 0);
animateToColor(color, duration: duration, curve: curve);
}