A Flutter package that provides an easy-to-use weather widget powered by Open Weather Map.
- Fully Customizable Weather Widget
- 8 Day Weather Forecast
- Wind Speed
- Humidity
- Temperature
- Simply add the required parameters - latitude, longitude, location and apiKey
OpenWeatherWidget( latitude: 22.550460, longitude: 88.347311, location: "Kolkata", height: 180, apiKey: apiKey, alignment: MainAxisAlignment.center, margin: EdgeInsets.all(5), ),
Name | Description |
---|---|
latitude | Latitude of place double |
longitude | Longitude of place double |
apiKey | Your OpenWeatherMap Api Key String |
height | Adjust Widget Height |
width | Adjust Widget Width |
color | Widget Background Color |
borderRadius | Border radius |
margin | Add Custom Margin |
padding | Add Custom Padding |
activeColor | Change color of selected day |
activeBorderRadius | Change border radius of selected day |
alignment | Adjust MainAxisAlignment for the widget |
locationColor | Change textcolor of location |
temperatureColor | Change textcolor of temperature |
weatherTextColor | Change textcolor of weather text |
locationTextStyle | Change textstyle for location text |
weatherDetailsTextStyle | Change textstyle for location text |
temperatureTextStyle | Change textstyle for location text |
weekdayTextStyle | Change textstyle for weekday text |
maxTemperatureTextStyle | Change textstyle for max temperature text |
minTemperatureTextStyle | Change textstyle for min temperature text |
temperatureScaleTextStyle | Change textstyle for Scale(Celsius) text |