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.

Supported Platforms:

  • Windows
  • macOS

Implementation

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