DeltaAttributesOptions constructor
DeltaAttributesOptions({})
Implementation
DeltaAttributesOptions({
required this.fontSize,
required this.bold,
required this.italic,
required this.underline,
required this.lineSpacing,
required this.strikethrough,
required this.align,
this.fontFamily = "Arial",
this.hexColor,
this.hexBackgroundColor,
this.link,
this.indent = -1,
}) : assert(lineSpacing <= 2.0 && lineSpacing >= 1.0),
assert(indent == -1 || (indent > 0 && indent <= 4)),
assert(align == null ||
(align.equals('left') ||
align.equals('right') ||
align.equals('center') ||
align.equals('justify')));