FPopoverMenu constructor
const
FPopoverMenu({
- required FPopoverController? controller,
- required Widget child,
- FPopoverMenuStyle? style,
- FTileDivider divider = FTileDivider.full,
- Alignment childAnchor = Alignment.bottomCenter,
- Offset shift() = FPortalFollowerShift.flip,
- bool hideOnTapOutside = true,
- bool ignoreDirectionalPadding = true,
- String? semanticLabel,
- bool autofocus = false,
- FocusNode? focusNode,
- ValueChanged<
bool> ? onFocusChange, - 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;