Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

More Dart — Literally.

License

NotificationsYou must be signed in to change notification settings

renggli/dart-more

Repository files navigation

Pub PackageBuild StatusCode CoverageGitHub IssuesGitHub ForksGitHub StarsGitHub License

A collection of extensively tested extensions that make Dart a better place:

LibraryDescription
asyncExtensions toStream.
cacheCaching strategies and their expiry policy.
char_matcherCharacter classes, their composition, and operations on strings.
collectionExtensions toIterable and new collection types.
comparatorCommon comparators, and extensions to perform advanced operations.
diffTools for comparing lists.
featureInformation about the runtime environment.
functionalTypes and features known from functional programming.
graphGraph-theory objects and algorithms.
intervalContinuous interval data type over a comparable type.
mathCommon mathematical functions.
numberNumber types: fraction, complex, quaternion.
printerFluent interface to configure sophisticated formatter.
temporalExtensions toDateTime andDuration types.
tupleTuple extension methods on generic records.

And there are more to come ...

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

The package is hosted ondart packages. Up-to-dateclass documentation is created with every release.

Misc

Installation

Follow the installation instructions ondart packages.

Import the all-including parent package:

import'package:more/more.dart';

Or one or more of the specific packages into your Dart code:

import'package:more/async.dart';import'package:more/cache.dart';import'package:more/char_matcher.dart';import'package:more/collection.dart';import'package:more/comparator.dart';import'package:more/diff.dart';import'package:more/feature.dart';import'package:more/functional.dart';import'package:more/graph.dart';import'package:more/interval.dart';import'package:more/math.dart';import'package:more/number.dart';import'package:more/printer.dart';import'package:more/temporal.dart';import'package:more/tuple.dart';

Contributing

The goal of the library is to provide a loose collection of carefully curated utilities that are not provided by the Dart standard library. All features must be well tested. New features must have significant advantages over alternatives, such as code reduction, readability improvement, speed increase, memory reduction, or improved accuracy. In case of doubt, consider filing a feature request before filing a pull request.

History

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

Some parts of this library are inspired by similar APIs inGoogle Guava (Google core libraries for Java) andApache Commons (a repository of reusable Java components).

License

The MIT License, seeLICENSE.


[8]ページ先頭

©2009-2025 Movatter.jp