Simple Snowfall
This Flutter package provides a simple and customizable snowfall animation widget. It's perfect for adding a festive touch to your Flutter applications during the holiday season.
Features
- Realistic snowfall animation.
- Customizable gravity and wind intensity.
- Easy to integrate into your Flutter app.
Getting started
To use this package, add simple_snowfall
as a dependency in your pubspec.yaml
file.
dependencies:
simple_snowfall: ^1.0.0
Then, import the package in your Dart code:
import 'package:simple_snowfall/snowfall.dart';
Usage
Create a SnowfallWidget
and place it in your widget tree. You can customize the gravity, wind intensity, and size.
SnowfallWidget(
gravity: 0.1,
windIntensity: 1,
size: Size(
MediaQuery.of(context).size.width,
MediaQuery.of(context).size.height,
),
)
Demo
Contact Information
For any inquiries or feedback, feel free to reach out:
- LinkedIn: Sarthak Parajuli
- GitHub: Sarthak Parajuli
Repository
Find the project on GitHub: Simple Snowfall Repo
License
This project is licensed under the MIT License - see the LICENSE file for details.