Menu

Instead of relying on the automatic elevation, you can use a NotificationListener to track the scroll position and manually update the elevation or surfaceTintColor property of your AppBar . 2. Force the Surface Tint

Solving the Mystery: Why Your Flutter Material 3 App Bar Won't Elevate

If you’ve recently migrated your Flutter app to Material 3, you might have noticed something frustrating. You’ve set your elevation, you’re scrolling away, and… nothing. The app bar remains stubbornly flat against the background.