PrettyToast class abstract

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Properties

errorColor Color
getter/setter pair
infoColor Color
getter/setter pair
successColor Color
getter/setter pair
warningColor Color
getter/setter pair

Static Methods

clearFocus(BuildContext context) → void
hideAllOverlays() → void
hideOverlay([int layerId = 0]) → void
hideProgressToast() → void
showErrorToast(BuildContext context, String text, {int seconds = 3}) → void
showInfoToast(BuildContext context, String text, {int seconds = 3}) → void
showOverlay(BuildContext context, {int? durationInSeconds, int layerId = 0, required Widget widget}) → void
showProgressToast(BuildContext context, {required String text, dynamic durationInSeconds = 65}) → void
showSuccessToast(BuildContext context, String text, {int seconds = 3}) → void
showToast(BuildContext context, String text, Color color, IconData icon, int durationInSeconds) → void
showWarningToast(BuildContext context, String text, {int seconds = 3}) → void