setScale method

Future<void> setScale(
  1. double scale
)

Set the page scale Value Range: 1.0~5.0

example:

_controller.setScale(1.5);

Implementation

Future<void> setScale(double scale) async {
  await _channel.invokeMethod('set_scale', scale);
}