IntrinsicGridView.vertical constructor
IntrinsicGridView.vertical({
- Key? key,
- required List<
Widget> children, - int columnCount = 2,
- EdgeInsets margin = EdgeInsets.zero,
- EdgeInsets padding = EdgeInsets.zero,
- double horizontalSpace = 0.0,
- double verticalSpace = 0.0,
- Color backgroundColor = Colors.transparent,
Creates a 2D array of children
, which scrolls in vertical direction
.
Implementation
IntrinsicGridView.vertical({
Key? key,
required List<Widget> children,
int columnCount: 2,
EdgeInsets margin: EdgeInsets.zero,
EdgeInsets padding: EdgeInsets.zero,
double horizontalSpace = 0.0,
double verticalSpace = 0.0,
Color backgroundColor: Colors.transparent,
}) : super(key: key) {
this._children = children;
this._columnCount = columnCount;
this._childMargin = EdgeInsets.symmetric(
vertical: verticalSpace / 2, horizontal: horizontalSpace / 2);
this._margin = margin;
this._padding = padding;
this._backgroundColor = backgroundColor;
}