gridDelegate property
SliverStaggeredGridDelegate
gridDelegate
The delegate that controls the configuration of the staggered grid.
Implementation
SliverStaggeredGridDelegate get gridDelegate => _gridDelegate;
Implementation
set gridDelegate(SliverStaggeredGridDelegate value) {
if (_gridDelegate == value) {
return;
}
if (value.runtimeType != _gridDelegate.runtimeType ||
value.shouldRelayout(_gridDelegate)) {
markNeedsLayout();
}
_gridDelegate = value;
}