updateVisualEffectSubviewProperties static method

Future<void> updateVisualEffectSubviewProperties(
  1. int visualEffectSubviewId,
  2. VisualEffectSubviewProperties properties
)

Updates the properties of a visual effect subview.

Implementation

static Future<void> updateVisualEffectSubviewProperties(
    int visualEffectSubviewId,
    VisualEffectSubviewProperties properties) async {
  await _completer.future;
  await _windowManipulatorMethodChannel
      .invokeMethod('updateVisualEffectSubviewProperties', <String, dynamic>{
    'visualEffectSubviewId': visualEffectSubviewId,
    ...properties.toMap(),
  });
}