Skip to main content

winter_theme 1.1.0 copy "winter_theme: ^1.1.0" to clipboard
winter_theme: ^1.1.0 copied to clipboard

Snow effects for Flutter. Snowfall makes it snow over any widget, and SnowCap lets snow build up on its top edge, drape over rounded corners and break off the sides.

1.1.0 #

  • New SnowCap widget: snow that settles on the top edge of any widget. It starts bare, forms patches that join into one heap, drapes over rounded corners, and breaks off at the corners. Pieces tip over, fall and crumble, and the broken spots refill.
  • Options for build-up (thickness, settleTime, startSettled, accumulating), shedding (shedding, chunkSize, shedRate, fallSpeed, fallDistance) and looks (color, shadeColor, overlap, borderRadius, seed).
  • Extra customization: texture (any ImageProvider, including cached network images), backgroundPainter and foregroundPainter for custom painters, and overlay for any widget, such as a Lottie animation.
  • One ticker that pauses with TickerMode, stops when nothing can move, respects reduced motion, and keeps the heap across rebuilds and resizes.
  • The example app has a SnowCap demo screen (snowflake button in the app bar).

1.0.1 #

  • Much faster rendering: every flake is drawn from a cached sprite sheet in a single drawRawAtlas call, instead of one draw (and a blur filter) per flake. Smoother on low-end devices, with no per-frame allocations.
  • Sprites are rendered at the screen's pixel density so crystals stay crisp.
  • The example app shows the Snowfall(...) code for the current settings, with a copy button.

1.0.0 #

  • Initial release.
  • Snowfall widget: wrap any widget to make it snow over (or behind) it.
  • Ice crystals mixed with soft round flakes, with a configurable mix.
  • Steady wind plus rolling gusts.
  • Flakes fade in and out at the top and bottom edges.
  • Custom colors and palettes, custom flake outlines, size, speed, sway and spin controls.
  • Position controls: padding, alignment, width and height factors, and a foreground or background layer.
1
likes
160
points
112
downloads
screenshot

Documentation

API reference

Publisher

verified publishertechwithaditya.in

Weekly Downloads

Snow effects for Flutter. Snowfall makes it snow over any widget, and SnowCap lets snow build up on its top edge, drape over rounded corners and break off the sides.

Repository (GitHub)
View/report issues

Topics

#snow #snowfall #animation #winter #effects

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on winter_theme