पैकेज, रिपॉज़िटरी और ऐप श्रेणियाँ खोजें

पैकेज विवरणv3.1.0

flutter_weather_bg

15 मौसम प्रकारों को शामिल करते हुए विभिन्न मौसम पृष्ठभूमि एनीमेशन प्रभाव प्रदान करें, जिसमें सूर्यमंडल, वर्षा, हिमपात आदि शामिल हैं...

AndroidiOSWebmacOSWindowsLinux
30-दिन डाउनलोड
128
लाइक
58
Pub अंक
155

पैकेज इंस्टॉल करें

flutter pub add flutter_weather_bg

पैकेज अवलोकन

सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।

flutter_weather_bg एक Flutter पैकेज है जो ऐप्स के लिए डायनामिक मौसम-थीम बैकग्राउंड एनिमेशन प्रदान करता है, 15 मौसम प्रकारों का समर्थन करता है जैसे सूर्यमुखी, वर्षा और हिमपात। इसके द्वारा एनिमेटेड ग्रेडिएंट और शेडर का उपयोग करके आकर्षक दृश्य प्रभाव बनाए जाते हैं, जो प्लेटफॉर्म के आधार पर उपयोगकर्ता अनुभव को बढ़ाते हैं। पैकेज को एक सरल आदेश के माध्यम से Flutter प्रोजेक्ट में बिना किसी दिक्कत के एकीकृत किया जा सकता है और मौसम ऐप्स, डैशबोर्ड या किसी भी ऐप के लिए आदर्श है जो वातावरणीय दृश्य चाहते हैं। इसका क्रॉस-प्लेटफॉर्म समर्थन Android, iOS, Web, macOS, Windows और Linux पर स्थिर प्रदर्शन सुनिश्चित करता है।

उपयोग

  • मौसम एप्लिकेशन
  • इंटरैक्टिव डैशबोर्ड
  • एप्प ऑनबोर्डिंग स्क्रीन्स
  • थीमड यूआई तत्व
  • डिजिटल साइनेज

मुख्य विशेषताएँ

  • 15 मौसम प्रकार के एनीमेशन
  • शेडर-आधारित दृश्य प्रभाव
  • क्रॉस-प्लेटफॉर्म संगतता
  • pub के माध्यम से आसान एकीकरण
  • कस्टमाइज़ किए गए मौसम संक्रमण
  • उपकरणों के माध्यम से चिकना प्रदर्शन

इनके लिए उपयुक्त

  • मौसम एप्प बनाने वाले डेवलपर्स
  • वातावरण पृष्ठभूमि खोज रहे डिज़ाइनर
  • गतिशील UI तत्वों की आवश्यकता वाले ऐप
  • क्रॉस-प्लेटफ़ॉर्म मोबाइल और वेब प्रोजेक्ट्स
  • रचनात्मक यूआई प्रयोग

विचार योग्य बातें

  • कम शक्तिशाली उपकरणों पर प्रदर्शन प्रभावित हो सकता है
  • Flutter रेंडरिंग की समझ की आवश्यकता है
  • मौसम के प्रकारों से आगे कस्टमाइजेशन सीमित
  • न्यूनतम फ़्रंटग्राउंड सामग्री के साथ सबसे अच्छा उपयोग किया जाता है
  • स्थिर पृष्ठभूमि की आवश्यकता के लिए उपयुक्त नहीं

मूल README

संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।

flutter_weather_bg

Pub Version Pub Likes License: MIT Platform

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

中文文档

Used by SimplicityWeather to render weather backgrounds. If you want to try the app directly, download the APK here.

Features

  • 15 weather types: sunny, sunny night, cloudy, cloudy night, overcast, light/middle/heavy rain, light/middle/heavy snow, foggy, hazy, dusty and thunder
  • Dynamic width/height — the scene adapts automatically
  • Smooth cross-fade transition when the weather type changes
  • Pure Dart implementation (no native code); renders with CustomPainter on Flutter canvas

Supported platforms

Platform Status
Android ✅
iOS ✅
Web ✅
macOS ✅
Windows Not tested
Linux Not tested

Requirements

  • Flutter >= 3.0.0
  • Dart SDK >= 3.0.0 < 4.0.0 (null-safety)

Installation

Available on pub.dev. Add the dependency to your pubspec.yaml:

dependencies:
  flutter_weather_bg: ^3.1.0

Then run:

flutter pub get

And import it wherever you need:

import 'package:flutter_weather_bg/flutter_weather_bg.dart';

Usage

Drop a WeatherBg into your widget tree, and pass the desired weatherType together with a width and a height:

import 'package:flutter/material.dart';
import 'package:flutter_weather_bg/flutter_weather_bg.dart';

class WeatherDemo extends StatelessWidget {
  const WeatherDemo({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: WeatherBg(
        weatherType: WeatherType.thunder,
        width: MediaQuery.of(context).size.width,
        height: MediaQuery.of(context).size.height,
      ),
    );
  }
}

Switching weatherType at runtime will automatically trigger a cross-fade animation.

A full demo (covering PageView, ListView, GridView, size animation and type switching) lives in example/.

Preview

Regular PageView effect

home

ListView effect

list

GridView effect with a dynamically-switchable column count

grid

Dynamic size demonstration

width_height

Weather type cross-fade transition

transition

Contributing

Issues and pull requests are welcome — feel free to open one on the issue tracker.

If you want to run the example locally:

git clone https://github.com/xiaweizi/flutter_weather_bg.git
cd flutter_weather_bg/example
flutter pub get
flutter run              # or: flutter run -d chrome

License

Released under the MIT License. Copyright © 2020-2026 xiaweizi.

Star History

Star History Chart

श्रेणियाँ

सोर्स रिपॉज़िटरी

इस पैकेज का उपयोग करने वाले प्रोजेक्ट

अभी कोई डेटा उपलब्ध नहीं है।