setVerticalMode method

Future<void> setVerticalMode(
  1. bool isVerticalMode
)

Sets whether it is vertical scroll mode.

isVerticalMode : Whether it is vertical scroll mode.

example:

_controller.setVerticalMode(true);

Implementation

Future<void> setVerticalMode(bool isVerticalMode) async {
  await _channel.invokeMethod('set_vertical_mode', isVerticalMode);
}