FixedColumnCountGridDelegate({@required int columnCount, double columnSpacing: 0.0, double rowSpacing: 0.0, EdgeInsets padding: EdgeInsets.zero, double tileAspectRatio: 1.0 })

Creates a grid delegate that uses a fixed column count.

The columnCount argument must not be null.

Source

FixedColumnCountGridDelegate({
  @required this.columnCount,
  double columnSpacing: 0.0,
  double rowSpacing: 0.0,
  EdgeInsets padding: EdgeInsets.zero,
  this.tileAspectRatio: 1.0
}) : super(columnSpacing: columnSpacing, rowSpacing: rowSpacing, padding: padding) {
  assert(columnCount != null && columnCount >= 0);
  assert(tileAspectRatio != null && tileAspectRatio > 0.0);
}