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.
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.89Alternatives
Packages that do the same job and could replace dart_helper_utils.
- extension_discovery
Convention and utilities for discovering package extensions via config.yaml files.
86Compare - stream_transform
Extension methods adding common stream transform operators
91Compare - gtk
GTK utilities for Flutter Linux applications, providing settings and application lifecycle helpers.
76Compare - flutter_flavorizr
A utility to easily create and configure application flavors in Flutter.
86Compare
Works with
Packages commonly used together with dart_helper_utils: ones it builds on, ones built on it, and its own family.
- mimedart_helper_utils depends on itUtilities to resolve MIME types from file names, magic bytes, and to parse multipart streams.
- intldart_helper_utils depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- flutter_helper_utilsBuilt on dart_helper_utilsFlutter utilities for adaptive UI breakpoints, color parsing, typed lists, and context extensions.