hasPrevious property

bool hasPrevious

Whether there is another item before the current index.

Implementation

bool get hasPrevious => previousIndex != null;