textPage method

  1. @override
Future<UDocTextPage> textPage(
  1. int pageIndex
)
override

Implementation

@override
Future<UDocTextPage> textPage(int pageIndex) async {
  final UEpubChapter chapter = await this.chapter(pageIndex);
  return UDocTextPage(pageIndex: pageIndex, runs: const <UDocTextRun>[], text: chapter.text, size: const Size(600, 900));
}