SmartGridView constructor
const
SmartGridView({
- Key? key,
- required double tileWidth,
- required double tileHeight,
- List<
Widget> children = const <Widget>[], - Axis scrollDirection = Axis.vertical,
- bool? primary,
- ScrollPhysics? physics,
- bool reverse = false,
- bool shrinkWrap = false,
- EdgeInsetsGeometry? padding,
- double mainAxisSpacing = 0.0,
- double crossAxisSpacing = 0.0,
- bool addAutomaticKeepAlives = true,
- bool addRepaintBoundaries = true,
- bool addSemanticIndexes = true,
- double? cacheExtent,
- int? semanticChildCount,
- 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);