'How can I remove/disable vertical PageView top/bottom color - scroll glow - Flutter

Does anyone know if there is a way to remove the PageView color that occurs when the user reaches the end of the items? this is an image that describes what I mean Click here

PageView.builder(
                    physics: NeverScrollableScrollPhysics(),
                    scrollDirection: Axis.vertical,
                    controller: _controller,
                    itemCount: 4,
                    itemBuilder: (BuildContext context, int index) {
                      _isValid = false;
                      return [
                          SizedBox.expand(...),
                          SizedBox.expand(...),
                          SizedBox.expand(...),
                          SizedBox.expand(...),
                        ][index];
                    },
                  )

I found the complete and right answer here: How to remove scroll glow?



Solution 1:[1]

above one is not worked for me , after the new flutter v2 ( sdk 2.8.1),

NotificationListener<OverscrollIndicatorNotification>(
  onNotification: (overscroll) {
   overscroll.disallowIndicator();
    return true;
   },
child: SingleChildScrollView(

 )
)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Jinto Joseph