getPainter method

  1. @override
Painter getPainter(
  1. Animation<double> animation
)
override

Returns a Painter object that will paint the background.

Implementation

@override
Painter getPainter(Animation<double> animation) {
  return FaderPainter(
    animation: animation,
    data: this,
  );
}