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