WeatherSummary constructor
const
WeatherSummary({
- Key? key,
- required WeatherData weatherData,
- Color? color,
Creates a WeatherSummary widget.
The weatherData
parameter must not be null.
The color
parameter is optional and can be used to customize the color scheme.
Implementation
const WeatherSummary({super.key, required this.weatherData, this.color});