getRowIndex method

int getRowIndex(
  1. int month, {
  2. int monthsPerRow = 4,
})

Implementation

int getRowIndex(int month, {int monthsPerRow = 4}) =>
    ((month - 1) / monthsPerRow).round();