FLUTTER ECOSYSTEM

lianyagang/flutter_weather_bg_null_safety

https://github.com/xiaweizi/flutter_weather_bg 에 따르면

flutter_weather_bg_null_safety 프로젝트 이미지
Stars
21
Forks
20
최근 푸시(UTC)
2024. 4. 28.
프로젝트 상태
활성
我是一点饭 GitHub avatar
GITHUB User

我是一点饭 ↗

简书地址: https://www.jianshu.com/u/46e13fd98cf7

언어Dart

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 2 개
  • flutter{"sdk":"flutter"}
  • flutter_test개발 의존성{"sdk":"flutter"}

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

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