This needs testing on all platforms, as all platforms behave differently with "draw in in the native window" before it can be considered a solution.
Note: in fact no scaffold is needed by default at all, as we only require the next child of materialapp to be a material widget. Scaffold is a very heavy widget with lots of stuff going on there. Even if the "expected" child page of one master element is a Scaffold or a YaruDetailPage, which is a Scaffold with lipstick
This needs testing on all platforms, as all platforms behave differently with "draw in in the native window" before it can be considered a solution.
Note: in fact no scaffold is needed by default at all, as we only require the next child of materialapp to be a material widget. Scaffold is a very heavy widget with lots of stuff going on there. Even if the "expected" child page of one master element is a Scaffold or a YaruDetailPage, which is a Scaffold with lipstick
The normal layout with YMDP is the following![grafik](https://github.com/ubuntu/yaru.dart/assets/15329494/58b3173a-32d9-4bee-83bd-06c7928e4c4a)
Fixes #728