SheetRequest<T> class

Inheritance

Constructors

SheetRequest({bool? showIconInMainButton, bool? showIconInSecondaryButton, bool? showIconInAdditionalButton, String? title, String? description, bool? hasImage, String? imageUrl, String? mainButtonTitle, String? secondaryButtonTitle, String? additionalButtonTitle, bool? takesInput, T? data, dynamic variant})

Properties

additionalButtonTitle String?
The text show on the third button on the dialog
finalinherited
data → T?
Extra data to be passed to the UI
finalinherited
description String?
Text so show in the dialog body
finalinherited
hashCode int
The hash code for this object.
no setterinherited
hasImage bool?
Indicates if an image should be used or not
finalinherited
imageUrl String?
The url / path to the image to show
finalinherited
mainButtonTitle String?
The text shown in the main button
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondaryButtonTitle String?
The text to show on the secondary button on the dialog (cancel usually)
finalinherited
showIconInAdditionalButton bool?
Indicates if you should show an icon in the additional button
finalinherited
showIconInMainButton bool?
A bool to indicate if you should show an icon in the main button
finalinherited
showIconInSecondaryButton bool?
Indicates if you should show an icon in the main button
finalinherited
takesInput bool?
Indicates if the dialog takes input
finalinherited
title String?
The title for the dialog
finalinherited
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
finalinherited

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