addVisualEffectSubview static method

Future<int> addVisualEffectSubview(
  1. VisualEffectSubviewProperties properties
)

Adds a visual effect subview to the application's window and returns its ID.

Implementation

static Future<int> addVisualEffectSubview(
    VisualEffectSubviewProperties properties) async {
  await _completer.future;
  return await _windowManipulatorMethodChannel.invokeMethod(
      'addVisualEffectSubview', properties.toMap());
}