MoonWidget constructor

const MoonWidget({
  1. Key? key,
  2. required DateTime date,
  3. double size = 36,
  4. double scale = 0.22,
  5. double resolution = 96,
  6. Color moonColor = Colors.amber,
  7. Color earthshineColor = Colors.black87,
})

Implementation

const MoonWidget({
  Key? key,
  required this.date,
  this.size = 36,
  this.scale = 0.22,
  this.resolution = 96,
  this.moonColor = Colors.amber,
  this.earthshineColor = Colors.black87,
}) : super(key: key);