MDCDialog class

Dialogs inform users about a task and can contain critical information, require decisions, or involve multiple tasks.

Javascript: mdc.dialog.MDCDialog.

Inheritance

Constructors

MDCDialog(Element root, [MDCFoundation? foundation, dynamic args])

Properties

autoStackButtons bool?
getter/setter pair
escapeKeyAction String?
getter/setter pair
foundation MDCFoundation
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isOpen bool
no setter
js → DialogComponent
The underlying Javascript component.
no setteroverride
root Element
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrimClickAction String?
getter/setter pair

Methods

close([String? action]) → void
action indicates why it was closed.
destroy() → void
Releases resources and removes any listeners.
inherited
emit(String type, dynamic data, [bool shouldBubble = false]) → void
inherited
layout() → void
Recalculates layout and automatically adds/removes modifier classes like --scrollable.
listen(String type, EventListener handler, {bool captureThis = false}) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open() → void
toString() String
A string representation of this object.
inherited
unlisten(String type, EventListener handler, {bool captureThis = false}) → void
inherited

Operators

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

Static Methods

attachTo(Element root) MDCDialog

Constants

closedEvent → const String
event.detail: {action: string?}
closingEvent → const String
event.detail: {action: string?}
openedEvent → const String
openingEvent → const String