more 1.8.0

  • Installing
  • Versions
  • 37

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.

Misc #

Installation #

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';

History #

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.

License #

The MIT License, see LICENSE.

Changelog #

1.8.0 #

  • 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.

1.7.2 #

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

1.7.1 #

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

1.7.0 #

  • Migrate to micro libraries.
  • Add caching library.

1.6.0 #

  • Use generic method syntax.

1.5.3 #

  • Fix pubspec SDK constraints.

1.5.2 #

  • Fix linter warnings.
  • Improve documentation.

1.5.1 #

  • Strong compiler compliant.

1.5.0 #

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

1.4.0 #

  • Migrate to Travis.

Use this package as a library

1. Depend on it

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

  more: ^1.8.0

2. Install it

You can install packages from the command line:

with pub:

$ pub get

Alternatively, your editor might support pub 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.17.0 May 10, 2019 Go to the documentation of more 1.17.0 Download more 1.17.0 archive
1.16.0 Feb 26, 2019 Go to the documentation of more 1.16.0 Download more 1.16.0 archive
1.15.0 Feb 24, 2019 Go to the documentation of more 1.15.0 Download more 1.15.0 archive
1.14.2 Feb 17, 2019 Go to the documentation of more 1.14.2 Download more 1.14.2 archive
1.14.1 Feb 16, 2019 Go to the documentation of more 1.14.1 Download more 1.14.1 archive
1.14.0 Feb 16, 2019 Go to the documentation of more 1.14.0 Download more 1.14.0 archive
1.13.0 Feb 2, 2019 Go to the documentation of more 1.13.0 Download more 1.13.0 archive
1.12.1 Sep 27, 2018 Go to the documentation of more 1.12.1 Download more 1.12.1 archive
1.12.0 Sep 16, 2018 Go to the documentation of more 1.12.0 Download more 1.12.0 archive
1.11.5 Sep 15, 2018 Go to the documentation of more 1.11.5 Download more 1.11.5 archive

All 69 versions...

Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.

Analysis issues and suggestions

Support Dart 2 in pubspec.yaml.

The SDK constraint in pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see

Maintenance issues and suggestions

Make sure dartdoc successfully runs on your package's source files. (-10 points)

Dependencies were not resolved.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.23.0 <2.0.0