1

I can't find any information about physics using Flutter web, I used SingleChildScrollView, but the physics only applied when you use the scrollbar. I want to get the same physics using the mousepad or the Mouse scroll.

VLAZ
29.6k9 gold badges65 silver badges87 bronze badges
asked Nov 14, 2021 at 19:33
1
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. Commented Nov 18, 2021 at 21:54

1 Answer 1

0

Have you tried this ?

 Scrollbar(
 thickness: 8,
 controller: _yourController,
 hoverThickness: 10,
 showTrackOnHover: true,
 isAlwaysShown: true,
 child: SingleChildScrollView(
 controller: _yourController,
 physics: BouncingScrollPhysics(),
 child: MyChild(),
 )
 )
answered Nov 15, 2021 at 12:55
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.