FlutterHotToast class

Constructors

FlutterHotToast()

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 Methods

error(BuildContext context, {int? duration, required double height, required double width, double? borderRadius, Color? shadowColor, Color? toastColor, Widget? indicatorWidget, required Text label, Alignment? alignment}) Widget
Invokes error flutter hot toast
loading({required double height, required double width, double? borderRadius, Color? shadowColor, Color? toastColor, Widget? indicatorWidget, required Text label, Alignment? alignment}) Widget
Invokes loading flutter hot toast. There are some parameters that are missing from the loading flutter hot toast, eg: duration and context is missing because I assume you will use it in an asyn callback so the duration is not really specific as the wait time is undetermined. Also the context is being used to hide the loading toast in the success and error toast before they called, therefore there is no need to use context in the loading toast.
success(BuildContext context, {int? duration, required double height, required double width, double? borderRadius, Color? shadowColor, Color? toastColor, Widget? indicatorWidget, required Text label, Alignment? alignment}) Widget
Invokes success flutter hot toast