PopupInterface class abstract

A reusable interface for something that is or delegates to PopupComponent.

Implementers

Constructors

PopupInterface()

Properties

autoDismiss bool?
Sets whether the popup should dismiss (close) itself on document press.
no getter
constrainToViewport bool
Sets whether the popup should be constrained to the viewport.
no getter
enforceSpaceConstraints bool
Sets whether the popup should automatically reposition itself based on space available relative to the viewport.
no getter
hashCode int
The hash code for this object.
no setterinherited
matchMinSourceWidth bool
Sets whether popup should set a minimum width to the width of source.
no getter
offsetX int
Sets the x-offset to where the popup will be positioned ultimately.
no getter
offsetY int
Sets the y-offset to where the popup will be positioned ultimately.
no getter
onClose Stream<void>
Fires an asynchronous event when the popup is being closed.
no setter
onOpen Stream<void>
Fires an asynchronous event when the popup is being opened.
no setter
onVisible Stream<bool>
A synchronous event that fires when the visible property of the popup changes (e.g. either from false to true or true to false).
no setter
preferredPositions Iterable<RelativePosition>
Sets what positions should be tried when enforceSpaceConstraints is set.
no getter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source PopupSource
Sets the source the popup should be created relative to.
no getter
trackLayoutChanges bool
Sets whether the source should be tracked for changes.
no getter
visible bool
Sets whether the popup should be shown.
no getter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toggle() → void
Toggles the visibility of the popup
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited