SmartApiToastStyle enum

Visual styles supported by SmartApiToast.

Every style is rendered by the same widget tree — see SmartApiToast.show — driven by a small per-style config table, so adding a new look never means copy-pasting a whole layout.

Inheritance
Available extensions

Values

info → const SmartApiToastStyle

Plain dark pill, slides in from the top.

success → const SmartApiToastStyle

Frosted "glass" card with a green check icon.

error → const SmartApiToastStyle

Frosted "glass" card with a red icon and a short shake animation.

warning → const SmartApiToastStyle

Frosted "glass" card with an amber warning icon.

elite → const SmartApiToastStyle

Frosted "glass" pill that slides in from the right.

gradient → const SmartApiToastStyle

Purple gradient pill, slides up from the bottom.

timer → const SmartApiToastStyle

Dark pill with a countdown timer suffix (e.g. "Arriving in 8s").

map → const SmartApiToastStyle

Frosted "glass" card with a photo header, for location-style updates.

welcome → const SmartApiToastStyle

White card with a wave emoji, for "welcome back" style greetings.

human → const SmartApiToastStyle

A running-person emoji beside the pill, slides in from the right.

typewriter → const SmartApiToastStyle

Dark pill whose text is revealed one character at a time.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<SmartApiToastStyle>
A constant List of the values in this enum, in order of their declaration.