Various extensions that make Dart a better place:
cache.dartis a collection of different caching strategies and their expiry policy.
char_matcher.dartis a model for character classes, their composition and operations on strings.
collection.dartis a collection of collection types (bi map, bit list, multi set, range, and string).
iterable.dartis a collection of iterables and iterators.
math.dartis a collection of common mathematical functions.
number.dartprovides fractional, complex and quaternion arithmetic.
ordering.darta fluent interface for building comparator functions.
printer.darta fluent interface for configuring sophisticated formatter.
And there are more to come ...
Follow the installation instructions on dart packages.
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/hash.dart'; import 'package:more/iterable.dart'; import 'package:more/math.dart'; import 'package:more/number.dart'; import 'package:more/ordering.dart'; import 'package:more/printer.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.
package:more/int_mathpackage, and moved all not-deprecated code to
Range.endto be consistent with Dart naming conventions.
chunkedto be more consistent with Dart nomenclature.
Fractionclass into this package.
partition(). To migrate replace broken calls-sites with
Add this to your package's pubspec.yaml file:
dependencies: more: ^1.17.0
You can install packages from the command line:
$ pub get
$ flutter pub get
Alternatively, your editor might support
pub get or
flutter pub get.
Check the docs for your editor to learn more.
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/hash.dart'; import 'package:more/int_math.dart'; import 'package:more/iterable.dart'; import 'package:more/math.dart'; import 'package:more/number.dart'; import 'package:more/ordering.dart'; import 'package:more/printer.dart';
|1.17.0||May 10, 2019|
|1.16.0||Feb 26, 2019|
|1.15.0||Feb 24, 2019|
|1.14.2||Feb 17, 2019|
|1.14.1||Feb 16, 2019|
|1.14.0||Feb 16, 2019|
|1.13.0||Feb 2, 2019|
|1.12.1||Sep 27, 2018|
|1.12.0||Sep 16, 2018|
|1.11.5||Sep 15, 2018|
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]
We analyzed this package on Jun 12, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter, web, other
No platform restriction found in libraries.