ListNotifier<T>  class 
 
A List that behaves like ValueNotifier if its data changes.
it does not compare the elements on bulk operations
If you set notifyIfEqual to false it will compare if a value passed value
 passed is equal to the existing value.
like list[5]=4 if the content at index 4 is equal to 4 and only call
notifyListeners if they are not equal.
To allow atomic changes ListNotifier supports a single level of transactions
- Inheritance
- 
    - Object
- DelegatingList<T> 
- ListNotifier
 
- Implemented types
- 
    - ValueListenable<List< T> >
- Iterable<E> 
 
- ValueListenable<
- Mixed-in types
- Available extensions
- EnumByName
- FutureIterable
- IterableComparableExtension
- IterableDoubleExtension
- IterableExtension
- IterableExtensions
- IterableIntegerExtension
- IterableIterableExtension
- IterableNullableExtension
- IterableNumberExtension
- ListComparableExtensions
- ListExtensions
- ListToJSArray
- NullableIterableExtensions
- RecordSnapshotIterableExtension
 
Constructors
- 
          ListNotifier({List<T> ? data, bool notifyIfEqual = true, bool customEquality(T x, T y)?})
- 
          Creates a new listenable List
dataoptional list that should be used as initial value ifnotifyIfEqualisfalseListNotifierwill compare if a value passed is equal to the existing value. likelist[5]=4if the content at index 4 is equal to 4 and only callnotifyListenersif they are not equal. To prevent users from wondering why their UI doesn't update if they haven't overritten the equality operator the default istrue. Alternatively you can pass in acustomEqualityfunction that is then used instead of==
Properties
- average → double
- 
      Available on Iterable< The arithmetic mean of the elements of a non-empty iterable.num> , provided by the IterableNumberExtension extensionno setter
- average → double
- 
      Available on Iterable< The arithmetic mean of the elements of a non-empty iterable.int> , provided by the IterableIntegerExtension extensionno setter
- customEquality → bool Function(T x, T y)?
- 
  
  final
- first ↔ T
- 
  The first element.
  getter/setter pairinherited
- firstOrNull → T?
- 
      Available on Iterable< The first element, orT> , provided by the IterableExtension extensionnullif the iterable is empty.no setter
- firstOrNull → T?
- 
      Available on Iterable< The first element of this iterator, orT> , provided by the IterableExtensions extensionnullif the iterable is empty.no setter
- 
  flattened
  → Iterable<T> 
- 
      Available on Iterable< The sequential elements of each iterable in this iterable.Iterable< , provided by the IterableIterableExtension extensionT> >no setter
- 
  flattenedToList
  → List<T> 
- 
      Available on Iterable< The sequential elements of each iterable in this iterable.Iterable< , provided by the IterableIterableExtension extensionT> >no setter
- 
  flattenedToSet
  → Set<T> 
- 
      Available on Iterable< The unique sequential elements of each iterable in this iterable.Iterable< , provided by the IterableIterableExtension extensionT> >no setter
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- hasListeners → bool
- 
  Whether any listeners are currently registered.
  no setterinherited
- 
  indexed
  → Iterable<(int, T)> 
- 
      Available on Iterable< Pairs of elements of the indices and elements of this iterable.T> , provided by the IterableExtensions extensionno setter
- isEmpty → bool
- 
  Whether this collection has no elements.
  no setterinherited
- isNotEmpty → bool
- 
  Whether this collection has at least one element.
  no setterinherited
- 
  iterator
  → Iterator<T> 
- 
  A new Iteratorthat allows iterating the elements of thisIterable.no setterinherited
- 
  keys
  → Iterable<K> 
- 
      Available on Iterable< KeysRecordSnapshot< , provided by the RecordSnapshotIterableExtension extensionK, V> >no setter
- 
  keysAndValues
  → Iterable<(K, V)> 
- 
      Available on Iterable< Key value pairsRecordSnapshot< , provided by the RecordSnapshotIterableExtension extensionK, V> >no setter
- last ↔ T
- 
  The last element.
  getter/setter pairinherited
