setOpacity method

Future<void> setOpacity(
  1. double opacity
)

Sets the opacity of the window.

Implementation

Future<void> setOpacity(double opacity) async {
  final Map<String, dynamic> arguments = {
    'opacity': opacity,
  };
  await _invokeMethod('setOpacity', arguments);
}