my_utility 2.0.14
my_utility: ^2.0.14 copied to clipboard
This package contains various utility classes and extension methods.
my_utility 🛠️ #
A comprehensive package packed with utility classes and extension methods to ease everyday development tasks. Compatible with Dart 3 and major platforms including Android, iOS, Linux, macOS, Windows, and Flutter.
Only supports Flutter version 3.13.9
or later.
Features #
-
🧩 Extension methods for
DateTime
,Iterable
,String
,File
,Directory
,Stream
, and more. -
🤖 A suite of CLI tools (
DartCliTool
,GitCliTool
,FlutterCliTool
, etc.) for manipulating toolchains. -
🎨 Colorized printing utilities for enhanced console output.
-
⛓️ Union types (up to 5 values), typedef helpers, and deep-copy mixin support.
-
📊 Helpers for JSON serialization, semantic versioning, data units, math tolerance, plus async/future utilities.
API Overview #
Key libraries include:
Area | Libraries / Extensions |
---|---|
CLI Tools | cli/dart.dart , cli/git.dart , cli/flutter.dart , etc. |
Extensions | DateTime , String , Iterable , File , etc. |
IO Helpers | colorized_print , interactive , copy , print , etc. |
Async utils | call_once , result_future , deep_copy_mixin |
Data & Math | data_units , double_with_tolerance , semver , yaml_map_to_json_map |
Union types | union2 –union5 , helpers like typedefs/convert_callback |
Explore the full API Docs on pub.dev.
Why Choose my_utility? #
- Unified toolkit: a one-stop-shop for common Dart utilities.
- Modular design: import only what you need.
- Well-tested & documented: comprehensive API and version history.
License #
Distributed under the GNU LGPL 2.1 license.
Contribution & Support #
Contributions are welcome! Please report issues or participate in discussions via the GitLab repository.