buildWidgetBuilderHorizontal method

Future<Widget> buildWidgetBuilderHorizontal()

Implementation

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