WeatherWidget constructor
const
WeatherWidget({
- Key? key,
- required dynamic location,
- required dynamic weatherBloc,
- double? height,
- double? width,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- MainAxisAlignment? alignment,
- Color? locationColor,
- Color? color,
- Color? temperatureColor,
- BorderRadiusGeometry? borderRadius,
- Color? weatherTextColor,
- Color? activeColor,
- BorderRadiusGeometry? activeBorderRadius,
- TextStyle? locationTextStyle,
- TextStyle? weatherDetailsTextStyle,
- TextStyle? temperatureTextStyle,
- TextStyle? weekdayTextStyle,
- TextStyle? maxTemperatureTextStyle,
- TextStyle? minTemperatureTextStyle,
- TextStyle? temperatureScaleTextStyle,
Implementation
const WeatherWidget({
Key? key,
required location,
required weatherBloc,
this.height,
this.width,
this.padding,
this.margin,
this.alignment,
this.locationColor,
this.color,
this.temperatureColor,
this.borderRadius,
this.weatherTextColor,
this.activeColor,
this.activeBorderRadius,
this.locationTextStyle,
this.weatherDetailsTextStyle,
this.temperatureTextStyle,
this.weekdayTextStyle,
this.maxTemperatureTextStyle,
this.minTemperatureTextStyle,
this.temperatureScaleTextStyle,
}) : _location = location,
_weatherBloc = weatherBloc,
super(key: key);