loadSectionTextAndHighlights method
Implementation
Future<void> loadSectionTextAndHighlights() async {
final path =
ReaderBloc.booksAssetsFolder + bookFolder + "/" + sectionFileName;
// TODO: dictionary
// try {
// final lugats =
// await rootBundle.loadString(path.replaceFirst('.txt', '.json'));
//
// lugat = jsonDecode(lugats);
// } catch (e) {
//
// }
////
allText = await rootBundle.loadString(path);
highlights = getHighlights(highlightFileName);
}