flutter_utils_extensions 0.0.2 copy "flutter_utils_extensions: ^0.0.2" to clipboard
flutter_utils_extensions: ^0.0.2 copied to clipboard

discontinuedreplaced by: mayr_extensions

A comprehensive set of handy Dart and Flutter extensions to make your code cleaner, shorter, and more expressive.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.


0.0.1 Initial Release #

Added #

  • BuildContext extensions:
    • Access to form, navigator, overlay, scaffold, media query, brightness, platform checks, and widget size.
    • Device type checks (phone, tablet, desktop).
    • Added showSnackBar() utility method.
  • DateTime extensions:
    • Checkers for time of day, expiry, and comparisons.
    • Manipulators to add/subtract dates, months, years, etc.
    • Conversions to various string formats and age calculation.
  • Duration extension:
    • delay() method for simple async delays.
  • Dynamic extensions:
    • nullOnDebug(), onlyOnDebug(), and maybe() based on probability.
  • Image extension:
    • Easily create a CircleAvatar widget with an image.
  • Number extensions:
    • Comparison helpers, random number generators, number formatters, and conversions to Duration.
  • String extensions:
    • Pattern matching, parsing to different cases (camelCase, snakeCase, etc.), and pretty printing (JSON, YAML, XML).
    • Pattern checkers for emails, URLs, IP addresses, and more.
  • Widget extensions:
    • Helpers for padding, sizing, positioning, clipping, visibility, and touch management via InkWellManager.

Notes #

  • First public release.
  • Still evolving — contributions and feedback welcome!

0.0.2 #

Notes #

  • The intl package was relaxed to allow for older versions
1
likes
150
points
28
downloads

Publisher

verified publisheryoungmayor.com.ng

Weekly Downloads

A comprehensive set of handy Dart and Flutter extensions to make your code cleaner, shorter, and more expressive.

Topics

#extensions #utilities #flutter #productivity #toolkit

Documentation

API reference

License

MIT (license)

Dependencies

flutter, get_time_ago, intl, xml, yaml

More

Packages that depend on flutter_utils_extensions