https://github.com/caduandrade/axis_layout_flutter
Horizontal (row) and vertical (column) layout with fill and shrink features.
https://github.com/caduandrade/axis_layout_flutter
column fill flutter horizontal layout row shrink vertical widget
Last synced: 28 days ago
JSON representation
Horizontal (row) and vertical (column) layout with fill and shrink features.
- Host: GitHub
- URL: https://github.com/caduandrade/axis_layout_flutter
- Owner: caduandrade
- License: mit
- Created: 2022-02-18T22:53:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-22T11:34:57.000Z (over 1 year ago)
- Last Synced: 2025-04-22T23:06:00.608Z (28 days ago)
- Topics: column, fill, flutter, horizontal, layout, row, shrink, vertical, widget
- Language: Dart
- Homepage:
- Size: 196 KB
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://pub.dev/packages/axis_layout) [](https://flutter.dev/) [](#support-this-project)
# Axis Layout
## Usage
* [Horizontal](#horizontal)
* [Vertical](#vertical)
* [Shrink](#shrink)
* [Expand](#expand)
* [Support this project](#support-this-project)## Horizontal
```dart
AxisLayout(axis: Axis.horizontal, children: [child]);
```## Vertical
```dart
AxisLayout(axis: Axis.vertical, children: [child]);
```## Shrink
```dart
AxisLayout(axis: Axis.horizontal, children: [
AxisLayoutChild(child: child1, shrink: 1, shrinkOrder: 1),
child2,
AxisLayoutChild(child: child3, shrink: 1, shrinkOrder: 2)
]);
```## Expand
```dart
AxisLayout(
axis: Axis.horizontal,
children: [child1, AxisLayoutChild(child: child2, expand: 1)]);
```## Support this project
### Bitcoin
[bc1qhqy84y45gya58gtfkvrvass38k4mcyqnav803h](https://www.blockchain.com/pt/btc/address/bc1qhqy84y45gya58gtfkvrvass38k4mcyqnav803h)
### Ethereum (ERC-20) or Binance Smart Chain (BEP-20)
[0x9eB815FD4c88A53322304143A9Aa8733D3369985](https://etherscan.io/address/0x9eb815fd4c88a53322304143a9aa8733d3369985)
### Helium
[13A2fDqoApT9VnoxFjHWcy8kPQgVFiVnzps32MRAdpTzvs3rq68](https://explorer.helium.com/accounts/13A2fDqoApT9VnoxFjHWcy8kPQgVFiVnzps32MRAdpTzvs3rq68)