setFontSize method

dynamic setFontSize({
  1. required double fontSize,
})

Adjust font size in epub viewer

Implementation

setFontSize({required double fontSize}) async {
  await webViewController?.evaluateJavascript(
      source: 'setFontSize("$fontSize")');
}