Missing In Flutter SDK Docs, Your Axis Layout Guide

Fred Grott
Nov 27, 2023

One of the layout guides not in the Flutter SDK docs.

NOTE: It’s a paid guide at my substack.

Several widgets such as Rows and Columns have the flex widget as their basis in controlling the axis along which children are placed. That is known as the MainAxis.

The other CrossMainAxis refers to the axis-way to align the whole group of children. This not the web layout way of CSS cells. And the best way to learn the properties is to use the Row and Column widgets.

This is not in the Flutter SDK docs, as they cannot even keep updated to changes in the Dart SDK on their DartPad examples. This is the axis properties of Flex that should have been in the Flutter SDK docs.