v0.1.3live_background
배경에 아름다운 움직이는 입자 보케 효과 벽지를 제공합니다.
배경에 멋진 움직이는 배경화면을 제공하세요.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
Provide nice moving wall paper on your background.
This repository is inspired by miickel/flutter_particle_clock.
And the code of this repository is based on miickel/flutter_particle_clock
Add live_background dependency on your pubspec.yaml file
live_background: ^{latest version}
https://user-images.githubusercontent.com/7719604/207383901-491692c5-52c8-4429-8c80-0f1380ede8d3.mp4
https://user-images.githubusercontent.com/7719604/207384180-10b8c128-e15a-492b-831a-b3b7025bad60.mp4
https://user-images.githubusercontent.com/7719604/207384463-5e63c237-8b0b-486f-bc3d-fe562d0119e8.mp4
import 'package:live_background/live_background.dart';
Stack(children: [LiveBackgroundWidget(), AnyWidget()])
//for example
LiveBackgroundWidget(
palette: Palette(colors: [Colors.red, Colors.green]),
velocityX: 2.5,
velocityY: 0,
particleMinSize: 10,
particleMaxSize: 30,
particleCount: 250,
blurSigmaX: 3,
blurSigmaY: 4.5,
clipBoundary: true //default value is true
)
final liveBackgroundController = LiveBackgroundController();
LiveBackgroundWidget(
controller: liveBackgroundController,
palette: _palette,
)
liveBackgroundController.setParticleCount(400);
liveBackgroundController.setVelocity(2.0, 10.5);
liveBackgroundController.setParticleSize(10, 30);
liveBackgroundController.setPalette(Palette(colors: [Colors.yellow, Colors.white]))
👤 Bansook Nam
Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the [contributing guide](Contributions, issues and feature requests are welcome.).
Give a ⭐️ if this project helped you!
Copyright © 2020 Bansook Nam.
This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator
의존성 목록 3 개
{"sdk":"flutter"}{"sdk":"flutter"}^6.0.0사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