sole_toast 0.2.0
sole_toast: ^0.2.0 copied to clipboard
A gooey, morphing toast for Flutter — organic pill-to-blob animation, light/dark/glossy modes, semantic types, and iPhone Dynamic Island choreography. Zero dependencies.
Changelog #
0.2.0 #
- Configurable timings — new
SoleToastTimingswith per-phase durations, afastpreset (readable content in ~350–400 ms for action feedback), ascaled()factory for uniform pace control, and aSoleToastConfig.timingsfield. - Dynamic Island redesign — the icon now melts out in a gooey chin beneath the cutout instead of a side lobe, so it can never collide with the status-bar clock, signal, or battery indicators. The sheet then continues downward through the title and description.
SoleToastIcongained crossfade reuse inside the island chin.
0.1.1 #
- README images now use absolute URLs so they render on pub.dev.
- Much smaller package archive: documentation media and the example's generated platform folders are excluded from publishing.
0.1.0 #
Initial release.
- Organic pill → blob morph animation (gooey expand, fold-up collapse).
- Semantic types:
success,error,warning,info— accent, icon, and content colors derive from the type. - Three visual modes:
light,dark, andglossy(frosted blur + sheen). - iPhone Dynamic Island choreography: the icon docks beside the island, then a sheet slides down beneath it revealing the title and content — auto-detected, with manual override.
- Physics-based springs with a single
bouncedial and animation presets. - Promise toasts (
loading → success/error), in-placeupdate(),dismiss()by id / type / all. - Stacking with FIFO queue, swipe-to-dismiss, tap-to-re-expand, long-press-to-pause, optional countdown progress bar.
- Reduced-motion support, semantic announcements, optional haptics.
- Zero runtime dependencies. No assets, no icon fonts — everything painted.