OverlayRequest<T> class

Implementers

Constructors

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

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