getxify_utils 1.1.1
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
FxButtonandFxShimmerwidgets by migrating legacy map lookups and chained ternaries to Dart 3 exhaustiveswitchexpressions. - Refactor: Updated constructors (e.g.,
FxShimmer) to use modern Dart 2.17+super.keysyntax instead ofKey? key. - Fix: Corrected a crash in
ListExtension.sumby replacing.reducewith.fold(0, ...)to safely handle lists containing no numeric elements. - Fix: Fixed
StringExtension.countWordto correctly return0for 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 --applyacross the package to apply modern styling rules and lint fixes.
1.1.0 #
- Breaking Change: Refactored
MapExtensionto strictly boundMap<K, V>(previously limited toMap<T, T>), vastly improving type-safety for heterogeneous maps. - Breaking Change: Separated
ListExtensionoperations. Mathematical list extensions (sum,avg, etc.) now correctly targetIterable<num>. Map-specific list extensions (sortBy,whereIn, etc.) now properly bind toIterable<Map<K, V>>. - Optimized
StringExtensionby caching allRegExpvalidators 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.