indexFromDateTime method

int? indexFromDateTime(
  1. DateTime date
)

Get the index of the item for the given DateTime for the current page.

Implementation

int? indexFromDateTime(DateTime date) => indexFromDateTimeForPage(currentPage, date);