setHorizontalScrollPosition method
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
});
}