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

Libraries

axis_layout