ErrorViewModel class

Constructors

ErrorViewModel({required String title, required String message, bool barrierDismissible = true, Widget? icon, String? buttonText, dynamic onButtonPressed(BuildContext)?, double maxIconHeight = 100})

Properties

barrierDismissible bool
final
buttonText String?
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget?
getter/setter pair
maxIconHeight double
final
message String
final
onButtonPressed → 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