Last updated:
0 purchases
open weather widget
Open Weather Widget #
A Flutter package that provides an easy-to-use weather widget powered by Open Weather Map.
Features #
Fully Customizable Weather Widget
8 Day Weather Forecast
Wind Speed
Humidity
Temperature
Usage #
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),
),
Parameters #
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
Support Me! #
Buy me a coffee!
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.