DayNightBanner constructor

const DayNightBanner({
  1. Key? key,
  2. required TimeOfDay sunrise,
  3. required TimeOfDay sunset,
  4. required int duskSpanInMinutes,
})

Implementation

const DayNightBanner({
  Key? key,
  required this.sunrise,
  required this.sunset,
  required this.duskSpanInMinutes,
}) : super(key: key);