ReaderConfig class

Constructors

ReaderConfig({Axis axis = Axis.vertical, FontWeight fontWeight = FontWeight.normal, FontStyle fontStyle = FontStyle.normal, TextAlign textAlign = TextAlign.start, String fontFamily = "default", double fontSize = 16, double lineHeight = 1.6, EdgeInsets padding = const EdgeInsets.all(16), Color backgroundColor = Colors.white, Color foregroundColor = Colors.black})
ReaderConfig.fromJson(Map<String, dynamic> json)
factory

Properties

axis Axis
getter/setter pair
backgroundColor Color
getter/setter pair
fontFamily String
getter/setter pair
fontSize double
getter/setter pair
fontStyle FontStyle
getter/setter pair
fontWeight FontWeight
getter/setter pair
foregroundColor Color
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lineHeight double
getter/setter pair
padding EdgeInsets
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textAlign TextAlign
getter/setter pair
textStyle TextStyle
no setter

Methods

copyWith({Axis? axis, FontWeight? fontWeight, FontStyle? fontStyle, TextAlign? textAlign, String? fontFamily, double? fontSize, double? lineHeight, EdgeInsets? padding, Color? backgroundColor, Color? foregroundColor}) ReaderConfig
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