The glow effect comes from GlowingOverscrollIndicator added by ScrollBehavior.
To remove this effect, you need to specify a custom ScrollBehavior. For that, simply wrap any given part of your application into a ScrollConfiguration with the desired ScrollBehavior.
The following ScrollBehavior will remove the glow effect entirely:
class NoGlow extends ScrollBehavior {
@override
Widget buildViewportChrome(
BuildContext context, Widget child, AxisDirection axisDirection) {
return child;
}
}
Use this for behavior parameter in the list view.
ScrollConfiguration(
behavior: NoGlow(),
child: ListView(
...
),
)
This will remove that glow effects.