isIndexStateInLayoutRange method

  1. @override
bool isIndexStateInLayoutRange(
  1. int index
)
override

check if the state is created. that is, is the indexed widget is layout out. NOTE: state created doesn't mean it's in viewport. it could be a buffer range, depending on flutter's implementation.

Implementation

@override
bool isIndexStateInLayoutRange(int index) => tagMap[index] != null;