Opacity Widget#
Panel is a widget which changes the opacity of its child.
Properties#
| Property | Description |
|---|---|
opacity |
The opacity level (0 to 1) |
Usage#
Opacity.create(
props -> {
props.opacity = 0.75;
},
Text.create("Panel child"),
);
Opacity.create(
0.75,
Text.create("Panel child"),
);