SunLayer constructor

SunLayer({
  1. required String image,
  2. required BlendMode mode,
  3. required bool flipped,
  4. required double speed,
})

Construct a sun layer

Implementation

SunLayer(
    {required this.image,
    required this.mode,
    required this.flipped,
    required this.speed});