ParagraphStyle constructor

ParagraphStyle({
  1. required String name,
  2. required String displayName,
  3. String? fontFamily,
  4. double? fontSize,
  5. List<String>? styles,
  6. String? color,
  7. String? highlightColor,
  8. String? textAlign,
  9. double? lineHeight,
  10. double? spacingBefore,
  11. double? spacingAfter,
  12. int? indent,
})

Implementation

ParagraphStyle({
  required this.name,
  required this.displayName,
  this.fontFamily,
  this.fontSize,
  this.styles,
  this.color,
  this.highlightColor,
  this.textAlign,
  this.lineHeight,
  this.spacingBefore,
  this.spacingAfter,
  this.indent,
});