setOpacity method

Future<void> setOpacity(
  1. double opacity
)

Sets the opacity of the window.

Implementation

Future<void> setOpacity(double opacity) async {
  _target?.opacity = opacity;
}