Last updated:
0 purchases
flappy popup bubble
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,
);
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.