Various extension libraries that make Dart a better place.
bit_set.dartprovides a space efficent array data structure that compactly stores bits.
char_matcher.dartprovides a model for character classes, their composition and operations on strings.
fraction.dartprovides support for rational number arithmetic.
int_math.dartis a collection of common mathematical functions on ints.
iterable.dartis a collection of iterables and iterators.
ordering.darta fluent interface for building comparator functions.
range.dartprovides a function to create iterables yielding arithmetic progressions.
And there is more to come ...
Add this to your package's pubspec.yaml file:
dependencies: more: ^0.5.10
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
import 'package:more/bit_set.dart'; import 'package:more/char_matcher.dart'; import 'package:more/fraction.dart'; import 'package:more/int_math.dart'; import 'package:more/iterable.dart'; import 'package:more/ordering.dart'; import 'package:more/range.dart';