EpubController class

Constructors

EpubController({required Future<EpubBook> document, String? epubCfi})

Properties

currentValue EpubChapterViewValue?
no setter
currentValueStream Stream<EpubChapterViewValue?>
no setter
document Future<EpubBook>
getter/setter pair
epubCfi String?
final
hashCode int
The hash code for this object.
no setterinherited
isBookLoaded bool?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tableOfContentsStream Stream<List<EpubViewChapter>?>
no setter

Methods

dispose() → void
generateEpubCfi() String?
gotoEpubCfi(String epubCfi, {double alignment = 0, Duration duration = const Duration(milliseconds: 250), Curve curve = Curves.linear}) → void
jumpTo({required int index, double alignment = 0}) → void
loadDocument(Future<EpubBook> document) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scrollTo({required int index, Duration duration = const Duration(milliseconds: 250), double alignment = 0, Curve curve = Curves.linear}) Future<void>?
tableOfContents() List<EpubViewChapter>?
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited