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
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