more 1.8.1

  • Installing
  • Versions
  • 79

More Dart — Literally

Pub Package Build Status Coverage Status GitHub Issues GitHub Forks GitHub Stars GitHub License

Various extensions that make Dart a better place:

  • cache.dart is a collection of different caching strategies and their expiry policy.
  • char_matcher.dart is a model for character classes, their composition and operations on strings.
  • collection.dart is a collection of collection types (bi map, bit list, multi set, range, string).
  • fraction.dart provides exact rational number arithmetic.
  • int_math.dart is a collection of common mathematical functions on integers.
  • iterable.dart is a collection of iterables and iterators.
  • ordering.dart a fluent interface for building comparator functions.

And there are more to come ...

This library is open source, stable and well tested. Development happens on GitHub. Feel free to report issues or create a pull-request there. General questions are best asked on StackOverflow.

Up-to-date class documentation is created with every release.



Follow the Installing instructions on

Import one or more of the packages into your Dart code using:

import 'package:more/cache.dart';
import 'package:more/char_matcher.dart';
import 'package:more/collection.dart';
import 'package:more/fraction.dart';
import 'package:more/int_math.dart';
import 'package:more/iterable.dart';
import 'package:more/ordering.dart';


This library started in April 2013 as I was working through the puzzles of Project Euler and encountered some missing features in Dart. Over time the library grew and became more useful in many other places, so I created this reusable library.


The MIT License, see LICENSE.



  • Removed empty(), emptyIterator(), emptyIterable() since these are part of the core library now.
  • Add periodic iterable tools (monthly, weekly, daily, hourly, ...).


  • Ordering.reversed, Ordering.nullsFirst, Ordering.nullsLast, and Ordering.lexicographical are now properties for consistency with the Iterable protocol.
  • Various optimization and improvements on the Range class.


  • Cleanup after micro library migration.
  • Move to latest Dart provided mixins.


  • Cleanup after micro library migration.
  • Address linter warnings.
  • Better test coverage.


  • Migrate to micro libraries.
  • Add caching library.


  • Use generic method syntax.


  • Fix pubspec SDK constraints.


  • Fix linter warnings.
  • Improve documentation.


  • Strong compiler compliant.


  • Fix various typos and linter issues.
  • Reformat documentation.


  • Migrate to Travis.

1. Depend on it

Add this to your package's pubspec.yaml file:

  more: "^1.8.1"

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter packages get

Alternatively, your editor might support pub get or packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:more/cache.dart';

import 'package:more/char_matcher.dart';

import 'package:more/collection.dart';

import 'package:more/fraction.dart';

import 'package:more/int_math.dart';

import 'package:more/iterable.dart';

import 'package:more/ordering.dart';
Version Uploaded Documentation Archive
1.8.1 Nov 5, 2017 Go to the documentation of more 1.8.1 Download more 1.8.1 archive
1.8.0 Sep 1, 2017 Go to the documentation of more 1.8.0 Download more 1.8.0 archive
1.7.2 Aug 4, 2017 Go to the documentation of more 1.7.2 Download more 1.7.2 archive
1.7.1 Jul 22, 2017 Go to the documentation of more 1.7.1 Download more 1.7.1 archive
1.7.0 Jul 22, 2017 Go to the documentation of more 1.7.0 Download more 1.7.0 archive
1.6.0 Dec 19, 2016 Go to the documentation of more 1.6.0 Download more 1.6.0 archive
1.5.3 Oct 17, 2016 Go to the documentation of more 1.5.3 Download more 1.5.3 archive
1.5.1 Apr 5, 2016 Go to the documentation of more 1.5.1 Download more 1.5.1 archive
1.5.0 Oct 6, 2015 Go to the documentation of more 1.5.0 Download more 1.5.0 archive
1.4.0 May 15, 2015 Go to the documentation of more 1.4.0 Download more 1.4.0 archive

All 49 versions...


This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • completed on Feb 3, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1


Describes how popular the package is relative to other packages. [more]
60 / 100
Code health derived from static analysis. [more]
98 / 100
Reflects how tidy and up-to-date the package is. [more]
100 / 100
Overall score:
Weighted score of the above. [more]


Detected platforms: Flutter, web, other

No platform restriction found in libraries.


  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use more.dart.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.23.0 <2.0.0
collection ^1.14.0 1.14.5
Dev dependencies
test ^0.12.0