draggable_panel 1.0.2 copy "draggable_panel: ^1.0.2" to clipboard
draggable_panel: ^1.0.2 copied to clipboard

A versatile and customizable Draggable Panel

A versatile and customizable Draggable Panel 🚀

DraggablePanel is a versatile and interactive widget for Flutter that allows you to create floating, draggable panels that can dock to the nearest edge of the screen. The panel is ideal for displaying additional content, actions, or tools that can be accessed on demand.

Your feedback is highly valued as it will help shape future updates and ensure the package remains relevant and useful. 😊


Show some ❤️ and star the repo to support the project!

Pub License: MIT Repository views Pub

Pub likes Pub popularity Pub points


📜 Showcase #

📌 Getting Started #

Follow these steps to use this package

Add dependency #

dependencies:
  draggable_panel: ^1.0.2
copied to clipboard

Add import package #

import 'package:draggable_panel/draggable_panel.dart';
copied to clipboard

Easy to use #

Instructions for use: #

Simple add DraggablePanel to MaterialApp's builder.

builder: (context, child) {
        return DraggablePanel(
          items: [
            (
              enableBadge: false,
              icon: Icons.list,
              onTap: (context) {},
            ),
            (
              enableBadge: false,
              icon: Icons.color_lens,
              onTap: (context) {},
            ),
            (
              enableBadge: false,
              icon: Icons.zoom_in,
              onTap: (context) {},
            ),
            (
              enableBadge: false,
              icon: Icons.token,
              onTap: (context) {},
            ),
          ],
          buttons: [
            (
              icon: Icons.copy,
              onTap: (context) {},
              label: 'Push token',
            ),
          ],
          child: child!,
        );
      },
copied to clipboard

Please, check the example for more details.


Thanks to all contributors of this package


3
likes
150
points
595
downloads

Publisher

verified publishershodev.live

Weekly Downloads

2024.08.07 - 2025.02.19

A versatile and customizable Draggable Panel

Repository (GitHub)
View/report issues

Topics

#draggable-panel #draggable #panel #floating-panel #floating-button

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on draggable_panel