SmartGridView constructor

const SmartGridView({
  1. Key? key,
  2. required double tileWidth,
  3. required double tileHeight,
  4. List<Widget> children = const <Widget>[],
  5. Axis scrollDirection = Axis.vertical,
  6. bool? primary,
  7. ScrollPhysics? physics,
  8. bool reverse = false,
  9. bool shrinkWrap = false,
  10. EdgeInsetsGeometry? padding,
  11. double mainAxisSpacing = 0.0,
  12. double crossAxisSpacing = 0.0,
  13. bool addAutomaticKeepAlives = true,
  14. bool addRepaintBoundaries = true,
  15. bool addSemanticIndexes = true,
  16. double? cacheExtent,
  17. int? semanticChildCount,
  18. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
})

Implementation

const SmartGridView({
  Key? key,
  required this.tileWidth,
  required this.tileHeight,
  this.children = const <Widget>[],
  this.scrollDirection = Axis.vertical,
  this.primary,
  this.physics,
  this.reverse = false,
  this.shrinkWrap = false,
  this.padding,
  this.mainAxisSpacing = 0.0,
  this.crossAxisSpacing = 0.0,
  this.addAutomaticKeepAlives = true,
  this.addRepaintBoundaries = true,
  this.addSemanticIndexes = true,
  this.cacheExtent,
  this.semanticChildCount,
  this.dragStartBehavior = DragStartBehavior.start,
}) : super(key: key);