Search packages, repositories and app categories

flutter_weather_bg_null_safety cover
Package detailsv1.0.0

flutter_weather_bg_null_safety

Provide a variety of weather background animation effects, covering 15 weather types, including sunny,rain,snow...

AndroidiOSWebmacOSWindowsLinux
30-day downloads
96
Likes
76
Pub points
150

Install package

flutter pub add flutter_weather_bg_null_safety

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter package that delivers dynamic weather-themed background animations for apps, supporting 15 weather types such as sunny, rainy, and snowy conditions. It uses null-safe Dart code and integrates seamlessly across multiple platforms. The package enhances user experience with visually engaging, real-time weather effects through animated gradients and shaders. Ideal for weather apps, dashboards, or any app aiming to create immersive atmospheric visuals.

Use cases

  • Weather applications
  • Interactive app backgrounds
  • Dashboard UI enhancements
  • Mobile and web app interfaces
  • Themed application designs

Key features

  • 15 weather type animations
  • Null-safe Dart implementation
  • Cross-platform support
  • Shader-based visual effects
  • Easy integration via pub
  • Customizable weather transitions

Suitable for

  • Developers building weather apps
  • UI designers seeking dynamic backgrounds
  • Apps requiring atmospheric visual themes
  • Cross-platform mobile and web projects
  • Creative developers focused on visual engagement

Considerations

  • May increase app bundle size
  • Performance depends on device capabilities
  • Requires understanding of Flutter rendering
  • Limited customization beyond provided weather types
  • Best suited for full-screen backgrounds

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

flutter_weather_bg_null_safety

#原仓库作者地址 https://github.com/xiaweizi/flutter_weather_bg

Pub Version

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

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_null_safety: ^1.0.0 to your pubspec.yaml dependencies. And import it:

import 'package:flutter_weather_bg_null_safety/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

Categories

Source repository

Projects using this package