How to remove ListView highlight color in Flutter?

Posted by Andre Scott | Updated on

Want to remove ListView highlight color in Flutter? You can insert in your widget tree a NotificationListener

and then call on notification overscrollIndicatorNotification.disallowGlow()

You can insert NotificationListener wherever you like. As long as it’s a child of MaterialApp and above the desired ListView. It doesn’t need to be a direct parent of that ListView.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers