DjangoFlow Package Logo

🌧️ djangoflow_emoji_rain 🌧️

GitHub Repository Pub Package

A Flutter package for creating a delightful rain of emojis on your screen.


🌟 Features

  • Customizable Emoji: Choose any emoji you like!
  • Adjustable Raindrops: Control the number of raindrops.
  • Speed Control: Adjust the speed of the falling raindrops.
  • Rain Stop Callback: Get notified when the rain stops.

📦 Installation

To add djangoflow_emoji_rain to your Flutter project, add the following line to your pubspec.yaml:

dependencies:
  djangoflow_emoji_rain: <latest_version>

Then, run:

flutter pub get

🚀 Quick Start

Here's a simple example to sprinkle some emoji rain into your app:

import 'package:djangoflow_emoji_rain/rain.dart';

Rain(
  emoji: '🌧️',
  numberOfRainDrops: 50,
  fallSpeedFactor: 1.0,
  onRainStopped: () {
    print("The rain has stopped!");
  },
);

🛠 Parameters

  • emoji: The emoji to use for the raindrops.
  • numberOfRainDrops: Number of raindrops on the screen.
  • fallSpeedFactor: Speed multiplier for the falling raindrops.
  • onRainStopped: Callback triggered when the rain stops.

📖 Example App

Check out the example directory for a complete example app demonstrating the package's capabilities.

🤝 Contributing

We welcome contributions! Feel free to open an issue or submit a pull request if you have any improvements or find any bugs.

📜 License

This project is licensed under the MIT License. See the LICENSE file for details.