- lastOrNull → T?
- 
      Available on Iterable< The last element of this iterable, orT> , provided by the IterableExtensions extensionnullif the iterable is empty.no setter
- lastOrNull → T?
- 
      Available on Iterable< The last element, orT> , provided by the IterableExtension extensionnullif the iterable is empty.no setter
- length ↔ int
- 
  The number of elements in this Iterable.
  getter/setter pairinherited-getteroverride-setter
- max → T
- 
      Available on Iterable< A maximal element of the iterable.T> , provided by the IterableComparableExtension extensionno setter
- max → int
- 
      Available on Iterable< A maximal element of the iterable.int> , provided by the IterableIntegerExtension extensionno setter
- max → double
- 
      Available on Iterable< A maximal element of the iterable.double> , provided by the IterableDoubleExtension extensionno setter
- max → num
- 
      Available on Iterable< A maximal element of the iterable.num> , provided by the IterableNumberExtension extensionno setter
- maxOrNull → double?
- 
      Available on Iterable< A maximal element of the iterable, ordouble> , provided by the IterableDoubleExtension extensionnullif the iterable is empty.no setter
- maxOrNull → T?
- 
      Available on Iterable< A maximal element of the iterable, orT> , provided by the IterableComparableExtension extensionnullif the iterable is empty.no setter
- maxOrNull → int?
- 
      Available on Iterable< A maximal element of the iterable, orint> , provided by the IterableIntegerExtension extensionnullif the iterable is empty.no setter
- maxOrNull → num?
- 
      Available on Iterable< A maximal element of the iterable, ornum> , provided by the IterableNumberExtension extensionnullif the iterable is empty.no setter
- min → double
- 
      Available on Iterable< A minimal element of the iterable.double> , provided by the IterableDoubleExtension extensionno setter
- min → int
- 
      Available on Iterable< A minimal element of the iterable.int> , provided by the IterableIntegerExtension extensionno setter
- min → T
- 
      Available on Iterable< A minimal element of the iterable.T> , provided by the IterableComparableExtension extensionno setter
- min → num
- 
      Available on Iterable< A minimal element of the iterable.num> , provided by the IterableNumberExtension extensionno setter
- minOrNull → double?
- 
      Available on Iterable< A minimal element of the iterable, ordouble> , provided by the IterableDoubleExtension extensionnullit the iterable is empty.no setter
- minOrNull → int?
- 
      Available on Iterable< A minimal element of the iterable, orint> , provided by the IterableIntegerExtension extensionnullit the iterable is empty.no setter
- minOrNull → T?
- 
      Available on Iterable< A minimal element of the iterable, orT> , provided by the IterableComparableExtension extensionnullit the iterable is empty.no setter
- minOrNull → num?
- 
      Available on Iterable< A minimal element of the iterable, ornum> , provided by the IterableNumberExtension extensionnullit the iterable is empty.no setter
- 
  nonNulls
  → Iterable<T> 
- 
      Available on Iterable< The non-T?> , provided by the NullableIterableExtensions extensionnullelements of this iterable.no setter
- 
  reversed
  → Iterable<T> 
- 
  An Iterable of the objects in this list in reverse order.
  no setterinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- single → T
- 
  Checks that this iterable has only one element, and returns that element.
  no setterinherited
- singleOrNull → T?
- 
      Available on Iterable< The single element of this iterator, orT> , provided by the IterableExtensions extensionnull.no setter
- singleOrNull → T?
- 
      Available on Iterable< The single element of the iterable, orT> , provided by the IterableExtension extensionnull.no setter
- sum → int
- 
      Available on Iterable< The sum of the elements.int> , provided by the IterableIntegerExtension extensionno setter
- sum → num
- 
      Available on Iterable< The sum of the elements.num> , provided by the IterableNumberExtension extensionno setter
- sum → double
- 
      Available on Iterable< The sum of the elements.double> , provided by the IterableDoubleExtension extensionno setter
- 
  toJS
  → JSArray<T> 
- 
      Available on List< Converts this List to a JSArray by either casting, unwrapping, or cloning the List.T> , provided by the ListToJSArray extensionno setter
- 
  toJSProxyOrRef
  → JSArray<T> 
