Skip to main content

getxify_utils 1.1.1 copy "getxify_utils: ^1.1.1" to clipboard
getxify_utils: ^1.1.1 copied to clipboard

getxify_utils is built for faster and cleaner development. It provides lots of extension methods on Widget, String, List and Map.

1.1.1 #

  • Refactor: Modernized FxButton and FxShimmer widgets by migrating legacy map lookups and chained ternaries to Dart 3 exhaustive switch expressions.
  • Refactor: Updated constructors (e.g., FxShimmer) to use modern Dart 2.17+ super.key syntax instead of Key? key.
  • Fix: Corrected a crash in ListExtension.sum by replacing .reduce with .fold(0, ...) to safely handle lists containing no numeric elements.
  • Fix: Fixed StringExtension.countWord to correctly return 0 for empty strings and handle multiple spaces properly using regex.
  • Fix: Fixed logic inversion in DateTimeExtension.timeAgo() that was swapping "yesterday" and "tomorrow".
  • Refactor: Ran dart fix --apply across the package to apply modern styling rules and lint fixes.

1.1.0 #

  • Breaking Change: Refactored MapExtension to strictly bound Map<K, V> (previously limited to Map<T, T>), vastly improving type-safety for heterogeneous maps.
  • Breaking Change: Separated ListExtension operations. Mathematical list extensions (sum, avg, etc.) now correctly target Iterable<num>. Map-specific list extensions (sortBy, whereIn, etc.) now properly bind to Iterable<Map<K, V>>.
  • Optimized StringExtension by caching all RegExp validators as private static singletons to prevent runtime recompilation overhead.
  • Fixed generic type inference for list.groupBy() to correctly return the right Map type signatures.

1.0.0 #

  • Initial release of getxify_utils, a package built for faster and cleaner development.
  • Provides static utility namespaces for colors (FxColor), padding (FxPadding), radius (FxRadius), and shadow (FxShadow).
  • Includes extension methods on Widget, String, List, Map, num, int, Duration, and BuildContext.
  • Includes responsive layout widgets (FxGrid, FxGridColumn, FxResponsive) optimized for performance.
1
likes
150
points
23
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

getxify_utils is built for faster and cleaner development. It provides lots of extension methods on Widget, String, List and Map.

Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

flutter, material_ui

More

Packages that depend on getxify_utils