Search packages, repositories and app categories

Package detailsv1.0.0

water_drop

A package for creating water drops on top of your widgets.

30-day downloads
8
Likes
37
Pub points
30

Install package

flutter pub add water_drop

Package Overview

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

The water_drop package enables developers to add realistic water drop effects on top of widgets in Flutter applications. It leverages custom shaders and animations to simulate the appearance of droplets forming, merging, and sliding across surfaces. Ideal for enhancing visual appeal in backgrounds, buttons, or interactive elements, it brings a dynamic, fluid aesthetic to UIs. The package is lightweight and integrates seamlessly with existing Flutter widgets, making it easy to implement without extensive configuration. It's particularly effective in apps that benefit from playful or naturalistic design themes.

Use cases

  • Adding animated water effects to buttons
  • Enhancing background visuals with droplet animations
  • Creating interactive surfaces with fluid feedback
  • Designing nature-inspired app interfaces
  • Improving user engagement with dynamic visuals

Key features

  • Custom shader-based water drop rendering
  • Smooth animation of droplet formation and movement
  • Lightweight and easy to integrate
  • Supports various widget overlays
  • Configurable droplet size and behavior

Suitable for

  • UI designers seeking fluid visual effects
  • Developers building playful or nature-themed apps
  • Apps requiring subtle interactive feedback
  • Flutter projects focused on visual innovation
  • Creative digital experiences with dynamic backgrounds

Considerations

  • May impact performance on low-end devices
  • Requires understanding of basic shader concepts
  • Limited customization beyond droplet appearance
  • Best suited for static or slow-moving backgrounds
  • Not ideal for high-frequency interaction scenarios

Original README

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

Water Drop 💦💦💦

Pub

A simple package for adding water drops to your Widgets!

👇👇👇👇👇👇👇👇👇👇
Blog article with detailed explanation:
https://fidev.io/water-drop
👆👆👆👆👆👆👆👆👆👆

Demo

Why?

Why not?!

How?

Just wrap your widget in WaterDrop and provide params:

Widget build(BuildContext context) {
  return WaterDrop(
    child: _StaticCard(color: Colors.green),
    params: [
      WaterDropParam(top: 50, height: 70, left: 100, width: 50),
      WaterDropParam(top: 10, height: 100, left: 280, width: 100),
      WaterDropParam(top: 155, height: 35, left: 135, width: 35),
      WaterDropParam(top: 135, height: 40, left: 250, width: 30),
      WaterDropParam(top: 20, height: 40, left: 20, width: 40),
      WaterDropParam(top: 140, height: 50, left: 15, width: 40),
      WaterDropParam(top: 20, height: 30, left: 200, width: 30),
      WaterDropParam(top: 120, height: 20, left: 360, width: 20),
    ],
  );
}

Or if you want a single drop, use WaterDrop.single:

@override
Widget build(BuildContext context) {
  return WaterDrop.single(
    top: 50,
    height: 70,
    left: 100,
    width: 50,
    child: _StaticCard(color: Colors.green),
  );
}

Categories

Source repository

Projects using this package

No data available yet.