Skip to content

Grid

A grid tile that will line up their children in a specific way. Similar to https://mui.com/components/grid/. See https://docs.flutter.dev/codelabs/layout-basics. Grids can be configured as either rows or columns.

Name Description
component grid
direction row, column direction, default is column
justifyContent start, end, center, space-between, space-evenly, space-around (MainAxisAlignment)
alignItems start, end, center, ..., CrossAxisAlignment, how children are
children list of children tiles for this grid
options see options below

Options

Name Description
scroll if direction is row, if this flag is true, overflow children will be scrolled
wrap if direction is row, if this flag is true, overflow children will be wrapped