addRow method

void addRow()

Implementation

void addRow() {
  if (!showActions) {
    throw Exception(
        'Show actions must be true to make row editable either use addRowWithValues or set showActions to true');
  }
  insertRow(0, List.filled(columns.length, null), isEditing: true);
}