Flutter Web - How to hide the scrollbar in ListView?
821
You can use ScrollConfiguration
widget to pass a spesific scroll behaviour to the widget tree.
ScrollConfiguration(
behavior: ScrollConfiguration.of(context).copyWith(scrollbars: false),
child: ListView(...)
)
Author by
MarvinBK
Updated on November 23, 2022Comments
-
MarvinBK over 1 year
In Flutter web, there is a visible scroll bar in
ListView
andSingleChildScrollView
by default.How to hide it?