setCanScale method

Future<void> setCanScale(
  1. bool canScale
)

Whether allow to scale. Default : true

example:

_controller.setCanScale(canScale);

Implementation

Future<void> setCanScale(bool canScale) async {
  assert(Platform.isAndroid, 'This method is only supported on Android');
  await _channel.invokeMethod('set_can_scale', canScale);
}