Pakete, Repositories und App-Kategorien suchen

Paketdetailsv4.8.2

more

Weitere Dart — Buchstäblich. Sammeln, Iterieren, Cachen, Mathematik, Abgleichen, Sortieren und Formatieren einfach.

AndroidiOSWebmacOSWindowsLinux
30-Tage-Downloads
364.000
Likes
86
Pub-Punkte
160

Paket installieren

flutter pub add more

Paketübersicht

Aus öffentlichen Paketdaten erstellte Orientierung.

More Dart ist ein Hilfspaket, das die Kernfunktionalität von Dart durch praktische Methoden für Sammlungsmanipulation, Iteration, Caching, mathematische Operationen, Mustererkennung, Sortierung und Formatierung erweitert. Es steigert die Produktivität von Entwicklern durch intuitive, verkettbare APIs für alltägliche Aufgaben. Leichtgewichtig und einfach zu integrieren unterstützt es alle wichtigen Plattformen wie Android, iOS, Web, macOS, Windows und Linux. Das Paket ist ideal für Entwickler, die wiederkehrende Codiermuster vereinfachen und die Lesbarkeit des Codes verbessern möchten.

Anwendungsfälle

  • Datentransformations-Pipelines
  • Häufig zugegriffene Daten zwischenspeichern
  • Mathematische Berechnungen an Sammlungen
  • Zeichenketten- und Formatbehandlung
  • Sortieren und Filtern komplexer Daten
  • Musterabgleich in Sammlungen

Hauptmerkmale

  • Erweitert Kern-Dart-Klassen um nützliche Methoden
  • Ketten- und fließende API-Design
  • Unterstützt plattformübergreifende Entwicklung
  • Leichtgewichtig und abhängigkeitsfrei
  • Umfangreiche Hilfsfunktionen
  • Einfache Integration über pub add

Geeignet für

  • Dart-Entwickler, die erweiterte Hilfsfunktionen suchen
  • Projekte, die häufige Datenverarbeitung erfordern
  • Teams, die darauf abzielen, Boilerplate-Code zu reduzieren
  • Anwendungen für mehrere Plattformen
  • Entwickler, die sich auf Codeklarheit und Wartbarkeit konzentrieren

Hinweise

  • Kann subtile Verhaltensänderungen verursachen, wenn Kerntypen erweitert werden
  • Aufgrund der Abstraktionsschicht nicht für leistungskritische Hot-Pfade geeignet
  • Beschränkte Dokumentation außerhalb grundlegender Beispiele
  • Am besten in Kombination mit starken Typisierungspraktiken verwendet
  • Erfahrung mit Dart-Erweiterungsmethoden erforderlich

Original-README

Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.

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.

Kategorien

Abhängigkeiten

Abhängigkeiten 4 Einträge

Quell-Repository

Projekte, die dieses Paket verwenden