PagingWidget constructor

const PagingWidget(
  1. String textContent,
  2. String? innerHtmlContent, {
  3. Key? key,
  4. TextStyle style = const TextStyle(color: Colors.black, fontSize: 30),
  5. required dynamic handlerCallback(
    1. PagingTextHandler handler
    ),
  6. required VoidCallback onTextTap,
  7. required dynamic onPageFlip(
    1. int,
    2. int
    ),
  8. required dynamic onLastPage(
    1. int,
    2. int
    ),
  9. int starterPageIndex = 0,
  10. required String chapterTitle,
  11. required int totalChapters,
  12. Widget? lastWidget,
})

Implementation

const PagingWidget(
  this.textContent,
  this.innerHtmlContent, {
  super.key,
  this.style = const TextStyle(
    color: Colors.black,
    fontSize: 30,
  ),
  required this.handlerCallback(PagingTextHandler handler),
  required this.onTextTap,
  required this.onPageFlip,
  required this.onLastPage,
  this.starterPageIndex = 0,
  required this.chapterTitle,
  required this.totalChapters,
  this.lastWidget,
});