setIgnoreFixedFonts method

void setIgnoreFixedFonts(
  1. bool ignoreFixedFonts, {
  2. bool reload = false,
})

This parameter overrides the default behaviour of font scaling. ignoreFixedFonts argument specifies the rule. reload argument specifies wether the native core should redraw the pages. Pass "false" if this method is called before the book is opened.

Implementation

void setIgnoreFixedFonts(bool ignoreFixedFonts, {bool reload = false}) {
  setIgnoreFixedFontsNative?.call(_sdk, ignoreFixedFonts, reload);
}