Modal class
A Modal box component.
- Inheritance
- Object
- Base
- Modal
Constructors
- Modal(Element element, {String backdrop = 'true', bool keyboard = true, String remote})
-
Construct a Modal object and wire it to
element
.
Properties
- $element → ElementQuery
-
The dquery object of element. Equivalent to $(element).
final, inherited
- backdrop → String
-
final
- element → Element
-
The element which component wires to.
final, inherited
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- isShown → bool
-
True if the Modal is shown.
read-only
- 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.
read-only, inherited
Methods
-
hide(
) → dynamic - Hide the Modal.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
show(
) → dynamic - Show the Modal.
-
toggle(
) → dynamic - Toggle the visibility state of the Modal.
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited