blurred_overlay 1.0.3 copy "blurred_overlay: ^1.0.3" to clipboard
blurred_overlay: ^1.0.3 copied to clipboard

A lightweight Flutter package to show blurred dialogs and bottom sheets with shadow and radius.

blurred_overlay #

A lightweight Flutter package to show beautiful blurred dialogs and modal bottom sheets with shadow, radius, and customization.

✨ Features #

  • 🎯 Blur effect using BackdropFilter with customizable blur intensity
  • 🎨 Fully customizable design (colors, radius, padding, margins, shadows)
  • 📱 Drag-to-dismiss support with optional handle indicator
  • 🔧 Advanced parameters (maxHeight, enableDrag, useSafeArea, barrierColor)
  • ⚡ Optimized for both debug and release modes (no artifacts)
  • 🎭 Theme-aware with automatic color fallbacks
  • 📐 Smart layout system that adapts to content size
  • 🚀 Works with both dialogs and bottom sheets

🖼️ Screenshots #

bottom-sheet
Blurred BottomSheet
dialog
Blurred Dialog

🚀 Quick Start #

Installation

Add dependency into your pubspec.yaml

dependencies:
  blurred_overlay: ^1.0.3

Then run

flutter pub get

Or use the command line

flutter pub add blurred_overlay

📱 Basic Usage #

Blurred BottomSheet

showBlurredModalBottomSheet(
  context: context,
  showHandle: true,
  builder: (context) {
    return Column(
      mainAxisSize: MainAxisSize.min,
      children: [
        const Padding(
          padding: EdgeInsets.symmetric(vertical: 8.0),
          child: Text(
            'System Information',
            style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold),
          ),
        ),
        const Divider(color: Colors.white24, indent: 20, endIndent: 20),
        const ListTile(
          dense: true,
          leading: Icon(Icons.devices, size: 20),
          title: Text('Device Name', style: TextStyle(fontSize: 14)),
          trailing: Text('Galaxy A50', style: TextStyle(fontSize: 12)),
        ),
        const ListTile(
          dense: true,
          leading: Icon(Icons.memory, size: 20),
          title: Text('RAM', style: TextStyle(fontSize: 14)),
          trailing: Text('12 GB', style: TextStyle(fontSize: 12)),
        ),
        const ListTile(
          dense: true,
          leading: Icon(Icons.sd_storage, size: 20),
          title: Text('ROM', style: TextStyle(fontSize: 14)),
          trailing: Text('256 GB', style: TextStyle(fontSize: 12)),
        ),
        const SizedBox(height: 10),
        const Center(
          child: Padding(
            padding: EdgeInsets.only(bottom: 10),
            child: Text(
              "Blurred BottomSheet",
              style: TextStyle(fontSize: 13, color: Colors.grey),
            ),
          ),
        ),
      ],
    );
  },
);

Bludder Dialog

showBlurredDialog(
      context: context,
      builder: (context) {
        return Dialog(
          shape: RoundedRectangleBorder(
            borderRadius: BorderRadius.circular(16.0),
          ),
          child: Padding(
            padding: const EdgeInsets.all(24.0),
            child: Column(
              mainAxisSize: MainAxisSize.min,
              children: <Widget>[
                const Text(
                  'Root Status',
                  style: TextStyle(fontSize: 20.0, fontWeight: FontWeight.bold),
                ),
                const SizedBox(height: 16.0),
                const Text(
                  'Your phone Galaxy A50 is not rooted.',
                  textAlign: TextAlign.left,
                  style: TextStyle(fontSize: 16.0),
                ),
                const SizedBox(height: 24.0),
                Align(
                  alignment: Alignment.bottomRight,
                  child: TextButton(
                    onPressed: () {
                      Navigator.of(context).pop(); // Close the dialog
                    },
                    child: const Text('CLOSE'),
                  ),
                ),
              ],
            ),
          ),
        );
      },
    );
7
likes
0
points
59
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight Flutter package to show blurred dialogs and bottom sheets with shadow and radius.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_lints

More

Packages that depend on blurred_overlay