Creates a grid with a maximum tile width.
The columnCount
argument must not be negative.
Source
MaxTileWidthGrid({ Key key, @required this.maxTileWidth, 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(maxTileWidth != null && maxTileWidth >= 0.0); assert(tileAspectRatio != null && tileAspectRatio > 0.0); }