WeatherPreview constructor

const WeatherPreview({
  1. required WeatherData weatherData,
  2. required dynamic onChanged(
    1. WeatherData
    ),
  3. Key? key,
})

Implementation

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