bs_utils 1.1.0
bs_utils: ^1.1.0 copied to clipboard
Combination of useful utilities used across BS packages.
1.0.0 #
- Initial Release: Launched
bs_utilsas a foundational utility package. - Methods Utils: Added powerful functional wrappers like
tryThis,tryIf,waitUntil, andlatestValidfor handling execution safety, polling, and racing concurrently. - Device Platform Utilities: Included robust enum-based platform detection mappings (
DevicePlatform.fromIO.isDesktop,isMobile, etc.). - Time Tracker: Shipped synchronous and asynchronous tracking utilities (
trackSync,trackAsync,compareSync) to measure execution performance alongside a smart debug-only printer (dprint). - Rich Extensions:
- Dart Core: Included deep
Iterablelogic (maxOf,allMaxOf,minOf,append), enhanced semanticnum/Durationsyntax (5.seconds, format clamping), and dynamic timestampedStringlogging. - Flutter Core: Included
TextStyle.copyExceptfor inverse prop exclusion,Sizearithmetic wrappers,TextSpan.copyWith, and intuitive getters assessing Enums (ConnectionState,AppLifecycleState, etc.).
- Dart Core: Included deep
1.1.0 #
- Support for web platform.