mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
## Description This PR makes it possible for the `MaterialApp` built in `ScaffoldMessenger` state to access the ambient theme. Before this PR, the built in messenger was above the theme. After this PR, the build in messenger is below the theme. ## Related Issue Fixes [Can't access useMaterial3 from the theme in the showSnackBar method](https://github.com/flutter/flutter/issues/115924) ## Tests Adds 1 test.