A function signature to get the bool property of the item at the specified index.
index
typedef BoolGetter = bool Function(int index);