fluttercommunity / fluttercommunity/flutter-draggable-scrollbar

How to hide the scroll thumb?

Open
#48 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
442
Forks
72
PR merge metrics
No merged PRs in 30d

Description

**Is it possible to hide the scroll thumb if the list of items doesn't take an entire page?**
I tried creating a custom scroll indicator, and setting it to an empty container if the list of items is less than 20 items for example. But if I do that I can't show the `labelTextBuilder` or use `DraggableScrollbar.arrows`

I would also like to know how to hide the scroll indicator if the user is using pull-to-refresh.

`(Current simple solution: list.length > 8 ? DraggableScrollbar(list) : list)`

Other question: **How can I reset the scroll indicator position?**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.