ReaderThemeData class

Configuration for a reader theme.

Constructors

ReaderThemeData({required Color backgroundColor, required Color textColor, required Color accentColor, required Color secondaryTextColor, required Color linkColor, required Color appBarColor, required String displayName})
const

Properties

accentColor → Color
Accent color for highlights and UI elements
final
appBarColor → Color
Color for the app bar
final
backgroundColor → Color
Background color of the reader
final
displayName → String
Display name for the theme
final
hashCode → int
The hash code for this object.
no setterinherited
isDark → bool
Whether this is a dark theme
no setter
linkColor → Color
Color for links
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secondaryTextColor → Color
Secondary text color (for subtitles, hints)
final
textColor → Color
Primary text color
final

Methods

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

Operators

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

Static Properties

allThemes → List<ReaderTheme>
All available themes as a list.
no setter

Static Methods

fromTheme(ReaderTheme theme) → ReaderThemeData
Get the theme data for a given theme type.