WeatherIcon constructor

const WeatherIcon({
  1. required Weather? weather,
  2. required dynamic onChanged(
    1. Weather?
    ),
  3. Key? key,
})

Implementation

const WeatherIcon({
  required this.weather,
  required this.onChanged,
  Key? key,
}) : super(key: key);