getLength method
Returns the number of items in the current column.
This method is called to determine how many items should be displayed in the currently active column.
Implementation
@override
int getLength() {
if (cur == null) return 0;
if (cur!.items != null) return cur!.items!.length;
return cur!.count();
}