floating_menu_button

Last updated:

0 purchases

floating_menu_button Image
floating_menu_button Images
Add to Cart

Description:

floating menu button

A Package helps to create Floating Menu to show list of menu items.
Example #
class HomePage extends StatelessWidget {
const HomePage({Key? key}) : super(key: key);

@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
body: FloatingMenuWidget(
menuItems: [
MenuItems(id: "1", value: "Item 1"),
MenuItems(id: "2", value: "Item 2"),
MenuItems(id: "3", value: "Item 3")
],
onItemSelection: (menuItems){
final snackBar = SnackBar(content: Text("${menuItems.value} Clicked"));
ScaffoldMessenger.of(context).showSnackBar(snackBar);
},

child: Container(
color: Colors.white,
),
),
);
}
}
copied to clipboard
On Close

On Open

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.