sole_sheet 0.1.2
sole_sheet: ^0.1.2 copied to clipboard
A premium glass bottom sheet for Flutter — floating 3D badge, staggered reveals, confetti, light/dark/glassy surfaces and RTL-aware text. Zero dependencies.
Changelog #
0.1.2 #
- Light-surface badge redesign — on light themes the floating badge now renders as a crisp frosted-white disc (opaque radial frost with a subtle accent tint, stronger white rim) and the glyph keeps a tight white halo instead of the soft accent glow, which washed out and looked dull over bright backdrops. Dark and glassy surfaces are unchanged.
- Refreshed the light-mode README screenshots.
0.1.1 #
- Shortened the pubspec description to the pub.dev recommended length.
- Documented the last two public symbols (
SoleSheetHostconstructor andchild) — public API dartdoc coverage is now 100%.
0.1.0 #
Initial release.
- Glass status sheets —
success,error,warning,info,confirmation,celebrationandcustomtypes, each with per-type accents, glyphs, default copy and button treatments (solid / 135° gradient), all overridable per call. - Three surface modes — solid
light, soliddark, and the signatureglassyfrost (backdrop blur over a translucent tint) that adapts to the app's brightness. Configurable globally (SoleSheetConfig.mode) and per call (mode:/theme:); solid surfaces skip the blur pass entirely. - Floating 3D glass badge — radial sheen, backdrop blur, accent glow, elastic entrance pop after the sheet lands, endless float + breathing, tap-to-sparkle star burst; accepts any custom widget in place of the glyph.
- Choreographed content — staggered rise-and-fade reveals for title, body, chips and actions; single-line auto-scaling title; height-capped scrolling body.
- In-package effects — sparkle burst and confetti rain are implemented inside the package; zero runtime dependencies.
- Light & dark glass themes — resolved from the ambient brightness with
mode/themeoverrides;SoleSheetThemefor full customisation; no bundled fonts (inject text styles, with separate RTL variants). - Text engine —
**bold**spans, newline normalisation (including literal"\n"payloads), list-aware auto-alignment, Arabic/Hebrew RTL auto-detection with forcing viatextDirection/isRtl. - Dismissal contract — every method returns a
Futureresolving on dismissal;confirmreturnsFuture<bool>; barrier tap, drag-down and system back all followisDismissible; programmaticSoleSheet.dismiss([result]). - Config — global
SoleSheetConfigwith adurationScalethat rescales the entire choreography, badge size, top radius, blur sigma, horizontal inset, haptics/sparkle/float toggles, barrier colour and confetti settings. Reduced motion (MediaQuery.disableAnimations) collapses all motion to near-instant.