Flutter Material3 disable appbar color change on scroll
I had same problem. In my case i had an AppBar with transparent background and a Scaffold with extendBodyBehindAppBar set to true. I tried with shadowColor and surfaceTintColor with Colors.transparent value, but the shadow was still visible. Then I noticed the scrolledUnderElevation property of AppBar. Setting it to 0.0 was the solution.