MoonWidget constructor

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

Implementation

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