EpubDisplaySettings class

Annotations
  • @JsonSerializable(explicitToJson: true, includeIfNull: false)

Constructors

EpubDisplaySettings.new({int fontSize = 15, EpubSpread spread = EpubSpread.auto, EpubFlow flow = EpubFlow.paginated, bool allowScriptedContent = false, EpubDefaultDirection defaultDirection = EpubDefaultDirection.ltr, bool snap = true, bool useSnapAnimationAndroid = false, EpubManager manager = EpubManager.continuous, EpubTheme? theme})
EpubDisplaySettings.fromJson(Map<String, dynamic> json)
factory

Properties

allowScriptedContent bool
Allow or disallow scripted content
getter/setter pair
defaultDirection EpubDefaultDirection
Default reading direction
getter/setter pair
flow EpubFlow
Page flow settings
getter/setter pair
fontSize int
Font size of the reader
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
manager EpubManager
Manager type
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
snap bool
Enables swipe between pages
getter/setter pair
spread EpubSpread
Page spread settings
getter/setter pair
theme EpubTheme?
Theme of the reader, by default it uses the book theme
final
useSnapAnimationAndroid bool
Uses animation between page snapping when snap is true. Warning: Using this animation will break onRelocated callback
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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