lastDay property

int get lastDay

The last column the event covers, inclusive and never before day: the raw endDay when it lies after day, otherwise day itself. Geometry and hit-testing iterate day..lastDay.

Implementation

int get lastDay => (endDay != null && endDay! > day) ? endDay! : day;