sole_sheet 0.1.2 copy "sole_sheet: ^0.1.2" to clipboard
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 (SoleSheetHost constructor and child) — public API dartdoc coverage is now 100%.

0.1.0 #

Initial release.

  • Glass status sheetssuccess, error, warning, info, confirmation, celebration and custom types, each with per-type accents, glyphs, default copy and button treatments (solid / 135° gradient), all overridable per call.
  • Three surface modes — solid light, solid dark, and the signature glassy frost (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 / theme overrides; SoleSheetTheme for 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 via textDirection / isRtl.
  • Dismissal contract — every method returns a Future resolving on dismissal; confirm returns Future<bool>; barrier tap, drag-down and system back all follow isDismissible; programmatic SoleSheet.dismiss([result]).
  • Config — global SoleSheetConfig with a durationScale that 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.
1
likes
160
points
176
downloads

Documentation

API reference

Publisher

verified publishersohailahmad.com

Weekly Downloads

A premium glass bottom sheet for Flutter — floating 3D badge, staggered reveals, confetti, light/dark/glassy surfaces and RTL-aware text. Zero dependencies.

Repository (GitHub)
View/report issues

Topics

#bottom-sheet #notification #dialog #glassmorphism #ui

License

MIT (license)

Dependencies

flutter

More

Packages that depend on sole_sheet