Open Weather Widget

A Flutter package that provides an easy-to-use weather widget powered by Open Weather Map.

Open Weather Widget

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

NameDescription
latitudeLatitude of place double
longitudeLongitude of place double
apiKeyYour OpenWeatherMap Api Key String
heightAdjust Widget Height
widthAdjust Widget Width
colorWidget Background Color
borderRadiusBorder radius
marginAdd Custom Margin
paddingAdd Custom Padding
activeColorChange color of selected day
activeBorderRadiusChange border radius of selected day
alignmentAdjust MainAxisAlignment for the widget
locationColorChange textcolor of location
temperatureColorChange textcolor of temperature
weatherTextColorChange textcolor of weather text
locationTextStyleChange textstyle for location text
weatherDetailsTextStyleChange textstyle for location text
temperatureTextStyleChange textstyle for location text
weekdayTextStyleChange textstyle for weekday text
maxTemperatureTextStyleChange textstyle for max temperature text
minTemperatureTextStyleChange textstyle for min temperature text
temperatureScaleTextStyleChange textstyle for Scale(Celsius) text

Support Me!

Buy me a coffee!

Libraries

open_weather_widget
string_utils
weather_bloc
weather_helper
weather_model
weather_provider
weather_repo
weather_widget