A partial that implements the setters of PopupBase by writing to state.
- Implemented types
-
- Implementers
Properties
-
autoDismiss
← bool?
-
Sets whether the popup should dismiss (close) itself on document press.
no getteroverride
-
constrainToViewport
← bool
-
Sets whether the popup should be constrained to the viewport.
no getteroverride
-
enforceSpaceConstraints
← bool
-
Sets whether the popup should automatically reposition itself based on
space available relative to the viewport.
no getteroverride
-
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 getteroverride
-
offsetX
← int
-
Sets the x-offset to where the popup will be positioned ultimately.
no getteroverride
-
offsetY
← int
-
Sets the y-offset to where the popup will be positioned ultimately.
no getteroverride
-
onClose
→ Stream<void>
-
Fires an asynchronous event when the popup is being closed.
no setterinherited
-
onOpen
→ Stream<void>
-
Fires an asynchronous event when the popup is being opened.
no setterinherited
-
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 setterinherited
-
preferredPositions
← Iterable<RelativePosition>
-
Sets what positions should be tried when enforceSpaceConstraints is set.
no getteroverride
-
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 getteroverride
-
state
→ PopupState
-
The state of the PopupRef that is manipulated by this component.
no setter
-
trackLayoutChanges
← bool
-
Sets whether the source should be tracked for changes.
no getteroverride
-
visible
← bool
-
Sets whether the popup should be shown.
no getterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toggle()
→ void
-
Toggles the visibility of the popup
inherited
-
toString()
→ String
-
A string representation of this object.
inherited