setHorizontalScrollPosition method

Future<void> setHorizontalScrollPosition(
  1. int horizontalScrollPosition
)

Sets the horizontal scroll position in the current document viewer.

Implementation

Future<void> setHorizontalScrollPosition(int horizontalScrollPosition) {
  return _channel.invokeMethod(
      Functions.setHorizontalScrollPosition, <String, dynamic>{
    Parameters.horizontalScrollPosition: horizontalScrollPosition
  });
}