Skip to content

xiaweizi/flutter_weather_bg

Repository files navigation

flutter_weather_bg

Pub Version

A rich and cool weather dynamic background plug-in, supporting 15 weather types. README_ZH

Use this plug-in to complete the weather background animation effect in my own project SimplicityWeather . If you want to experience it, please click the download link to download it

Features

  • It supports 15 weather types: sunny, sunny evening, cloudy, cloudy evening, overcast, small to medium heavy rain, small to medium heavy snow, fog, haze, floating dust and thunderstorm
  • Support dynamic scale size, adapt to multi scene display
  • Supports over animation when switching weather types

Supported platforms

  • Flutter Android
  • Flutter iOS
  • Flutter web
  • Flutter desktop

Installation

Add flutter_weather_bg: ^2.8.0 to your pubspec.yaml dependencies. And import it:

import 'package:flutter_weather_bg/flutter_weather_bg.dart';

How to use

To configure the weather type by creating WeatherBg, you need to pass in the width and height to complete the final display

WeatherBg(weatherType: _weatherType,width: _width,height: _height,)

Preview

Regular pageview display effect

home

List listview display effect

list

The grid GridViewdisplays the effect and supports the dynamic switching of the grid number

check

Dynamic reduction example demonstration

width_height

Toggle weather type transition animation

check

License

MIT

About

A rich and cool weather dynamic background plug-in

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published