custom_snowfall_effect 0.1.5
custom_snowfall_effect: ^0.1.5 copied to clipboard
A Flutter package that creates a beautiful snowfall effect with customizable flake size, and color and widgets.
custom_snowfall_effect #
A Flutter package that creates a beautiful snowfall effect with customizable flake size, speed, and color.
✨ Features #
- Configurable number of snowflakes
- Adjustable flake size and speed
- Customizable colors
- Lightweight and efficient animation
📦 Installation #
Add this package to your pubspec.yaml:
dependencies:
custom_snowfall_effect: latest_version
Then run:
flutter pub get
🚀 Usage #
Import the package:
import 'package:custom_snowfall_effect/custom_snowfall.dart';
Use the Snowfall widget:
Snowfall(
numberOfFlakes: 150,
minSize: 2.0,
maxSize: 6.0,
minSpeed: 1.0,
maxSpeed: 3.0,
color: Colors.white,
//if needed custom widgets
snowflakeWidgets: [Text("❄️", style: TextStyle(fontSize: 30))],
)