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))],
)