Dialog<T extends Dialog<T>> class abstract

Implementers

Constructors

Dialog(BuildContext context)

Properties

buttons List<DialogButton>
final
context BuildContext
final
dialogType DialogType
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
messageString String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
titleString String?
getter/setter pair

Methods

button(String label, dynamic value, {VoidCallback? onPressed, bool dismiss = true, bool isDefault = false}) → T
message(String message) → T
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
show<V>() Future<V?>
title(String title) → T
toString() String
A string representation of this object.
inherited
type(DialogType type) → T

Operators

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

Static Methods

inputDialog(BuildContext context) InputDialog
messageDialog(BuildContext context) MessageDialog