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