- 
      Available on List< Converts this List to a JSArray by either casting, unwrapping, or proxying the List.T> , provided by the ListToJSArray extensionno setter
- 
  value
  → List<T> 
- 
  returns an unmodifiable view on the lists data.
  no setteroverride
- 
  values
  → Iterable<V> 
- 
      Available on Iterable< ValuesRecordSnapshot< , provided by the RecordSnapshotIterableExtension extensionK, V> >no setter
- 
  wait
  → Future<List< T> >
- 
      Available on Iterable< Waits for futures in parallel.Future< , provided by the FutureIterable extensionT> >no setter
Methods
- 
  add(T value) → void 
- 
  Adds valueto the end of this list, extending the length by one.override
- 
  addAll(Iterable< T> iterable) → void
- 
  Appends all objects of iterableto the end of this list.override
- 
  addListener(VoidCallback listener) → void 
- 
  Register a closure to be called when the object changes.
  inherited
- 
  any(bool test(T)) → bool 
- 
  Checks whether any element of this iterable satisfies test.inherited
- 
  asMap() → Map< int, T> 
- 
  An unmodifiable Map view of this list.
  inherited
- 
  asNameMap() → Map< String, T> 
- 
      Available on Iterable< Creates a map from the names of enum values to the values.T> , provided by the EnumByName extension
- 
  binarySearch(E element, [int compare(E, E)?]) → int 
- 
      Available on List< Returns the index ofE> , provided by the ListComparableExtensions extensionelementin this sorted list.
- 
  binarySearch(E element, int compare(E, E)) → int 
- 
      Available on List< Returns the index ofE> , provided by the ListExtensions extensionelementin this sorted list.
- 
  binarySearchBy<K extends Comparable< (K> >E element, K keyOf(E element), [int start = 0, int? end]) → int 
- 
      Available on List< Returns the index ofE> , provided by the ListExtensions extensionelementin this sorted list.
- 
  binarySearchByCompare<K> (E element, K keyOf(E element), int compare(K, K), [int start = 0, int? end]) → int 
- 
      Available on List< Returns the index ofE> , provided by the ListExtensions extensionelementin this sorted list.
- 
  byName(String name) → T 
- 
      Available on Iterable< Finds the enum value in this list with nameT> , provided by the EnumByName extensionname.
- 
  cast<T> () → List< T> 
- 
  A view of this iterable as an iterable of Rinstances.inherited
- 
  clear() → void 
- 
  Removes all objects from this list; the length of the list becomes zero.
  override
- 
  contains(Object? element) → bool 
- 
  Whether the collection contains an element equal to element.inherited
- 
  dispose() → void 
- 
  Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener will throw after the object is disposed).
  inherited
- 
  elementAt(int index) → T 
- 
  Returns the indexth element.inherited
- 
  elementAtOrNull(int index) → T? 
- 
      Available on Iterable< TheT> , provided by the IterableExtension extensionindexth element, ornullif there is no such element.
- 
  elementAtOrNull(int index) → E? 
- 
      Available on List< TheE> , provided by the ListExtensions extensionindexth element, ornullif there is no such element.
- 
  elementAtOrNull(int index) → T? 
- 
      Available on Iterable< The element at positionT> , provided by the IterableExtensions extensionindexof this iterable, ornull.
- 
  endTransAction() → void 
- Ends a transaction
- 
  equals(List< E> other, [Equality<E> equality = const DefaultEquality()]) → bool
- 
      Available on List< WhetherE> , provided by the ListExtensions extensionotherhas the same elements as this list.
- 
  every(bool test(T)) → bool 
- 
  Checks whether every element of this iterable satisfies test.inherited
- 
  expand<T> (Iterable< T> f(T)) → Iterable<T> 
- 
  Expands each element of this Iterable into zero or more elements.
  inherited
- 
  expandIndexed<R> (Iterable< R> expand(int index, T element)) → Iterable<R> 
- 
      Available on Iterable< Expands each element and index to a number of elements in a new iterable.T> , provided by the IterableExtension extension
- 
  expandIndexed<R> (Iterable< R> expand(int index, E element)) → Iterable<R> 
