FocusedMenuHolder constructor

const FocusedMenuHolder({
  1. required List<FocusedMenuItem> menuItems,
  2. required Function onPressed,
  3. required Widget child,
  4. FocusedMenuHolderController? controller,
  5. Duration? duration,
  6. BoxDecoration? menuBoxDecoration,
  7. double? menuItemExtent,
  8. bool? animateMenuItems,
  9. double? blurSize,
  10. Color? blurBackgroundColor,
  11. double? menuWidth,
  12. double? bottomOffsetHeight,
  13. double? menuOffset,
  14. bool openWithTap = false,
  15. bool enableMenuScroll = true,
  16. Key? key,
})

Implementation

const FocusedMenuHolder({
  required this.menuItems,
  required this.onPressed,
  required this.child,
  this.controller,
  this.duration,
  this.menuBoxDecoration,
  this.menuItemExtent,
  this.animateMenuItems,
  this.blurSize,
  this.blurBackgroundColor,
  this.menuWidth,
  this.bottomOffsetHeight,
  this.menuOffset,
  this.openWithTap = false,
  this.enableMenuScroll = true,
  Key? key,
}) : super(key: key);