FPopoverMenu constructor

const FPopoverMenu({
  1. required FPopoverController? controller,
  2. required List<FTileGroupMixin<FTileMixin>> menu,
  3. required Widget child,
  4. FPopoverMenuStyle? style,
  5. FTileDivider divider = FTileDivider.full,
  6. Alignment menuAnchor = Alignment.topCenter,
  7. Alignment childAnchor = Alignment.bottomCenter,
  8. Offset shift(
    1. Size,
    2. FPortalTarget,
    3. FPortalFollower
    ) = FPortalFollowerShift.flip,
  9. bool hideOnTapOutside = true,
  10. bool ignoreDirectionalPadding = true,
  11. String? semanticLabel,
  12. bool autofocus = false,
  13. FocusNode? focusNode,
  14. ValueChanged<bool>? onFocusChange,
  15. Key? key,
})

Creates a menu that only shows the menu when the controller is manually toggled.

Implementation

const FPopoverMenu({
  required this.controller,
  required this.menu,
  required this.child,
  this.style,
  this.divider = FTileDivider.full,
  this.menuAnchor = Alignment.topCenter,
  this.childAnchor = Alignment.bottomCenter,
  this.shift = FPortalFollowerShift.flip,
  this.hideOnTapOutside = true,
  this.ignoreDirectionalPadding = true,
  this.semanticLabel,
  this.autofocus = false,
  this.focusNode,
  this.onFocusChange,
  super.key,
}) : _tappable = false;