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. Color? borderColor = Colors.white,
  12. double widthBorder = 2,
  13. double? menuWidth,
  14. double? bottomOffsetHeight,
  15. double? menuOffset,
  16. bool openWithTap = false,
  17. bool enableMenuScroll = true,
  18. 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.borderColor = Colors.white,
  this.widthBorder = 2,
  this.menuWidth,
  this.bottomOffsetHeight,
  this.menuOffset,
  this.openWithTap = false,
  this.enableMenuScroll = true,
  Key? key,
}) : super(key: key);