PagingWidget constructor
const
PagingWidget(
- String textContent,
- String? innerHtmlContent, {
- Key? key,
- TextStyle style = const TextStyle(color: Colors.black, fontSize: 30),
- required dynamic handlerCallback(
- PagingTextHandler handler
- required VoidCallback onTextTap,
- required dynamic onPageFlip(),
- required dynamic onLastPage(),
- int starterPageIndex = 0,
- required String chapterTitle,
- required int totalChapters,
- 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,
});