gridDelegate property

SliverGridDelegate get gridDelegate

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

Implementation

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

Implementation

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