Modal class

A simple modal dialog appended to document.body, dismissed by the close button, the backdrop, or Escape.

Constructors

Modal({required String title, required HTMLElement body, List<HTMLElement> actions = const []})
Builds a modal titled title containing body, with optional footer actions.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
Closes and removes the modal.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
show() → void
Shows the modal.
toString() String
A string representation of this object.
inherited

Operators

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