how to disable overflow scroll effect in listview in android studio code example
Example 1: Flutter how to disable splash on listview
MaterialApp(
builder: (context, child) {
return ScrollConfiguration(
behavior: MyBehavior(),
child: child,
);
},
home: new MyHomePage(),
);
Example 2: listView disable pull splash
class MyBehavior extends ScrollBehavior {
Widget buildViewportChrome(
BuildContext context, Widget child, AxisDirection axisDirection) {
return child;
}
}