bs_utils 1.1.0 copy "bs_utils: ^1.1.0" to clipboard
bs_utils: ^1.1.0 copied to clipboard

Combination of useful utilities used across BS packages.

1.0.0 #

  • Initial Release: Launched bs_utils as a foundational utility package.
  • Methods Utils: Added powerful functional wrappers like tryThis, tryIf, waitUntil, and latestValid for 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 Iterable logic (maxOf, allMaxOf, minOf, append), enhanced semantic num / Duration syntax (5.seconds, format clamping), and dynamic timestamped String logging.
    • Flutter Core: Included TextStyle.copyExcept for inverse prop exclusion, Size arithmetic wrappers, TextSpan.copyWith, and intuitive getters assessing Enums (ConnectionState, AppLifecycleState, etc.).

1.1.0 #

  • Support for web platform.
0
likes
150
points
128
downloads

Documentation

API reference

Publisher

verified publisherbsaeid.dev

Weekly Downloads

Combination of useful utilities used across BS packages.

Homepage
Repository (GitHub)
View/report issues

Topics

#utils

License

GPL-3.0 (license)

Dependencies

flutter, intl, timing

More

Packages that depend on bs_utils