gridDelegate property
SliverSimpleGridDelegate
gridDelegate
The delegate that controls the size and position of the children.
Implementation
SliverSimpleGridDelegate get gridDelegate => _gridDelegate;
Implementation
set gridDelegate(SliverSimpleGridDelegate value) {
if (_gridDelegate == value) {
return;
}
if (value.runtimeType != _gridDelegate.runtimeType ||
value.shouldRelayout(_gridDelegate)) {
markNeedsLayout();
}
_gridDelegate = value;
}