setPageSpacing method

Future<void> setPageSpacing(
  1. int spacing
)

Sets the spacing between pages. This method is supported only on the Android platform.

Parameters: spacing The space between pages, in pixels.

example:

await _controller.setPageSpacing(10);

Implementation

Future<void> setPageSpacing(int spacing) async {
  await _channel.invokeMethod('set_page_spacing', spacing);
}