buildWidgetBuilderDefault method

Future<Widget> buildWidgetBuilderDefault()

Implementation

Future<Widget> buildWidgetBuilderDefault () async {
 // READ THE BOOK AND RETURN THE WEB VIEW STACK
  var htmlString = await fetchAndProcessBook(true);
  //  ENSURE ONLY MAIN ISOLATE REMAINS
  //  UPDATE CURRENT HTML STRING
  currentHtmlString = htmlString;
  //  ADD GLOBAL KEYS FOR APP BAR
  return epub.WebViewStack(
    htmlString: htmlString,
    title: title,
    appBarTheme: appBarTheme,
    defaultOrientation: true,
    isLightMode: isLightMode,
    changeAppBarTheme: changeAppBarTheme,
    dropDownItemList: dropDownItemList,
    dropDownButtonIcon: dropDownButtonIcon,
    initialValue: initialValue,
    onDropDownItemSelected: onDropDownItemSelected,
    readerInstance: this,
  );
}