Protected against bots by Yandex SmartCaptcha. Data processing policy
Spacer
An invisible flexible element that takes up the available space in a Row or Column. Like Expanded with no content.
Type:
leaf
Row
Text "Left"
Spacer
Text "Right"
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
flex
|
int | 1 | Stretch factor |
Examples
Buttons at both edges
Row
ElevatedButton onPressed:"navigate:/back"
Text "Back"
Spacer
ElevatedButton onPressed:"navigate:/next"
Text "Next"