utils_x 1.1.0
utils_x: ^1.1.0 copied to clipboard
A collection of powerful Flutter widget extensions for cleaner, more expressive code. Add press effects, padding, styling, and more with simple chainable methods.
1.1.0 #
-
New Widget: ShimmerWidget - Customizable shimmer loading effect widget
-
New Styling Extensions:
glassmorphism()- Frosted glass effect with blur, transparency, and bordershimmer()- Add shimmer loading animation to any widgetneumorphism()- Soft UI / neumorphic design effectshaderMask()- Apply gradient to text/iconsclip()- Custom clipper supportglow()- Enhanced with customopacityparameter
-
New Interaction Extensions:
onSwipe()- Swipe gesture handlers (left, right, up, down)draggable()- Make any widget draggable with drag datadragTarget()- Create drop zones for draggable widgetsdismissible()- Swipe to dismiss functionalityhoverElevation()- Elevation change on hover (web/desktop)
-
New Layout Extensions:
scrollable()- Wrap in SingleChildScrollViewpositioned()- Position within a StackpositionedFill()- Fill available space in StackintrinsicWidth()/intrinsicHeight()- Intrinsic sizinglimitedBox()- LimitedBox wrapperclipRect()- ClipRect wrappermarginOnly()/marginH()/marginV()- Additional margin helpers
-
New Visibility Extensions:
animatedSwitcher()- Smooth animated widget switchingcrossFade()- AnimatedCrossFade wrapperrotateVisible()- Rotation-based visibility animationfadeScaleVisible()- Combined fade + scale visibility
-
New Widget Extensions:
keyedSubtree()- Force widget rebuilds with keydecorated()- DecoratedBox shorthandcard()- Card wrapper with customizationinkWell()- InkWell wrapperexcludeSemantics()- Accessibility helperfocus()- Focus managementcustomPaint()- CustomPaint wrappercoloredBox()- Efficient background colorunconstrained()- UnconstrainedBox wrapperoverflowBox()- OverflowBox wrapper
-
Bug Fixes:
- Fixed deprecated
withOpacity()usage, replaced withwithValues(alpha:)
- Fixed deprecated
1.0.0 #
-
Initial release
-
Interaction Extensions:
pressEffect()- Scale-down animation on pressonTap()- Simple tap handleronLongPress()- Long press handleronDoubleTap()- Double tap handlerripple()- Material ripple effecthoverScale()- Scale on hover for web/desktop
-
Layout Extensions:
padding()/paddingH()/paddingV()/paddingOnly()/paddingSymmetric()centered()- Center widgetalign()- Align widgetexpanded()/flexible()- Flex wrapperssize()/square()/fullWidth()- SizingsafeArea()- SafeArea wrappersliverBox()- SliverToBoxAdapter wrappermargin()/marginSymmetric()- Margin helpersconstrained()- ConstrainedBox wrapper
-
Styling Extensions:
rounded()/roundedOnly()/circular()- Border radiuswithShadow()- Box shadowsopacity()- Opacity controlrotate()/scale()/translate()- TransformsflipH()/flipV()- Flip transformsblur()- Blur effect (glassmorphism)withBorder()- Border decorationwithGradient()- Gradient backgroundwithBackground()- Color backgroundcolorOverlay()- Color filter overlay
-
Visibility Extensions:
visible()- Show/hide maintaining spacegone()- Remove from treeshowIf()- Conditional renderingshowOrElse()- Show or alternativeabsorbPointer()/ignorePointer()- Pointer controlfadeVisible()/scaleVisible()/slideVisible()- Animated visibility
-
General Extensions:
tooltip()- Tooltip wrappersemanticsLabel()- Accessibilityhero()- Hero animationmaterial()- Material wrapperrepaintBoundary()- Performancefitted()/aspectRatio()/fractionalSize()- Sizing helpersoffstage()- Offstage wrapper