gridDelegate property

SliverGridDelegate gridDelegate

The delegate that controls the size and position of the children.

Implementation

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

Implementation

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