setHasShadow method

Future<void> setHasShadow(
  1. bool hasShadow
)

Sets whether the window should have a shadow. On Windows, doesn't do anything unless window is frameless.

@platforms macos,windows

Implementation

Future<void> setHasShadow(bool hasShadow) async {
  final Map<String, dynamic> arguments = {
    'hasShadow': hasShadow,
  };
  await _channel.invokeMethod('setHasShadow', arguments);
}