setNumItemsThreshold method

Future<void> setNumItemsThreshold(
  1. int numItems
)

Sets the maximum number of items threshold through the widget's state.

This method can be called using a GlobalKey to access the state.

Implementation

Future<void> setNumItemsThreshold(int numItems) {
  return _effectiveController.setNumItemsThreshold(numItems);
}