Search packages, repositories and app categories

parallax_rain cover
Package detailsv1.5.0

parallax_rain

Use this package to create cool 3D rain effects. Customize with multiple colors, different raindrop speeds, drop trail effects and more!

AndroidiOSWebmacOSWindowsLinux
30-day downloads
167
Likes
88
Pub points
160

Install package

flutter pub add parallax_rain

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

ParallaxRain is a Flutter package that enables developers to create immersive 3D rain effects in their applications. With customizable features like multiple raindrop colors, variable drop speeds, and trail effects, it enhances visual appeal for backgrounds and interactive scenes. Ideal for apps aiming for atmospheric or cinematic aesthetics, it supports all major platforms including mobile, web, and desktop. The package integrates seamlessly with Flutter’s rendering pipeline and leverages shaders for smooth performance.

Use cases

  • Creating dynamic app backgrounds
  • Enhancing game environments
  • Adding cinematic effects to splash screens
  • Improving user engagement through visual feedback
  • Designing mood-based interfaces

Key features

  • Customizable raindrop colors
  • Adjustable raindrop speeds
  • Raindrop trail effects
  • Cross-platform support
  • Shader-based rendering
  • Easy integration with Flutter widgets

Suitable for

  • UI designers seeking visual flair
  • Game developers building immersive scenes
  • App creators focusing on atmosphere
  • Developers targeting multi-platform deployment
  • Creative projects with artistic themes

Considerations

  • May impact performance on low-end devices
  • Requires understanding of basic shader concepts
  • Best suited for background layers, not primary content
  • Limited customization beyond rain-specific parameters
  • Not ideal for high-frequency interactive elements

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Pub Version License

Parallax Rain

Create a cool 3D rain effect, with plenty of customization!

Sample screenshot

Sample video

Installation

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
    parallax_rain:
2. Install it

You can install packages from the command line:

$ pub get
..

Alternatively, your editor might support pub. Check the docs for your editor to learn more.

3. Import it

Now in your Flutter code, you can use:

import 'package:parallax_rain/parallax_rain.dart';

Usage

If you want to give YourWidget a 3D rain background, simple wrap it with the ParallaxRain widget, with YourWidget as the child parameter. You can also have the rain effect in the foreground, use multiple drop colors, adjust the speed, add trails to your drops and lots more!

For example:

ParallaxRain(
    dropColors: [
        Colors.red,
        Colors.green,
        Colors.blue,
        Colors.yellow,
        Colors.brown,
        Colors.blueGrey
    ],
    child: Text(
        "Multicolor",
    ),
),

A full example can be found in the example directory

About me

Visit my LinkedIn at https://www.linkedin.com/in/zaca

I'm also the author of the Flutter glass package that allows you to convert any flutter widget into a glass/frosted glass version of itself, check it out at https://pub.dev/packages/glass

Categories

Source repository

Projects using this package

No data available yet.