gridDelegate property

The delegate that controls the configuration of the staggered grid.

Implementation

SliverStaggeredGridDelegate get gridDelegate => _gridDelegate;
void gridDelegate=(SliverStaggeredGridDelegate value)

Implementation

set gridDelegate(SliverStaggeredGridDelegate value) {
  if (_gridDelegate == value) {
    return;
  }
  if (value.runtimeType != _gridDelegate.runtimeType ||
      value.shouldRelayout(_gridDelegate)) {
    markNeedsLayout();
  }
  _gridDelegate = value;
}