updateToolbarPassthroughView static method

Future<void> updateToolbarPassthroughView({
  1. required String id,
  2. required double x,
  3. required double y,
  4. required double width,
  5. required double height,
  6. required bool enableDebugLayers,
})

Implementation

static Future<void> updateToolbarPassthroughView({
  required String id,
  required double x,
  required double y,
  required double width,
  required double height,
  required bool enableDebugLayers,
}) async {
  await _completer.future;
  await _windowManipulatorMethodChannel.invokeMethod(
    'updateToolbarPassthroughView',
    {
      'id': id,
      'x': x,
      'y': y,
      'width': width,
      'height': height,
      'enableDebugLayers': enableDebugLayers,
    },
  );
}