SkyPainter constructor

const SkyPainter(
  1. Animation<Color?>? skyAnimation,
  2. Animation<double>? sunAnimation
)

Implementation

const SkyPainter(this.skyAnimation, this.sunAnimation)
    : super(repaint: skyAnimation);