Modal class

A Modal box component.

Inheritance

Constructors

Construct a Modal object and wire it to element.

Properties

$element → ElementQuery
The dquery object of element. Equivalent to $(element).
finalinherited
backdrop String
final
element Element
The element which component wires to.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isShown bool
True if the Modal is shown.
no setter
keyboard bool
Return true if the Modal component listens to escape key for closing.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

hide() → dynamic
Hide the Modal.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
show() → dynamic
Show the Modal.
toggle() → dynamic
Toggle the visibility state of the Modal.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

use() → void
Register to use Modal component.
wire(Element element, [Modal? create()?]) Modal?
Retrieve the wired Modal object from an element. If there is no wired