StandardDialog class

Constructors

StandardDialog.show(BuildContext context, {Widget? icon, String? title, required Widget content, required String buttonTitle, required dynamic onAccept(), dynamic onCancel()?, Color? buttonColor, Color? cancelButtonColor, required String cancelButtonTitle, required bool shouldCloseOnMainButton, required bool dismissibleDialog, required Color backgroundColor, required bool disableTintColor})

Properties

backgroundColor Color
getter/setter pair
buttonColor Color?
getter/setter pair
buttonTitle String
getter/setter pair
cancelButtonColor Color?
getter/setter pair
cancelButtonTitle String
getter/setter pair
content Widget
getter/setter pair
context BuildContext
getter/setter pair
disableTintColor bool
getter/setter pair
dismissibleDialog bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
icon Widget?
getter/setter pair
onAccept ↔ dynamic Function()
getter/setter pair
onCancel ↔ (dynamic Function()?)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldCloseOnMainButton bool
getter/setter pair
title String?
getter/setter pair

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