FPopover constructor
FPopover({
- required FPopoverController? controller,
- required ValueWidgetBuilder<
FPopoverStyle> followerBuilder, - required Widget target,
- FPopoverStyle? style,
- Offset shift() = FPortalFollowerShift.flip,
- bool hideOnTapOutside = true,
- bool ignoreDirectionalPadding = true,
- String? semanticLabel,
- bool autofocus = false,
- FocusNode? focusNode,
- ValueChanged<
bool> ? onFocusChange, - Alignment? followerAnchor,
- Alignment? targetAnchor,
- Key? key,
Creates a popover that only shows the follower when the controller is manually toggled.
Implementation
FPopover({
required this.controller,
required this.followerBuilder,
required this.target,
this.style,
this.shift = FPortalFollowerShift.flip,
this.hideOnTapOutside = true,
this.ignoreDirectionalPadding = true,
this.semanticLabel,
this.autofocus = false,
this.focusNode,
this.onFocusChange,
Alignment? followerAnchor,
Alignment? targetAnchor,
super.key,
}) : followerAnchor = followerAnchor ?? _platform.follower,
targetAnchor = targetAnchor ?? _platform.target,
_tappable = false;