- 
      Available on List< Expands each element and index to a number of elements in a new iterable.E> , provided by the ListExtensions extension
- 
  fillRange(int start, int end, [T? fillValue]) → void 
- 
  Overwrites a range of elements with fillValue.override
- 
  firstWhere(bool test(T), {T orElse()?}) → T 
- 
  The first element that satisfies the given predicate test.inherited
- 
  firstWhereIndexedOrNull(bool test(int index, T element)) → T? 
- 
      Available on Iterable< The first element whose value and index satisfiesT> , provided by the IterableExtension extensiontest.
- 
  firstWhereOrNull(bool test(T element)) → T? 
- 
      Available on Iterable< The first element satisfyingT> , provided by the IterableExtension extensiontest, ornullif there are none.
- 
  fold<T> (T initialValue, T combine(T previousValue, T element)) → T 
- 
  Reduces a collection to a single value by iteratively combining each
element of the collection with an existing value
  inherited
- 
  foldIndexed<R> (R initialValue, R combine(int index, R previous, T element)) → R 
- 
      Available on Iterable< Combine the elements with a value and the current index.T> , provided by the IterableExtension extension
- 
  followedBy(Iterable< T> other) → Iterable<T> 
- 
  Creates the lazy concatenation of this iterable and other.inherited
- 
  forEach(void f(T)) → void 
- 
  Invokes actionon each element of this iterable in iteration order.inherited
- 
  forEachIndexed(void action(int index, E element)) → void 
- 
      Available on List< Takes an action for each element.E> , provided by the ListExtensions extension
- 
  forEachIndexed(void action(int index, T element)) → void 
- 
      Available on Iterable< Takes an action for each element.T> , provided by the IterableExtension extension
- 
  forEachIndexedWhile(bool action(int index, E element)) → void 
- 
      Available on List< Takes an action for each element and index as long as desired.E> , provided by the ListExtensions extension
- 
  forEachIndexedWhile(bool action(int index, T element)) → void 
- 
      Available on Iterable< Takes an action for each element and index as long as desired.T> , provided by the IterableExtension extension
- 
  forEachWhile(bool action(T element)) → void 
- 
      Available on Iterable< Takes an action for each element as long as desired.T> , provided by the IterableExtension extension
- 
  forEachWhile(bool action(E element)) → void 
- 
      Available on List< Takes an action for each element as long as desired.E> , provided by the ListExtensions extension
- 
  getRange(int start, int end) → Iterable< T> 
- 
  Creates an Iterable that iterates over a range of elements.
  inherited
- 
  groupFoldBy<K, G> (K keyOf(T element), G combine(G? previous, T element)) → Map< K, G> 
- 
      Available on Iterable< Groups elements byT> , provided by the IterableExtension extensionkeyOfthen folds the elements in each group.
- 
  groupListsBy<K> (K keyOf(T element)) → Map< K, List< T> >
- 
      Available on Iterable< Groups elements into lists byT> , provided by the IterableExtension extensionkeyOf.
- 
  groupSetsBy<K> (K keyOf(T element)) → Map< K, Set< T> >
- 
      Available on Iterable< Groups elements into sets byT> , provided by the IterableExtension extensionkeyOf.
- 
  indexOf(T element, [int start = 0]) → int 
- 
  The first index of elementin this list.inherited
- 
  indexWhere(bool test(T), [int start = 0]) → int 
- 
  The first index in the list that satisfies the provided test.inherited
- 
  insert(int index, T element) → void 
- 
  Inserts elementat positionindexin this list.override
- 
  insertAll(int index, Iterable< T> iterable) → void
- 
  Inserts all objects of iterableat positionindexin this list.override
- 
  isSorted(Comparator< T> compare) → bool
- 
      Available on Iterable< Whether the elements are sorted by theT> , provided by the IterableExtension extensioncompareordering.
- 
  isSorted([Comparator< T> ? compare]) → bool
- 
      Available on Iterable< Whether the elements are sorted by theT> , provided by the IterableComparableExtension extensioncompareordering.
- 
  isSortedBy<K extends Comparable< (K> >K keyOf(T element)) → bool 
