MoonToast class

Constructors

MoonToast()
Creates a Moon Design toast.
const

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

clearToastQueue() → void
Clear the toast queue.
show(BuildContext context, {AlignmentGeometry toastAlignment = Alignment.bottomCenter, bool isPersistent = true, bool useSafeArea = true, BorderRadiusGeometry? borderRadius, Color? backgroundColor, double? horizontalGap, double? verticalGap, double? width, Duration? displayDuration, Duration? transitionDuration, Curve? transitionCurve, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, List<BoxShadow>? toastShadows, MoonToastVariant variant = MoonToastVariant.original, Decoration? decoration, String? semanticLabel, Widget? leading, required Widget label, Widget? trailing, Widget? content}) → void
Displays a Moon Design toast.