Skip to content

Flutter package for generating Snowfall effect

License

Notifications You must be signed in to change notification settings

alicjacieciwa/snowfall

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Flutter package for generating Snowfall effect

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 100.0%