toast_pack library

A lightweight, zero-dependency toast package for Flutter.

Classes

ToastLeading
Controls the leading visual of a toast.
ToastLeadingAppIcon
ToastLeadingIcon
ToastLeadingImage
ToastLeadingNone
ToastPack
Public entry point for showing toasts.

Enums

ReplacementMode
How a new toast replaces the currently visible one.
ToastAnimation
The entrance/exit animation used for the toast.
ToastGravity
Vertical placement of the toast on screen.
ToastVariant
Predefined toast variants with sensible color + icon defaults.
ToastWebPosition
Horizontal placement of the toast on web only.