openAddPagesView method

Future<void> openAddPagesView(
  1. Map<String, double>? sourceRect
)

Displays the Add Pages view.

await controller.openAddPagesView({'x1': 10.0, 'y1': 10.0, 'x2': 20.0, 'y2': 20.0});

Requires a source rect in screen coordinates. On iOS, this rect will be the anchor point for the view. The rect is ignored on Android.

Implementation

Future<void> openAddPagesView(Map<String, double>? sourceRect) {
  return _channel.invokeMethod(Functions.openAddPagesView,
      <String, dynamic>{Parameters.sourceRect: sourceRect});
}