sparkle_scrollbar 0.0.16
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
MouseRegionandGestureDetectorhitboxes 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
_SparkleScrollBehaviorthat explicitly suppresses Flutter's automatic platform scrollbar injection (buildScrollbar), ensuring onlySparkleScrollbaris 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 heightlayout assertion error caused byStackFit.expandwhen the scrollbar was wrapped inside unconstrained cross-axis layouts (such asRow,Column, orFlexparents with anExpandedchild). - Updated internal stack fit behavior to
StackFit.passthrough, allowing non-positioned children (such asTextFieldor 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 valueframework crash when readingmaxScrollExtentbefore content dimensions are resolved (hasContentDimensions == false), ensuring rock-solid stability withTextFieldand un-laid-out scrollables.
0.0.8 #
Added #
- Explicit
ScrollControllerSupport: Addedcontrollerparameter toSparkleScrollbarwidget.- 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.
- Allows seamless synchronization with
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
IgnorePointerto 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
IgnorePointerto prevent phantom gesture interception over underlying UI elements.
0.0.4 #
- CRITICAL FIX: Resolved a severe framework assertion error (
!semantics.parentDataDirtyand UI freezing) caused by synchronoussetStatecalls during the layout phase. - Safely deferred scroll metric layout updates using
addPostFrameCallbackto ensure perfect compatibility with heavily nested and complex widget trees (likeShaderMask,Flex, andSilkyScroll).
0.0.3 #
- Added new
ParticleShape.bubbleeffect 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.