AtomicToast class

Constructors

AtomicToast()

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

dismiss() → void
error({required BuildContext context, required String message, String? title, Duration duration = const Duration(seconds: 4)}) → void
info({required BuildContext context, required String message, String? title, Duration duration = const Duration(seconds: 3)}) → void
show({required BuildContext context, required String message, String? title, IconData? icon, AtomicToastVariant variant = AtomicToastVariant.info, AtomicToastPosition position = AtomicToastPosition.bottom, Duration duration = const Duration(seconds: 3), VoidCallback? onTap, VoidCallback? onDismiss, bool showCloseButton = false, double? width, EdgeInsets? margin}) → void
success({required BuildContext context, required String message, String? title, Duration duration = const Duration(seconds: 3)}) → void
warning({required BuildContext context, required String message, String? title, Duration duration = const Duration(seconds: 3)}) → void