An open API service indexing awesome lists of open source software.

https://github.com/ztomz/custom_popup

A highly customizable popup widget, that is easy to integrate into your code.
https://github.com/ztomz/custom_popup

dart dartlang flutter flutter-package package

Last synced: 10 months ago
JSON representation

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

Awesome Lists containing this project

README

          

Custom Popup
===

![Custom Popup Logo](https://github.com/zTomz/custom_popup/raw/main/media/custom_popup_logo.png)


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](https://pub.dev/packages/phosphor_flutter).

```Dart
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