Visibility
| Type name | Supports Property Animations | Controlled by default | May contain associated action | Link |
|---|---|---|---|---|
| Visibility | ✗ | ✗ | ✗ | link |
info
The widget accepts up to two children. The first is the main widget, the second (optional) is the replacement widget displayed when visible: false. If no replacement is provided, SizedBox.shrink() is used.
Usage
- Go
Visibility(
&duit_attributes.VisibilityAttributes{
Visible: true,
MaintainState: false,
MaintainAnimation: false,
MaintainSize: false,
MaintainSemantics: false,
MaintainInteractivity: false,
},
"id",
false,
nil, //child
nil, //replacement (optional)
)