PopoverConfiguration<T> constructor
const
PopoverConfiguration<T> ({
- Anchor? anchor,
- required AlignmentGeometry alignment,
- required WidgetBuilder builder,
- Offset? position,
- AlignmentGeometry? anchorAlignment,
- PopoverConstraint widthConstraint = PopoverConstraint.flexible,
- PopoverConstraint heightConstraint = PopoverConstraint.flexible,
- Key? key,
- bool rootOverlay = true,
- bool modal = true,
- bool barrierDismissable = true,
- Clip clipBehavior = Clip.none,
- Object? regionGroupId,
- Offset? offset,
- AlignmentGeometry? transitionAlignment,
- EdgeInsetsGeometry? margin,
- bool follow = true,
- bool consumeOutsideTaps = true,
- ValueChanged<
PopoverOverlayWidgetState> ? onTickFollow, - bool allowInvertHorizontal = true,
- bool allowInvertVertical = true,
- bool dismissBackdropFocus = true,
- Duration? showDuration,
- Duration? dismissDuration,
- OverlayBarrier? overlayBarrier,
- OverlayHandler? handler,
Creates a PopoverConfiguration.
Implementation
const PopoverConfiguration({
this.anchor,
required this.alignment,
required this.builder,
this.position,
this.anchorAlignment,
this.widthConstraint = PopoverConstraint.flexible,
this.heightConstraint = PopoverConstraint.flexible,
this.key,
this.rootOverlay = true,
this.modal = true,
this.barrierDismissable = true,
this.clipBehavior = Clip.none,
this.regionGroupId,
this.offset,
this.transitionAlignment,
this.margin,
this.follow = true,
this.consumeOutsideTaps = true,
this.onTickFollow,
this.allowInvertHorizontal = true,
this.allowInvertVertical = true,
this.dismissBackdropFocus = true,
this.showDuration,
this.dismissDuration,
this.overlayBarrier,
this.handler,
});