ElementPopupSource class abstract
An PopupSource that's based on an element.
- Implemented types
- Implementers
Constructors
Properties
- alignOriginX → Alignment?
-
What point of the origin to use on the x-axis.
no setterinherited
- alignOriginY → Alignment?
-
What point of the origin to use on the y-axis.
no setterinherited
-
dimensions
→ Rectangle<
num> ? -
The size of the source and its position relative to the viewport.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRtl → bool
-
Whether the source direction is RTL.
no setterinherited
- popupId ← String?
-
Set the DOM ID of the popup controlled by this source.
no getterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceElement → HtmlElement?
-
no setter
Methods
-
focus(
) → void -
Item/component focuses itself
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onClose(
) → void -
Called when the popup is closed.
inherited
-
onDimensionsChanged(
{bool track = false}) → Stream< Rectangle< ?num> > -
Returns a stream that has events with the dimensions of a DOM element that
the popup is positioned relatively to.
inherited
-
onOpen(
) → void -
Called when the popup is opened.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited