flutter_rain_effect 0.0.5 copy "flutter_rain_effect: ^0.0.5" to clipboard
flutter_rain_effect: ^0.0.5 copied to clipboard

Flutter Rain Effect is a customizable package for adding rain and splash effects to Flutter apps. It supports multiple platforms, allowing easy adjustments for rain intensity, color, size, and even us [...]

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_rain_effect/flutter_rain_effect.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('Rain Effect')),
        body: Center(
          child: Container(
            width: 300,
            height: 500,
            decoration: BoxDecoration(
              border: Border.all(
                color: Colors.black,
                width: 2.0,
              ),
              borderRadius: const BorderRadius.all(Radius.circular(8.0)),
            ),
            child: const RainEffect(
              intensity: 1.0,
              rainColors: [Colors.lightBlue, Colors.cyan],
              splashCharacter: '*',
              minRainSize: 3.0,
              maxRainSize: 8.0,
              rainCharacter: [],
            ),
          ),
        ),
      ),
    );
  }
}
1
likes
150
points
37
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter Rain Effect is a customizable package for adding rain and splash effects to Flutter apps. It supports multiple platforms, allowing easy adjustments for rain intensity, color, size, and even using text for raindrops.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_rain_effect