DialogRequest<T > class
Constructors
DialogRequest ({bool ? showIconInMainButton , bool ? showIconInSecondaryButton , bool ? showIconInAdditionalButton , String ? title , String ? description , bool ? hasImage , String ? imageUrl , String ? mainButtonTitle , String ? secondaryButtonTitle , String ? additionalButtonTitle , bool ? takesInput , @Deprecated ('Prefer to use `data` and pass in a generic type.') dynamic customData , T? data , dynamic variant })
Properties
additionalButtonTitle
→ String ?
The text show on the third button on the dialog
final inherited
customData
→ dynamic
Extra data to be passed to the UI
final inherited
data
→ T?
Extra data to be passed to the UI
final inherited
description
→ String ?
Text so show in the dialog body
final inherited
hashCode
→ int
The hash code for this object.
no setter inherited
hasImage
→ bool ?
Indicates if an image should be used or not
final inherited
imageUrl
→ String ?
The url / path to the image to show
final inherited
mainButtonTitle
→ String ?
The text shown in the main button
final inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
secondaryButtonTitle
→ String ?
The text to show on the secondary button on the dialog (cancel usually)
final inherited
showIconInAdditionalButton
→ bool ?
Indicates if you should show an icon in the additional button
final inherited
showIconInMainButton
→ bool ?
A bool to indicate if you should show an icon in the main button
final inherited
showIconInSecondaryButton
→ bool ?
Indicates if you should show an icon in the main button
final inherited
takesInput
→ bool ?
Indicates if the dialog takes input
final inherited
title
→ String ?
The title for the dialog
final inherited
variant
→ dynamic
Intended to be used with enums. If you want to create multiple different
dialogs. Pass your enum in here and check the value in the builder
final inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited