GridView constructor

GridView({
  1. Axis direction = Axis.vertical,
  2. EdgeInsetsGeometry padding = EdgeInsets.zero,
  3. required int crossAxisCount,
  4. double mainAxisSpacing = 0.0,
  5. double crossAxisSpacing = 0.0,
  6. double childAspectRatio = double.infinity,
  7. List<Widget> children = const <Widget>[],
})

Implementation

GridView({
  this.direction = Axis.vertical,
  this.padding = EdgeInsets.zero,
  required this.crossAxisCount,
  this.mainAxisSpacing = 0.0,
  this.crossAxisSpacing = 0.0,
  this.childAspectRatio = double.infinity,
  List<Widget> children = const <Widget>[],
}) : super(children: children);