WeatherSummary constructor

const WeatherSummary({
  1. Key? key,
  2. required WeatherData weatherData,
  3. 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});