EpubController class
Constructors
-
EpubController({required Future<
EpubBook> document, String? epubCfi})
Properties
- currentValue → EpubChapterViewValue?
-
no setter
-
currentValueListenable
→ ValueNotifier<
EpubChapterViewValue?> -
final
-
document
↔ Future<
EpubBook> -
getter/setter pair
- epubCfi → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
isBookLoaded
→ ValueNotifier<
bool> -
final
-
loadingState
→ ValueNotifier<
EpubViewLoadingState> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tableOfContentsListenable
→ ValueNotifier<
List< EpubViewChapter> > -
final
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