搜尋套件、儲存庫與 APP 分類

flutter_weather_bg_null_safety 封面
套件詳情v1.0.0

flutter_weather_bg_null_safety

提供多種天氣背景動畫效果,涵蓋15種天氣類型,包括晴天、雨天、雪天等...

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
96
喜歡數
76
Pub 分數
150

安裝套件

flutter pub add flutter_weather_bg_null_safety

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

一個 Flutter 套件,為應用程式提供動態天氣主題背景動畫,支援 15 種天氣類型,例如晴天、雨天和雪天。它使用空安全的 Dart 程式碼,並可在多個平台無縫整合。該套件透過動畫漸層和著色器,提升使用者體驗,帶來視覺上引人入勝的即時天氣效果。非常適合天氣應用、儀表板或任何希望創造沉浸式氛圍視覺效果的應用。

適用情境

  • 天氣應用
  • 互動式應用背景
  • 儀表板 UI 增強
  • 行動與Web應用介面
  • 主題應用設計

主要特色

  • 15 種天氣類型動畫
  • 空安全的 Dart 实現
  • 跨平台支援
  • 基於著色器的視覺效果
  • 透過 pub 實現輕鬆整合
  • 可自定義的天氣過渡

適合對象

  • 開發天氣應用的開發者
  • 尋求動態背景的UI設計師
  • 需要氛圍視覺主題的應用
  • 跨平台行動與Web專案
  • 專注於視覺互動的創意開發者

使用建議

  • 可能增加應用程式套件大小
  • 效能取決於裝置功能
  • 需要理解 Flutter 渲染機制
  • 超出所提供天氣類型的自訂功能有限
  • 最適合全螢幕背景

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

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

所屬分類

原始碼儲存庫

使用此套件的專案