setShadow method

Future<void> setShadow(
  1. String id,
  2. PaletteShadow shadow
)

Set shadow style.

Implementation

Future<void> setShadow(String id, PaletteShadow shadow) async {
  await send<void>('setShadow', windowId: id, params: {
    'shadow': shadow.name,
  });
}