setPageSameWidth method
In the single page mode, set whether all pages keep the same width and the original page keeps the same width as readerView
isSame
true: All pages keep the same width, the original state keeps the same width as readerView; false: Show in the actual width of page
example:
_controller.setPageSameWidth(true);
Implementation
Future<void> setPageSameWidth(bool isSame) async {
assert(Platform.isAndroid, 'This method is only supported on Android');
await _channel.invokeMethod('set_page_same_width', isSame);
}