Skip to content
pubscout

dart_helper_utils

7.0.0, released 3 weeks ago by tomars.tech

Dart extensions and helpers for maps, strings, collections, dates, async, and intl formatting.

WASM-ready
$ flutter pub add dart_helper_utils
Source repository

What it does

Provides a comprehensive set of extensions and utilities for everyday Dart development. It re-exports and unifies common APIs like convert_object, stringo, collection, and intl, allowing a single import to cover multiple helper libraries.

AI-written summary of version 7.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want a single dependency that covers common map paths, string validations, collection helpers, and date/time manipulation.
  • You need debouncers, throttlers, and bounded concurrency helpers for asynchronous tasks.
  • You want advanced intl formatting shortcuts and URI manipulation utilities.

Skip it when

  • You only need a single isolated utility function and prefer to avoid pulling in an extensive extension pack.
  • Your project cannot meet the Dart 3.13.5 or later requirement.

Strengths

  • Covers a massive range of everyday Dart needs under one import.
  • Re-exports essential packages like collection, intl, convert_object, and stringo.
  • Includes robust calendar-aware date helpers and stream/async transformers.

Weaknesses

  • Large umbrella package that brings in many extensions you might not use.
  • Upgrading between major versions requires careful review of breaking renames and behavior changes.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
6
final config = {
  'db': {
    'host': 'localhost',
    'pool': {'size': '20'},
  },
  'tags': ['api', 'internal'],
};

print(config.getPath('db.pool.size')); // 20
print([1, 2, 3, 4, 5].chunks(2)); // [[1, 2], [3, 4], [5]]
print('1h 30m'.parseDuration().inMinutes); // 90
print(1234567.891.formatAsReadableNumber()); // 1,234,567.89

Alternatives

Packages that do the same job and could replace dart_helper_utils.

Works with

Packages commonly used together with dart_helper_utils: ones it builds on, ones built on it, and its own family.