axis_layout 1.0.1 copy "axis_layout: ^1.0.1" to clipboard
axis_layout: ^1.0.1 copied to clipboard

Horizontal (row) and vertical (column) layout with expand and shrink features.

Axis Layout #

Usage #

Horizontal #

AxisLayout(axis: Axis.horizontal, children: [child]);

Vertical #

AxisLayout(axis: Axis.vertical, children: [child]);

Shrink #

AxisLayout(axis: Axis.horizontal, children: [
  AxisLayoutChild(child: child1, shrink: 1, shrinkOrder: 1),
  child2,
  AxisLayoutChild(child: child3, shrink: 1, shrinkOrder: 2)
]);

Expand #

AxisLayout(
  axis: Axis.horizontal,
  children: [child1, AxisLayoutChild(child: child2, expand: 1)]);

Support this project #

Bitcoin #

bc1qhqy84y45gya58gtfkvrvass38k4mcyqnav803h

Ethereum (ERC-20) or Binance Smart Chain (BEP-20) #

0x9eB815FD4c88A53322304143A9Aa8733D3369985

Helium #

13A2fDqoApT9VnoxFjHWcy8kPQgVFiVnzps32MRAdpTzvs3rq68

3
likes
140
pub points
19%
popularity

Publisher

verified publishercaduandrade.net

Horizontal (row) and vertical (column) layout with expand and shrink features.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on axis_layout