hasPrevious property
bool
hasPrevious
Whether there is another item before the current index.
Implementation
bool get hasPrevious => previousIndex != null;
Whether there is another item before the current index.
bool get hasPrevious => previousIndex != null;