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