exxen 0.1.0
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 #
ColorExxension—darken,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.DurationExxension—delay,fromNow,ago,toHms,toMs.FutureExxension—orNull,orElse,timeoutOrNull,after.BoolExxensionandNullableBoolExxension—toggled,toInt,yesNo,onOff,ifTrue,ifFalse,pick,orFalse,orTrue,isTrue,isFalse.IterableExxensionandNullableIterableExxension—chunked,distinctBy,sumBy,averageBy,countWhere,reject,randomOrNull,joinWith,isNullOrEmpty,orEmpty.MapExxensionandNullableMapExxension—getOrElse,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,StringTransformExxensionandStringParseExxension—isUrl,isPhone,isAlphabetic,isAlphanumeric,hasDigit,hasUpperCase,hasLowerCase,hasSpecialCharacter,isStrongPassword,toSlug,wordCount,initials,truncate,mask,toTurkishUpperCase,toTurkishLowerCase,toIntOrNull,toDoubleOrNull,toDateTimeOrNull,toColorOrNull.WidgetExxension—paddingAll,paddingSymmetric,paddingOnly,safeArea,card,material,decorated,constrained,aspectRatio,positioned,ignorePointer,absorbPointer,repaintBoundary,tooltip,onLongPress,onDoubleTap,scrollable,refreshable,sliver,animatedOpacity,rotatedBox,intrinsicHeight,intrinsicWidth,circle.ContextExxension—iconTheme,primaryColor,scaffoldBackgroundColor,cardColor,dividerColor,disabledColor,hintColor,platformBrightness,devicePixelRatio,shortestSide,longestSide,widthOf,heightOf,isRtl,isLtr,focusScope,overlay,pushNamed,pushReplacementNamed,pushAndRemoveUntil,popUntil,maybePop,openDialog,openBottomSheet.NumExxension—topRadius,bottomRadius,leftRadius,rightRadius,spacer,toPrecision,percentOf,isBetween,padded.ListExxension—toSeparatedListView,toPageView,toIndexedStack,toSliverList,toFlex.LayoutSnapper—snapshotMap,snapshotOfand amaxDepthlimit on the walk.LayoutSnapperButton—icon,maxDepth,heroTagandonSnapshotparameters.LayoutExxension—context.layoutSnapshot()andcontext.printLayout()putLayoutSnapperwithin reach of anyBuildContext.
Changed #
-
LayoutSnapperandLayoutSnapperButtonmoved fromlib/src/exxention/tolib/src/tools/, so every file underexxention/holds extensions and nothing else. Both are still exported frompackage:exxen/exxen.dart, so nothing changes for you. -
ScrollControllerExxension—isAtTop,isAtBottom,progress,isScrollingUp/isScrollingDown,scrollTo,scrollToTop,scrollToBottom,jumpToTop,jumpToBottom,onEndReached. -
SliverExxension—sliverPadding,sliverSafeArea,sliverOpacity,sliverVisibility,sliverIgnorePointer,sliverFillRemaining. -
SliverListExxension—toCustomScrollView,toSliverGrid. -
ValidatorExxension—requiredError,emailError,urlError,phoneError,numericError,passwordError,minLengthError,maxLengthError,lengthBetweenError,matchError,patternError, all with a translatable message. -
FormValidatorExxension—toValidatorchains a list of rules into oneFormFieldValidator.
Fixed #
LayoutSnapperButtonno longer claims the default hero tag, so it can sit on a route that already has aFloatingActionButtonwithout throwing a duplicate hero error.LayoutSnapper.snapshotstops atmaxDepthinstead of walking an unbounded tree, and its error message names the root element correctly.LayoutSnappercan no longer be instantiated by accident.- Corrected the documentation of
hero,gestureDetector,textScalerand everyStringPathExxensionmember.
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,flexibleandvisibilitynow honour the given value, andsizedBoxno 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.