Missing In Flutter SDK Docs Your Axis Layout Guide
One of the layout guides not in the Flutter SDK docs.
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 CrossAxis 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.
Keep reading with a 7-day free trial
Subscribe to Fred’s Flutter Newsletter to keep reading this post and get 7 days of free access to the full post archives.