FixedColumnCountGrid({Key key, @required int columnCount, double columnSpacing: 0.0, double rowSpacing: 0.0, double tileAspectRatio: 1.0, EdgeInsets padding: EdgeInsets.zero, List<Widget> children: const [] })

Creates a grid with a fixed number of columns.

The columnCount argument must not be negative.

Source

FixedColumnCountGrid({
  Key key,
  @required this.columnCount,
  this.columnSpacing: 0.0,
  this.rowSpacing: 0.0,
  this.tileAspectRatio: 1.0,
  this.padding: EdgeInsets.zero,
  List<Widget> children: const <Widget>[],
}) : super(key: key, children: children) {
  assert(columnCount != null && columnCount >= 0);
  assert(tileAspectRatio != null && tileAspectRatio > 0.0);
}