SnackBarInfo class final

Annotations

Constructors

SnackBarInfo({required SnackBarType type, required bool showSnackBar, String? message})
const
SnackBarInfo.error({String? message})
const
SnackBarInfo.info({String? message})
const
SnackBarInfo.none()
const
SnackBarInfo.success({String? message})
const
SnackBarInfo.warning({String? message})
const

Properties

hashCode int
The hash code for this object.
no setteroverride
message String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showSnackBar bool
final
type SnackBarType
final

Methods

copyWith({String? message, SnackBarType? type, bool? showSnackBar}) SnackBarInfo
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 ==(covariant SnackBarInfo other) bool
The equality operator.
override