- 
      Available on Iterable< Whether the elements are sorted by theirT> , provided by the IterableExtension extensionkeyOfproperty.
- 
  isSortedByCompare<K> (K keyOf(T element), Comparator< K> compare) → bool
- 
      Available on Iterable< Whether the elements areT> , provided by the IterableExtension extensioncompare-sorted by theirkeyOfproperty.
- 
  join([String separator = '']) → String 
- 
  Converts each element to a String and concatenates the strings.
  inherited
- 
  lastBy<K> (K key(T)) → Map< K, T> 
- 
      Available on Iterable< Associates the elements inT> , provided by the IterableExtension extensionthisby the value returned bykey.
- 
  lastIndexOf(T element, [int? start]) → int 
- 
  The last index of elementin this list.inherited
- 
  lastIndexWhere(bool test(T), [int? start]) → int 
- 
  The last index in the list that satisfies the provided test.inherited
- 
  lastWhere(bool test(T), {T orElse()?}) → T 
- 
  The last element that satisfies the given predicate test.inherited
- 
  lastWhereIndexedOrNull(bool test(int index, T element)) → T? 
- 
      Available on Iterable< The last element whose index and value satisfiesT> , provided by the IterableExtension extensiontest.
- 
  lastWhereOrNull(bool test(T element)) → T? 
- 
      Available on Iterable< The last element satisfyingT> , provided by the IterableExtension extensiontest, ornullif there are none.
- 
  lowerBound(E element, int compare(E, E)) → int 
- 
      Available on List< Returns the index whereE> , provided by the ListExtensions extensionelementshould be in this sorted list.
- 
  lowerBound(E element, [int compare(E, E)?]) → int 
- 
      Available on List< Returns the index whereE> , provided by the ListComparableExtensions extensionelementshould be in this sorted list.
- 
  lowerBoundBy<K extends Comparable< (K> >E element, K keyOf(E), [int start = 0, int? end]) → int 
- 
      Available on List< Returns the index whereE> , provided by the ListExtensions extensionelementshould be in this sorted list.
- 
  lowerBoundByCompare<K> (E element, K keyOf(E), int compare(K, K), [int start = 0, int? end]) → int 
- 
      Available on List< Returns the index whereE> , provided by the ListExtensions extensionelementshould be in this sorted list.
- 
  map<T> (T f(T)) → Iterable< T> 
- 
  The current elements of this iterable modified by toElement.inherited
- 
  mapIndexed<R> (R convert(int index, E element)) → Iterable< R> 
- 
      Available on List< Maps each element and its index to a new value.E> , provided by the ListExtensions extension
- 
  mapIndexed<R> (R convert(int index, T element)) → Iterable< R> 
- 
      Available on Iterable< Maps each element and its index to a new value.T> , provided by the IterableExtension extension
- 
  none(bool test(T)) → bool 
- 
      Available on Iterable< Whether no element satisfiesT> , provided by the IterableExtension extensiontest.
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  notifyListeners() → void 
- 
  If needed you can notifiy all listeners manually
  override
- 
  reduce(T combine(T value, T element)) → T 
- 
  Reduces a collection to a single value by iteratively combining elements
of the collection using the provided function.
  inherited
- 
  reduceIndexed(T combine(int index, T previous, T element)) → T 
- 
      Available on Iterable< Combine the elements with each other and the current index.T> , provided by the IterableExtension extension
- 
  remove(Object? value) → bool 
- 
  Removes the first occurrence of valuefrom this list.override
- 
  removeAt(int index) → T 
- 
  Removes the object at position indexfrom this list.override
- 
  removeLast() → T 
- 
  Removes and returns the last object in this list.
  override
- 
  removeListener(VoidCallback listener) → void 
- 
  Remove a previously registered closure from the list of closures that are
notified when the object changes.
  inherited
- 
  removeRange(int start, int end) → void 
- 
  Removes a range of elements from the list.
  override
- 
  removeWhere(bool test(T)) → void 
- 
  Removes all objects from this list that satisfy test.override
- 
  replaceRange(int start, int end, Iterable< T> iterable) → void
