**1.** Wrap your ListView inside a `GlowingOverscrollIndicator`
**2.** Wrap your `GlowingOverscrollIndicator` inside a ScrollConfiguration with a new scroll behavior
Try with below code snippet.
ScrollConfiguration(
behavior: ScrollBehavior(),
child: GlowingOverscrollIndicator(
axisDirection: AxisDirection.down,
color: Colors.yellow,
child: ListView.builder(
physics: ClampingScrollPhysics(),
itemCount: 15,
itemBuilder: (context, index) {
return ListTile(
title: Text("testing :$index"),
);
},
),
),
),
Another option without using theme could be:
1- Wrap your ListView inside a `GlowingOverscrollIndicator`
2- Wrap your `GlowingOverscrollIndicator` inside a ScrollConfiguration with a new scroll behavior
Here you have:
ScrollConfiguration(
behavior: ScrollBehavior(),
child: GlowingOverscrollIndicator(
axisDirection: AxisDirection.down,
color: Colors.yellow,
child: ListView.builder(
physics: ClampingScrollPhysics(),
itemCount: 15,
itemBuilder: (context, index) {
return ListTile(
title: Text("testing :$index"),
);
},
),
),
),