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.
asked Nov 14, 2021 at 19:33
Alexis Mejía
1043 silver badges7 bronze badges
-
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.Community– Community Bot2021年11月18日 21:54:03 +00:00Commented Nov 18, 2021 at 21:54
1 Answer 1
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
Abhimanyu Goswami
631 silver badge6 bronze badges
Sign up to request clarification or add additional context in comments.
Comments
lang-dart