- 
  Replaces a range of elements with the elements of replacements.override
- 
  retainWhere(bool test(T)) → void 
- 
  Removes all objects from this list that fail to satisfy test.override
- 
  retype<T> () → List< T> 
- 
  
  inherited
- 
  reverseRange(int start, int end) → void 
- 
      Available on List< Reverses the elements in a range of the list.E> , provided by the ListExtensions extension
- 
  sample(int count, [Random? random]) → List< T> 
- 
      Available on Iterable< SelectsT> , provided by the IterableExtension extensioncountelements at random from this iterable.
- 
  setAll(int index, Iterable< T> iterable) → void
- 
  Overwrites elements with the objects of iterable.override
- 
  setRange(int start, int end, Iterable< T> iterable, [int skipCount = 0]) → void
- 
  Writes some elements of iterableinto a range of this list.override
- 
  shuffle([Random? random]) → void 
- 
  Shuffles the elements of this list randomly.
  override
- 
  shuffled([Random? random]) → List< T> 
- 
      Available on Iterable< Creates a shuffled list of the elements of the iterable.T> , provided by the IterableExtension extension
- 
  shuffleRange(int start, int end, [Random? random]) → void 
- 
      Available on List< Shuffle a range of elements.E> , provided by the ListExtensions extension
- 
  singleWhere(bool test(T), {T orElse()?}) → T 
- 
  The single element that satisfies test.inherited
- 
  singleWhereIndexedOrNull(bool test(int index, T element)) → T? 
- 
      Available on Iterable< The single element satisfyingT> , provided by the IterableExtension extensiontest.
- 
  singleWhereOrNull(bool test(T element)) → T? 
- 
      Available on Iterable< The single element satisfyingT> , provided by the IterableExtension extensiontest.
- 
  skip(int n) → Iterable< T> 
- 
  Creates an Iterable that provides all but the first countelements.inherited
- 
  skipWhile(bool test(T)) → Iterable< T> 
- 
  Creates an Iterablethat skips leading elements whiletestis satisfied.inherited
- 
  slice(int start, [int? end]) → ListSlice< E> 
- 
      Available on List< A fixed length view of a range of this list.E> , provided by the ListExtensions extension
- 
  slices(int length) → Iterable< List< T> >
- 
      Available on Iterable< Contiguous slices ofT> , provided by the IterableExtension extensionthiswith the givenlength.
- 
  slices(int length) → Iterable< List< E> >
- 
      Available on List< Contiguous slices ofE> , provided by the ListExtensions extensionthiswith the givenlength.
- 
  sort([int compare(T, T)?]) → void 
- 
  Sorts this list according to the order specified by the comparefunction.override
- 
  sortBy<K extends Comparable< (K> >K keyOf(E element), [int start = 0, int? end]) → void 
- 
      Available on List< Sorts elements by the natural order of theirE> , provided by the ListExtensions extensionkeyOfproperty.
- 
  sortByCompare<K> (K keyOf(E element), int compare(K a, K b), [int start = 0, int? end]) → void 
- 
      Available on List< Sorts elements by theE> , provided by the ListExtensions extensioncompareof theirkeyOfproperty.
- 
  sorted(Comparator< T> compare) → List<T> 
- 
      Available on Iterable< Creates a sorted list of the elements of the iterable.T> , provided by the IterableExtension extension
- 
  sorted([Comparator< T> ? compare]) → List<T> 
- 
      Available on Iterable< Creates a sorted list of the elements of the iterable.T> , provided by the IterableComparableExtension extension
- 
  sortedBy<K extends Comparable< (K> >K keyOf(T element)) → List< T> 
- 
      Available on Iterable< Creates a sorted list of the elements of the iterable.T> , provided by the IterableExtension extension
- 
  sortedByCompare<K> (K keyOf(T element), Comparator< K> compare) → List<T> 
- 
      Available on Iterable< Creates a sorted list of the elements of the iterable.T> , provided by the IterableExtension extension
- 
  sortRange(int start, int end, [int compare(E a, E b)?]) → void 
