パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v4.8.2

more

さらにDart—実際に。収集、反復処理、キャッシュ、数学、一致、順序付け、フォーマットを簡単に。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
36.4万
いいね数
86
Pub ポイント
160

パッケージをインストール

flutter pub add more

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

More Dart は、コレクション操作、反復処理、キャッシュ、数学演算、パターンマッチング、ソート、フォーマットのための便利なメソッドを提供することで、Dart のコア機能を拡張するユーティリティパッケージです。一般的なタスクに直感的でチェーン可能な API を提供することで、開発者の生産性を向上させます。軽量で簡単に統合できるように設計されており、Android、iOS、Web、macOS、Windows、Linux などの主要プラットフォームをすべてサポートしています。繰り返しのコーディングパターンを簡素化し、コードの可読性を高めたい開発者にとって理想的です。

用途

  • データ変換パイプライン
  • 頻繁にアクセスされるデータをキャッシュする
  • コレクション上の数学的計算
  • 文字列およびフォーマットの処理
  • 複雑なデータの並べ替えとフィルタリング
  • コレクション内のパターンマッチング

主な機能

  • 有用なメソッドを備えたコアDartクラスの拡張
  • チェーン可能でスムーズな API デザイン
  • クロスプラットフォーム開発をサポートしています
  • 軽量で依存関係なし
  • 包括的なユーティリティ関数
  • pub add を通じた簡単な統合

適している対象

  • 拡張されたユーティリティ関数を求めるDart開発者
  • 頻繁なデータ処理を必要とするプロジェクト
  • ボイラープレートコードを削減しようとするチーム
  • 複数のプラットフォーム向けアプリケーション
  • コードの明確さと保守性に注力する開発者

注意事項

  • コアタイプを拡張する場合、微妙な振る舞いの変更が生じる可能性があります
  • 抽象レイヤーのため、パフォーマンスが重要なホットパスには適していません
  • 基本的な例以外のドキュメントは限られている
  • 強力な型付けの実践と併用するのが最適です
  • Dart の拡張メソッドに精通している必要がある

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

More Dart — Literally

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

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

Library Description
async Extensions to Stream.
cache Caching strategies and their expiry policy.
char_matcher Character classes, their composition, and operations on strings.
collection Extensions to Iterable and new collection types.
comparator Common comparators, and extensions to perform advanced operations.
diff Tools for comparing lists.
feature Information about the runtime environment.
functional Types and features known from functional programming.
graph Graph-theory objects and algorithms.
interval Continuous interval data type over a comparable type.
math Common mathematical functions.
number Number types: fraction, complex, quaternion.
printer Fluent interface to configure sophisticated formatter.
temporal Extensions to DateTime and Duration types.
tuple Tuple extension methods on generic records.

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.

The package is hosted on dart packages. Up-to-date class documentation is created with every release.

Misc

Installation

Follow the installation instructions on dart 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 of Project Euler and encountered some missing features in Dart. Over time the code grew and became more useful in many other places, so I created this reusable library.

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

License

The MIT License, see LICENSE.

カテゴリー

依存関係

依存関係一覧 4 件

ソースリポジトリ

このパッケージを使用しているプロジェクト