Closed nathanielheitsch closed 4 months ago
@gilnobrega
@gilnobrega can we get this merged in?
Thanks for the contribution, I appreciate this fixes the issue #7.
However, using addPostFrameCallback
feels like a workaround rather than adressing its root cause - that the scrollbar needs to be aware of the scrollable viewport dimension before rendering its components.
Listening to ScrollMetricsNotification
s is a more adequate way to achieve this.
A lot of the original codebase was merely a proof of concept for UI, but its implementation was hacky.
PR #9 not only addresses this issue, but also makes using RoundScrollbar
feel more like flutter's Scrollbar
widget.
Closes #7