openViewSettings static method

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

Displays the view settings.

await PdftronFlutter.openViewSettings({'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

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