fillRange method

  1. @override
void fillRange(
  1. int start,
  2. int end, [
  3. T? fill
])
override

Sets the objects in the range start inclusive to end exclusive to the given fill Listeners are notified after all objects are updated.

The provided range, given by start to end, must be valid. A range from start to end is valid if 0 <= start <= end <= len, where len ist he list's length. The range starts at start and has length end - start. An empty range (with end == start) is valid.

Implementation

@override
void fillRange(int start, int end, [T? fill]) {
  assert(_debugAssertNotDisposed());
  _list!.fillRange(start, end, fill);
  notifyListeners();
}