FloatingMenuWidget constructor
FloatingMenuWidget({
- Key? key,
- required Widget child,
- bool closeOnItemClick = true,
- ValueChanged<
MenuItems> ? onItemSelection,
Implementation
FloatingMenuWidget(
{Key? key,
required this.child,
this.menuItems = const [],
this.menuButton = const MenuButton(),
this.menuTray = const MenuTray(),
this.closeOnItemClick = true,
this.onItemSelection})
: super(key: key);