model property
Creates a flex layout.
The direction is required.
The direction, mainAxisAlignment, crossAxisAlignment, and verticalDirection arguments must not be null. If crossAxisAlignment is CrossAxisAlignment.baseline, then textBaseline must not be null.
The textDirection argument defaults to the ambient Directionality, if
any. If there is no ambient directionality, and a text direction is going
to be necessary to decide which direction to lay the children in or to
disambiguate start or end values for the main or cross axis
directions, the textDirection must not be null.
Implementation
final BoxModel model;