utils_x 1.0.0 copy "utils_x: ^1.0.0" to clipboard
utils_x: ^1.0.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.0.0 #

  • Initial release

  • Interaction Extensions:

    • pressEffect() - Scale-down animation on press
    • onTap() - Simple tap handler
    • onLongPress() - Long press handler
    • onDoubleTap() - Double tap handler
    • ripple() - Material ripple effect
    • hoverScale() - Scale on hover for web/desktop
  • Layout Extensions:

    • padding() / paddingH() / paddingV() / paddingOnly() / paddingSymmetric()
    • centered() - Center widget
    • align() - Align widget
    • expanded() / flexible() - Flex wrappers
    • size() / square() / fullWidth() - Sizing
    • safeArea() - SafeArea wrapper
    • sliverBox() - SliverToBoxAdapter wrapper
    • margin() / marginSymmetric() - Margin helpers
    • constrained() - ConstrainedBox wrapper
  • Styling Extensions:

    • rounded() / roundedOnly() / circular() - Border radius
    • withShadow() - Box shadows
    • opacity() - Opacity control
    • rotate() / scale() / translate() - Transforms
    • flipH() / flipV() - Flip transforms
    • blur() - Blur effect (glassmorphism)
    • withBorder() - Border decoration
    • withGradient() - Gradient background
    • withBackground() - Color background
    • colorOverlay() - Color filter overlay
  • Visibility Extensions:

    • visible() - Show/hide maintaining space
    • gone() - Remove from tree
    • showIf() - Conditional rendering
    • showOrElse() - Show or alternative
    • absorbPointer() / ignorePointer() - Pointer control
    • fadeVisible() / scaleVisible() / slideVisible() - Animated visibility
  • General Extensions:

    • tooltip() - Tooltip wrapper
    • semanticsLabel() - Accessibility
    • hero() - Hero animation
    • material() - Material wrapper
    • repaintBoundary() - Performance
    • fitted() / aspectRatio() / fractionalSize() - Sizing helpers
    • offstage() - Offstage wrapper
1
likes
150
points
270
downloads

Publisher

unverified uploader

Weekly Downloads

A collection of powerful Flutter widget extensions for cleaner, more expressive code. Add press effects, padding, styling, and more with simple chainable methods.

Repository (GitHub)
View/report issues

Topics

#widget #extensions #ui #utilities #helpers

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on utils_x