ConfirmationViewModel class

Constructors

ConfirmationViewModel({required String title, String description = '', Widget? icon, String? cancelButtonText, String? confirmButtonText, dynamic onCancelButtonPressed(BuildContext)?, dynamic onConfirmButtonPressed(BuildContext)?, bool dismissible = true, bool hasCloseButton = true})

Properties

cancelButtonText String?
final
confirmButtonText String?
final
description String
final
dismissible bool
final
hasCloseButton bool
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget?
getter/setter pair
onCancelButtonPressed → dynamic Function(BuildContext)?
final
onConfirmButtonPressed → dynamic Function(BuildContext)?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
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