expanded_grid 0.0.2 copy "expanded_grid: ^0.0.2" to clipboard
expanded_grid: ^0.0.2 copied to clipboard

outdated

An unscrollable Grid View.

expanded_grid #

An unscrollable Grid View.

Usage #

First, determine column and row size.

Default size is column = row = 1.

ExpandedGrid(
  column: 4, 
  row: 5,
)

Second, pass ExpandedGridContent List to children.

If ExpandedGridContent specifies out of range, it is ignored.

Default position is (0,0).

ExpandedGrid(
  column: 4, row: 5,
  children: <ExpandedGridContent>[
    ExpandedGridContent(
      rowIndex: 0, columnIndex: 0,
      rowSpan: 2, columnSpan: 3,
      child: Container(color: Colors.blue,)
    ),
    //...
  ]