Skip to content
pubscout

more

4.9.0, released 13 days ago by lukas-renggli.ch

A collection of utility extensions and specialized data structures for Dart.

WASM-readyRock solid
$ flutter pub add more
Source repository

What it does

Provides collections, iterables extensions, graph theory algorithms, math and number types, caching strategies, and character matching tools. It complements the Dart standard library with extensively tested data structures and utilities.

AI-written summary of version 4.9.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need advanced collection types like Multimaps, BiMaps, and BitLists.
  • You require graph-theory data structures and algorithms such as shortest pathing.
  • You want exact rational arithmetic, complex numbers, or math extensions on integers.

Skip it when

  • You only need basic collections already covered by dart:collection.
  • You want a fully-fledged state management library.

Strengths

  • Extensively tested comprehensive set of utilities.
  • Includes specialized data structures and algorithms not found in core Dart.
  • Supports multiple libraries like caching, graph theory, and functional types.

Weaknesses

  • Large assortment of disparate features may pull in more than needed if only a small utility is required.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
4
import 'package:more/collection.dart';

final multimap = ListMultimap<String, int>()
  ..add('even', 2)
  ..add('even', 4)
  ..add('odd', 1);
print(multimap['even']);

Alternatives

Packages that do the same job and could replace more.

Works with

Packages commonly used together with more: ones it builds on, ones built on it, and its own family.