ReaderConfig constructor

ReaderConfig({
  1. Axis axis = Axis.vertical,
  2. FontWeight fontWeight = FontWeight.normal,
  3. FontStyle fontStyle = FontStyle.normal,
  4. TextAlign textAlign = TextAlign.start,
  5. String fontFamily = "default",
  6. double fontSize = 16,
  7. double lineHeight = 1.6,
  8. EdgeInsets padding = const EdgeInsets.all(16),
  9. Color backgroundColor = Colors.white,
  10. Color foregroundColor = Colors.black,
})

Implementation

ReaderConfig({
  this.axis = Axis.vertical,
  this.fontWeight = FontWeight.normal,
  this.fontStyle = FontStyle.normal,
  this.textAlign = TextAlign.start,
  this.fontFamily = "default",
  this.fontSize = 16,
  this.lineHeight = 1.6,
  this.padding = const EdgeInsets.all(16),
  this.backgroundColor = Colors.white,
  this.foregroundColor = Colors.black,
});