ext_kit 1.0.0
ext_kit: ^1.0.0 copied to clipboard
A comprehensive Flutter/Dart package providing powerful extensions for String, DateTime, int, double, num, List, Iterable, Map, Widget, BuildContext, Color, Duration, and dynamic types. Boost your pro [...]
Changelog #
1.0.0 #
Initial Release #
- String extensions: validation (email, URL, phone, IP, etc.), capitalize, camelCase, snakeCase, truncate, mask, slug, reversed, wordCount
- DateTime extensions: add/subtract time, isBetween, timeAgo, copyWith, isToday, isWeekend, daysInMonth, quarter
- int extensions: isPrime, factorial, fibonacci, duration creation, isMultipleOf
- double extensions: toPrecision, duration creation, toPositive/toNegative
- num extensions: toCurrency, toCompact, toFileSize, isBetween, clampMin/clampMax, delay
- List extensions: sum, average, product, rotated, reversedList, distinctBy, operators (+, -, *)
- Iterable extensions: groupBy, distinctBy, chunk, minBy/maxBy, flatten
- Map extensions: getOrNull, getOrDefault, whereKeys, whereValues, mapKeys, mapValues, merge, inverted
- Widget extensions: paddingAll, marginAll, center, expanded, flexible, visible, opacity, onTap, clipRRect, safeArea, hero
- BuildContext extensions: width/height, isDarkMode, isPhone/isTablet/isDesktop, responsiveValue, navigation, showSnackBar, hideKeyboard
- Color extensions: toHex, fromHex, darken/lighten, darkenBy/lightenBy, isDark/isLight, opacity presets
- Duration extensions: timeToString, delay, remainingHours/Minutes/Seconds
- dynamic extensions: type checks, isNull/isNotNull, printError/printInfo
- Full dartdoc documentation on all public APIs
- Example project