snowfall 0.0.2 icon indicating copy to clipboard operation
snowfall: ^0.0.2 copied to clipboard

A beautiful Snowfall effect for your widgets, simply to implement in your App.

Features #

A Flutter package written to add a snowfall effect to your widgets.

Getting started #

Add this library to pubspec.yaml

Import it where you want to use it:

import 'package:snowfall/snowfall.dart';

Usage #

Enclose your widget with SnowfallWidget:

Scaffold(
 body: SnowfallWidget(child: Center(
// Center is a layout widget. It takes a single child and positions it
// in the middle of the parent.
child: YOURWIDGET
)

Optional named arguments: #

 Color color // Defaults to White color;
 int numberOfSnowflakes // Defaults to 30
 int alpha // defaults to 180
)

Additional information #

This project is based on Constantin Stan's work. Here is the original project

4
likes
110
pub points
77%
popularity

Publisher

unverified uploader

A beautiful Snowfall effect for your widgets, simply to implement in your App.

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.GPL-3.0 (LICENSE)

Dependencies

flutter, simple_animations

More

Packages that depend on snowfall