ChatDialogItem<T> class

Constructors

ChatDialogItem.new({required String? label, TextStyle? style, required Future<T> onTap()?, required ChatDialogItemType type})
const
ChatDialogItem.cancel({String? label, required Future<T> onTap()?, TextStyle? style})
ChatDialogItem.confirm({String? label, required Future<T> onTap()?, TextStyle? style})
ChatDialogItem.destructive({String? label, required Future<T> onTap()?, TextStyle? style})

Properties

hashCode int
The hash code for this object.
no setterinherited
label String?
final
onTap Future<T> Function()?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style TextStyle?
final
type ChatDialogItemType
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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