exxen 0.1.0 copy "exxen: ^0.1.0" to clipboard
exxen: ^0.1.0 copied to clipboard

Exxen is a Flutter package that offers extensions to make your code cleaner, reusable, and easier to maintain. It is compatible with WebAssembly (WASM).

0.1.0 03/09/2026 #

Added #

  • ColorExxensiondarken, lighten, blend, fade, isDark, contrastingColor, toHex, toMaterialColor, box.
  • DateTimeExxension — day, week and month bounds, isToday / isYesterday / isTomorrow, isSameDay, isBetween, isWeekend, daysUntil, ageInYears, toDateString, toIsoDateString, toTimeString, timeAgo, toTimeOfDay.
  • DurationExxensiondelay, fromNow, ago, toHms, toMs.
  • FutureExxensionorNull, orElse, timeoutOrNull, after.
  • BoolExxension and NullableBoolExxensiontoggled, toInt, yesNo, onOff, ifTrue, ifFalse, pick, orFalse, orTrue, isTrue, isFalse.
  • IterableExxension and NullableIterableExxensionchunked, distinctBy, sumBy, averageBy, countWhere, reject, randomOrNull, joinWith, isNullOrEmpty, orEmpty.
  • MapExxension and NullableMapExxensiongetOrElse, whereKey, whereValue, inverted, withoutNulls, isNullOrEmpty, orEmpty.
  • TextStyleExxension — chains straight off a text theme: bold, semiBold, medium, regular, light, italic, underline, lineThrough, size, withColor, weight, letterSpaced, lineHeight, family, fade.
  • StringValidationExxension, StringTransformExxension and StringParseExxensionisUrl, isPhone, isAlphabetic, isAlphanumeric, hasDigit, hasUpperCase, hasLowerCase, hasSpecialCharacter, isStrongPassword, toSlug, wordCount, initials, truncate, mask, toTurkishUpperCase, toTurkishLowerCase, toIntOrNull, toDoubleOrNull, toDateTimeOrNull, toColorOrNull.
  • WidgetExxensionpaddingAll, paddingSymmetric, paddingOnly, safeArea, card, material, decorated, constrained, aspectRatio, positioned, ignorePointer, absorbPointer, repaintBoundary, tooltip, onLongPress, onDoubleTap, scrollable, refreshable, sliver, animatedOpacity, rotatedBox, intrinsicHeight, intrinsicWidth, circle.
  • ContextExxensioniconTheme, primaryColor, scaffoldBackgroundColor, cardColor, dividerColor, disabledColor, hintColor, platformBrightness, devicePixelRatio, shortestSide, longestSide, widthOf, heightOf, isRtl, isLtr, focusScope, overlay, pushNamed, pushReplacementNamed, pushAndRemoveUntil, popUntil, maybePop, openDialog, openBottomSheet.
  • NumExxensiontopRadius, bottomRadius, leftRadius, rightRadius, spacer, toPrecision, percentOf, isBetween, padded.
  • ListExxensiontoSeparatedListView, toPageView, toIndexedStack, toSliverList, toFlex.
  • LayoutSnappersnapshotMap, snapshotOf and a maxDepth limit on the walk.
  • LayoutSnapperButtonicon, maxDepth, heroTag and onSnapshot parameters.
  • LayoutExxensioncontext.layoutSnapshot() and context.printLayout() put LayoutSnapper within reach of any BuildContext.

Changed #

  • LayoutSnapper and LayoutSnapperButton moved from lib/src/exxention/ to lib/src/tools/, so every file under exxention/ holds extensions and nothing else. Both are still exported from package:exxen/exxen.dart, so nothing changes for you.

  • ScrollControllerExxensionisAtTop, isAtBottom, progress, isScrollingUp / isScrollingDown, scrollTo, scrollToTop, scrollToBottom, jumpToTop, jumpToBottom, onEndReached.

  • SliverExxensionsliverPadding, sliverSafeArea, sliverOpacity, sliverVisibility, sliverIgnorePointer, sliverFillRemaining.

  • SliverListExxensiontoCustomScrollView, toSliverGrid.

  • ValidatorExxensionrequiredError, emailError, urlError, phoneError, numericError, passwordError, minLengthError, maxLengthError, lengthBetweenError, matchError, patternError, all with a translatable message.

  • FormValidatorExxensiontoValidator chains a list of rules into one FormFieldValidator.

Fixed #

  • LayoutSnapperButton no longer claims the default hero tag, so it can sit on a route that already has a FloatingActionButton without throwing a duplicate hero error.
  • LayoutSnapper.snapshot stops at maxDepth instead of walking an unbounded tree, and its error message names the root element correctly.
  • LayoutSnapper can no longer be instantiated by accident.
  • Corrected the documentation of hero, gestureDetector, textScaler and every StringPathExxension member.

0.0.10 03/09/2026 #

  • Num and List Exxensions added.
  • Context Exxension is updated: dark mode, orientation, keyboard, responsive breakpoints, navigation and snack bar helpers.
  • String Exxension is updated: capitalize, title case, validators and toText.
  • Widget Exxension bug fixes: opacity, expanded, flexible and visibility now honour the given value, and sizedBox no longer collapses unset dimensions to zero.

0.0.9 26/09/2025 #

  • Widget Extension is updated.

0.0.8 26/09/2025 #

  • Widget Extension is updated.

0.0.7 07/05/2025 #

  • Widget Extension is updated.

0.0.6 05/05/2025 #

  • Widget, Context and String Extensions are updated.

0.0.5 05/05/2025 #

  • Update package description

0.0.4 05/05/2025 #

  • Widget, Context and String Extension's example added.

0.0.3 05/05/2025 #

  • Widget, Context and String Extension's desricptions added.

0.0.2 05/05/2025 #

  • Widget, Context and String Extension added.

0.0.1 30/01/2024 #

  • Context and String Extension added.
2
likes
160
points
102
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Exxen is a Flutter package that offers extensions to make your code cleaner, reusable, and easier to maintain. It is compatible with WebAssembly (WASM).

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on exxen