contentAlignment method Null safety

Alignment? contentAlignment(
  1. int i,
  2. int j
)

Implementation

Alignment? contentAlignment(int i, int j) {
  if (contentCellAlignment != null) {
    return contentCellAlignment;
  } else if (columnAlignments != null) {
    return columnAlignments![j];
  } else if (rowAlignments != null) {
    return rowAlignments![i];
  } else if (contentCellAlignments != null) {
    return contentCellAlignments![i][j];
  }
}