flappy_popup_bubble 1.0.13 copy "flappy_popup_bubble: ^1.0.13" to clipboard
flappy_popup_bubble: ^1.0.13 copied to clipboard

This packages is used to show a bubble item or bubble popup menu easy.You can show the popup menu where you long touched smoothly.

TODO: This packages is used to show a bubble item or bubble popup menu easy.You can show the popup menu where you long touched smoothly.

Features #

1.Bubble items with border radius and a delta indicate。 2.Long press to show a bubble menu as a overlay.

Getting started #

add flappy_popup_bubble to your yaml.

Usage #

Pop-up Menu Example #

Below is an example of how to build a pop-up menu in Flutter using a custom PopupMenu widget:

/// Build pop-up menu
Widget _buildPopMenu(Widget child) {
  return PopupMenu(
    menusBuilder: (context, controller) {
      return [
        PopupMenuBtn(
          text: "Function One",
          icon: const Icon(
            Icons.scale,
            color: Colors.white,
            size: 16,
          ),
          onTap: () {
            controller.hide();
          },
        ),
        PopupMenuBtn(
          text: "Function Two",
          icon: const Icon(
            Icons.add,
            color: Colors.white,
            size: 16,
          ),
          onTap: () {
            controller.hide();
          },
        ),
      ];
    },
    menuHeight: 40,
    child: child,
  );
}



1
likes
0
points
210
downloads

Publisher

unverified uploader

Weekly Downloads

This packages is used to show a bubble item or bubble popup menu easy.You can show the popup menu where you long touched smoothly.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flappy_popup_bubble