Member-only story
Google Is Not Doing Adaptive Layout Right
Unfortunately, Google in its example of the Adaptive Layout class from the Flutter Adaptive Scaffold is showing the wrong way to use adaptive scaffold. Somewhat cluster mess in that whoever coded the example obviously did not read the Adaptive Scaffold class code, as that code actually contains the right way to use adaptive scaffold in the first place!
Also, what is missing is how to position the body content and again examining the source of the Adaptive Scaffold class also gives us the clue to what solutions to use for that feature as well.
In this article, I will show you the right way to use adaptive layout and using a more powerful MultiChildLayout called Boxy to implement body content positioning.
What Are We Building
This is a video showing the result of the use of Adaptive Layout class from the Flutter Adaptive Scaffold package with the body content positioning:
The packages used are:
Flutter Adaptive Scaffold