- 
      Available on List< Sort a range of elements byE> , provided by the ListComparableExtensions extensioncompare.
- 
  sortRange(int start, int end, int compare(E a, E b)) → void 
- 
      Available on List< Sort a range of elements byE> , provided by the ListExtensions extensioncompare.
- 
  splitAfter(bool test(T element)) → Iterable< List< T> >
- 
      Available on Iterable< Splits the elements into chunks after some elements.T> , provided by the IterableExtension extension
- 
  splitAfterIndexed(bool test(int index, T element)) → Iterable< List< T> >
- 
      Available on Iterable< Splits the elements into chunks after some elements and indices.T> , provided by the IterableExtension extension
- 
  splitBefore(bool test(T element)) → Iterable< List< T> >
- 
      Available on Iterable< Splits the elements into chunks before some elements.T> , provided by the IterableExtension extension
- 
  splitBeforeIndexed(bool test(int index, T element)) → Iterable< List< T> >
- 
      Available on Iterable< Splits the elements into chunks before some elements and indices.T> , provided by the IterableExtension extension
- 
  splitBetween(bool test(T first, T second)) → Iterable< List< T> >
- 
      Available on Iterable< Splits the elements into chunks between some elements.T> , provided by the IterableExtension extension
- 
  splitBetweenIndexed(bool test(int index, T first, T second)) → Iterable< List< T> >
- 
      Available on Iterable< Splits the elements into chunks between some elements and indices.T> , provided by the IterableExtension extension
- 
  startTransAction() → void 
- Starts a transaction that allows to make multiple changes to the List with only one notification at the end.
- 
  sublist(int start, [int? end]) → List< T> 
- 
  Returns a new list containing the elements between startandend.inherited
- 
  swap(int index1, int index2) → void 
- 
  swaps elements on index1withindex2
- 
  swap(int index1, int index2) → void 
- 
      Available on List< Swaps two elements of this list.E> , provided by the ListExtensions extension
- 
  take(int n) → Iterable< T> 
- 
  Creates a lazy iterable of the countfirst elements of this iterable.inherited
- 
  takeWhile(bool test(T)) → Iterable< T> 
- 
  Creates a lazy iterable of the leading elements satisfying test.inherited
- 
  toList({bool growable = true}) → List< T> 
- 
  Creates a List containing the elements of this Iterable.
  inherited
- 
  toSet() → Set< T> 
- 
  Creates a Set containing the same elements as this iterable.
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
- 
  where(bool test(T)) → Iterable< T> 
- 
  Creates a new lazy Iterable with all elements that satisfy the
predicate test.inherited
- 
  whereIndexed(bool test(int index, E element)) → Iterable< E> 
- 
      Available on List< The elements whose value and index satisfiesE> , provided by the ListExtensions extensiontest.
- 
  whereIndexed(bool test(int index, T element)) → Iterable< T> 
- 
      Available on Iterable< The elements whose value and index satisfiesT> , provided by the IterableExtension extensiontest.
- 
  whereNot(bool test(T element)) → Iterable< T> 
- 
      Available on Iterable< The elements that do not satisfyT> , provided by the IterableExtension extensiontest.
- 
  whereNotIndexed(bool test(int index, T element)) → Iterable< T> 
- 
      Available on Iterable< The elements whose value and index do not satisfyT> , provided by the IterableExtension extensiontest.
- 
  whereNotIndexed(bool test(int index, E element)) → Iterable< E> 
- 
      Available on List< The elements whose value and index do not satisfyE> , provided by the ListExtensions extensiontest.
- 
  whereNotNull() → Iterable< T> 
- 
      Available on Iterable< The non-T?> , provided by the IterableNullableExtension extensionnullelements of thisIterable.
- 
  whereType<T> () → Iterable< T> 
- 
  Creates a new lazy Iterable with all elements that have type T.inherited
Operators
- 
  operator +(List< T> other) → List<T> 
- 
  Returns the concatenation of this list and other.inherited
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited
- 
  operator [](int index) → T 
- 
  The object at the given indexin the list.override
- 
  operator []=(int index, T value) → void 
- 
  Sets the value at the given indexin the list tovalue.override