animateToColor abstract method

void animateToColor(
  1. Color color, {
  2. Duration duration = const Duration(milliseconds: 500),
  3. Curve curve = Curves.decelerate,
})

Implementation

void animateToColor(
  Color color, {
  Duration duration = const Duration(milliseconds: 500),
  Curve curve = Curves.decelerate,
});