PackageTrack
Sign in Get early access

list_ext

Dart extension methods for Iterable and List. You can easily sum, count elements and many more.

1.0.6 2.8K downloads/mo #4758 most downloaded on pub.dev Innim/dart_list_extensions

What this package is like to depend on

Last release 4 years ago

no release in 18 months

Ships unpredictably

gaps range from 2 weeks to 11 months

Nearly every release is documented

notes for 24 of 26 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

28 releases · first in 2020

0 releases in the last 12 months

see the full history below

Release timeline

28 releases · Mar 2020 to Oct 2022
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 28
  1. 1.0.6 04 Oct 2022
    Release notes
    • Method Iterable.mapIndex() - creates a new iterable by passing each element and index to a callback. Thanks to @killermonk.
    Open source →
  2. 1.0.5 28 Sep 2022
    Release notes
    • Added methods sumOfBigInt() and max(), min() for Iterable<BigInt>.
    Open source →
  3. 1.0.4 28 Oct 2021
    Release notes
    • Method List.addIfNotNull() - adds element to the end of this list if this element is not null.
    Open source →
  4. 1.0.3 15 Oct 2021
    Release notes
    • Method List.copyWithInsertAll() - copy current list with adding all elements at the position of new list.
    Open source →
  5. 1.0.2 04 Mar 2021
    Release notes
    • Method toMap() use functions with specified element type (may be breaking in some cases). That's because implementation with dynamic makes usage very inconvenient.
    • Use innim_lint analysis options.
    Open source →
  6. 1.0.1-nullsafety.0 24 Dec 2020 pre-release
    Release notes
    • Method intersperse() - Adds an element between elements of the iterable.
    Open source →
  7. 1.0.0-nullsafety.0 01 Dec 2020 pre-release
    Release notes
    • Migrated to null safety.
    • Removed Removed deprecated method containsWhere().
    Open source →
  8. 0.2.0 25 Dec 2020

    Nothing published for this version

  9. 0.1.15 24 Dec 2020

    Nothing published for this version

  10. 0.1.14 03 Nov 2020
    Release notes
    • Method List.replace() - Remove element and replace it with another element.
    • Method List.replaceWhere() - Replace all elements of list that satisfy given predicate.
    • Method List.copyWithReplace() - Copy current list, replacing all element occurrences with another element.
    • Method List.copyWithReplaceWhere() - Copy current list, replacing elements of list that satisfy given predicate with another element.
    Open source →
  11. 0.1.13 25 Aug 2020
    Release notes
    • Method sortBy() - sorts the list in ascending order of the object's field value.
    • Method sortByDescending() - sorts the list in descending order of the object's field value.
    Open source →
  12. 0.1.12 29 Jul 2020
    Release notes
    • Getter random - returns a random element from the list.
    Open source →
  13. 0.1.11 16 Jul 2020
    Release notes
    • Analysis problems fixed.
    • Remove containsWhere() - duplicate of any().
    Open source →
  14. 0.1.11+1 16 Jul 2020
    Release notes
    • Readme fix.
    Open source →
  15. 0.1.10 24 Jun 2020
    Release notes
    • Method containsWhere() - returns true if the collection contains an element that satisfy the predicate.
    • Method containsAll() - returns true if the collection contains all elements from the given collection.
    Open source →
  16. 0.1.9 01 Jun 2020
    Release notes
    • Refactor methods arrangements.
    • Refactor tests in groups.
    • Getter firstOrNull - returns the first element or null if collection is empty.
    Open source →
  17. 0.1.9+1 01 Jun 2020
    Release notes
    • Readme updated.
    Open source →
  18. 0.1.8 23 May 2020
    Release notes
    • Method maxOf() - returns the max value of int or double values by elements.
    • Method max() for iterables of int and double.
    • Method minOf() - returns the min value of int or double values by elements.
    • Method min() for iterables of int and double.
    • Method reduceValue() - reduces values of elements in a collection to a single value by iteratively combining its using the provided function.
    Open source →
  19. 0.1.7 20 May 2020
    Release notes
    • Fixed repository url.
    • Method tryElementAt() - returns the element at the index if exists or orElse if it is out of range.
    Open source →
  20. 0.1.6 11 May 2020
    Release notes
    • Add classifier in README.
    • Method avgOf() - returns the average value of int values by elements.
    • Method avgOfDouble() - returns the average value of double values by elements.
    • Methods avg() for iterables of int and double.
    Open source →
  21. 0.1.5 27 Apr 2020
    Release notes
    • Method firstWhereOrNull() - return the first element that satisfies the given predicate or null if no element satisfies.
    Open source →
  22. 0.1.4 07 Apr 2020
    Release notes
    • Method copyWithAll() - copy current list with adding all elements at the end of new list.
    • Method copyWith() support null list.
    Open source →
  23. 0.1.3 01 Apr 2020
    Release notes
    • Method isUnorderedEquivalent() - check equality of the elements of this and other iterables without considering order.
    Open source →
  24. 0.1.2 31 Mar 2020
    Release notes
    • Method joinOf() - get string value for each element and concatenates it with separator.
    • Method chunks() - splits into chunks (shortcut for quiver partition()).
    • Method toMap() - create Map from iterable (shortcut for Map.fromIterable()).
    • Extensions for List and method copyWith() - copy current list with adding element at the end of it.
    Open source →
  25. 0.1.2+1 31 Mar 2020
    Release notes
    • quiver dependency decreased to 2.0.0.
    Open source →
  26. 0.1.1 27 Mar 2020
    Release notes
    • Getter isNullOrEmpty - returns true if iterable is null or empty.
    • Getter isNotNullOrEmpty - returns true if iterable is not null and not empty.
    • Remove redundant Flutter dependencies.
    Open source →
  27. 0.1.0 27 Mar 2020
    Release notes
    • Add an example.
    • Update package description.
    Open source →
  28. 0.0.1 27 Mar 2020
    Release notes
    • Method countWhere() - returns count of elements that satisfy the predicate test.
    • Method sumOf() - returns sum of int values by elements.
    • Method sumOfDouble() - Returns sum of double values by elements.
    • Methods sum() for iterables of int and double.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive