Skip to main content

sparkle_scrollbar 0.0.16 copy "sparkle_scrollbar: ^0.0.16" to clipboard
sparkle_scrollbar: ^0.0.16 copied to clipboard

A customizable GPU-accelerated particle and glow shader scrollbar for Flutter with multi-axis support and haptic feedback.

0.0.16 #

0.0.15 #

Fixed #

  • HITBOX ACCURACY FIX: Separated the visual rendering canvas from the interactive gesture area.
  • The MouseRegion and GestureDetector hitboxes are now dynamically calculated to match the exact thickness of the scrollbar thumb. This prevents accidental hover and drag interactions when the mouse cursor is 10-15 pixels away, while preserving the wide canvas needed for particle and glow shader effects.

0.0.14 #

0.0.13 #

0.0.12 #

Fixed #

  • DESKTOP / WEB FIX: Resolved a duplicate scrollbar collision issue on desktop platforms (Linux, macOS, Windows) and Web.
  • Implemented a dedicated _SparkleScrollBehavior that explicitly suppresses Flutter's automatic platform scrollbar injection (buildScrollbar), ensuring only SparkleScrollbar is rendered while fully preserving inherited drag devices and scroll physics.

0.0.11 #

  • Nothing just a version match.

0.0.10 #

Fixed #

  • CRITICAL FIX: Resolved a BoxConstraints forces an infinite height layout assertion error caused by StackFit.expand when the scrollbar was wrapped inside unconstrained cross-axis layouts (such as Row, Column, or Flex parents with an Expanded child).
  • Updated internal stack fit behavior to StackFit.passthrough, allowing non-positioned children (such as TextField or auto-sized containers) to safely calculate their natural dimensions without crashing the render pipeline.

0.0.9 #

Fixed #

  • CRITICAL FIX: Resolved a Null check operator used on a null value framework crash when reading maxScrollExtent before content dimensions are resolved (hasContentDimensions == false), ensuring rock-solid stability with TextField and un-laid-out scrollables.

0.0.8 #

Added #

  • Explicit ScrollController Support: Added controller parameter to SparkleScrollbar widget.
    • Allows seamless synchronization with TextField, CustomScrollView, and complex nested scrollables.
    • Avoids ambiguous descendant tree traversal when multiple scrollables exist.
    • Enhances thumb dragging precision and real-time metric responsiveness.

0.0.7 #

  • Fixed README image cache preview

0.0.6 #

  • CRITICAL FIX: Resolved a notification collision issue in nested scroll views where horizontal scroll actions erroneously triggered orthogonal vertical scrollbar animations and metric updates.
  • FIX: Fixed an issue where the scrollbar thumb, track, and glowing shader particles remained visible when content did not exceed the viewport boundary (maxScrollExtent <= 0).
  • IMPROVEMENT: Added automatic smooth fade-out animations when content is not scrollable, dynamically restoring visibility upon viewport resizing or list expansion.
  • UX FIX: Wrapped non-scrollable states in IgnorePointer to prevent phantom touch interception over underlying clickable UI elements.

0.0.5 #

  • FIX: Fixed an issue where the scrollbar thumb and particle effects remained visible when the content did not exceed the viewport boundary (maxScrollExtent <= 0).
  • IMPROVEMENT: Added automatic, smooth fade-out animations when content is not scrollable, dynamically fading back in upon window resize or list expansion.
  • UX FIX: Wrapped non-scrollable states with IgnorePointer to prevent phantom gesture interception over underlying UI elements.

0.0.4 #

  • CRITICAL FIX: Resolved a severe framework assertion error (!semantics.parentDataDirty and UI freezing) caused by synchronous setState calls during the layout phase.
  • Safely deferred scroll metric layout updates using addPostFrameCallback to ensure perfect compatibility with heavily nested and complex widget trees (like ShaderMask, Flex, and SilkyScroll).

0.0.3 #

  • Added new ParticleShape.bubble effect featuring glossy translucent bubbles with realistic specular highlights and smooth side-to-side wobble motion.

0.0.2 #

  • Fixed README image cache preview and license metadata.

0.0.1 #

  • Initial release of SparkleScrollbar with GPU fragment shaders and dynamic particle engine.
0
likes
160
points
196
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A customizable GPU-accelerated particle and glow shader scrollbar for Flutter with multi-axis support and haptic feedback.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on sparkle_scrollbar