getPrimary method

bool getPrimary()

Returns the primary of the matched GridView via Widget.toDiagnosticsNode

Implementation

bool getPrimary() {
  return getDiagnosticProp<bool>('primary');
}