custom_popup 1.0.1+1 copy "custom_popup: ^1.0.1+1" to clipboard
custom_popup: ^1.0.1+1 copied to clipboard

A highly customizable popup widget, which is easy to integrate with your app.

Custom Popup #

Custom Popup Logo

Pub Likes Static Badge GitHub Repo stars

A highly customizable popup widget, that is easy to integrate into your code.

Features #

  • Custom Popup is a highly customizable popup widget, that is easy to integrate into your code.

Getting started #

Just add the widget in your code. The example below shows how to use the widget with Phosphor icons package.

CustomPopupButton(
    icon: PhosphorIcon(
        PhosphorIcons.dotsThreeVertical(),
    ),
    closeIcon: PhosphorIcon(
        PhosphorIcons.xCircle(),
    ),
    animationAlignment: Alignment.topLeft,
    items: [
        CustomPopupMenuItem(
            label: 'Edit',
            icon: PhosphorIcon(
            PhosphorIcons.pencilLine(),
            ),
            onTap: () {},
        ),
        CustomPopupMenuItem(
            label: 'Duplicate',
            icon: PhosphorIcon(
                PhosphorIcons.copy(),
            ),
            onTap: () {},
        ),
        ...
        const CustomPopupMenuDivider(),
        CustomPopupMenuItem(
            label: 'Delete',
            icon: PhosphorIcon(
                PhosphorIcons.trash(),
            ),
            foregroundColor: Colors.red,
            onTap: () {},
        ),
    ],
)

Showcase #

Showcase GIF

4
likes
160
points
11
downloads

Publisher

unverified uploader

Weekly Downloads

A highly customizable popup widget, which is easy to integrate with your app.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_animate

More

Packages that depend on custom_popup