flumpose 0.0.4 copy "flumpose: ^0.0.4" to clipboard
flumpose: ^0.0.4 copied to clipboard

A Flutter package for declarative, const-optimized UI composition with 85%+ memory reduction.

0.0.4 #

Introduces DecorationBuilder and TextStyleExtensions for performance improvements.

DecorationBuilder avoids creating multiple nested containers when applying various decorations.

TextStyleExtensions optimizes text styling by accumulating style changes instead of creating new Text widgets.

Adds const-optimized values for common flex, aspect ratio, and opacity values to reduce memory allocation.

0.0.3 #

Changed - Performance Improvements #

// โœ… No changes needed - these work the same
child.pad(16)
child.margin(8)
child.padH(20)
child.marginV(10)

// ๐Ÿ“ Simple rename for EdgeInsets
// Before:
child.pad(const EdgeInsets.symmetric(horizontal: 16))
// After:
child.padding(const EdgeInsets.symmetric(horizontal: 16))

// Before:
child.margin(const EdgeInsets.only(left: 8, right: 8))
// After:
child.marginAll(const EdgeInsets.only(left: 8, right: 8))

Layout Extensions #

  • .pad() intelligently reuses const EdgeInsets for common values (0, 2, 4, 8, 12, 16, 20, 24, 32)
  • .margin() intelligently reuses const EdgeInsets for common values
  • All alignment methods use const Alignment values for better performance

0.0.1 #

This is the initial release of Flumpose, a declarative widget composition library for Flutter. The package provides 100+ chainable extension methods that transform verbose, deeply-nested Flutter widget trees into clean, readable, and maintainable code.

Key Features:

  • ๐Ÿ”— Fluent, chainable API
  • ๐Ÿ“ Comprehensive layout helpers
  • ๐ŸŽจ Background and decoration utilities
  • ๐Ÿ‘† Advanced gesture support
  • ๐Ÿ“ฑ Responsive design helpers
  • โ™ฟ Accessibility built-in
  • ๐Ÿงช Fully tested with 66 tests
17
likes
0
points
111
downloads

Publisher

verified publishertribestick.com

Weekly Downloads

A Flutter package for declarative, const-optimized UI composition with 85%+ memory reduction.

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flumpose

Packages that implement flumpose