lastDate property
The latest date the user is permitted to pick.
EasyDateTimeLinePicker(
firstDate: DateTime(2020, 1, 1),
lastDate: DateTime(2020, 12, 31),
focusedDate: _focusedDate,
onDateChange: _onDateChange,
)
Implementation
final DateTime lastDate;