Paragraph constructor
Paragraph({
- required List<
Line> lines, - Map<
String, dynamic> ? blockAttributes, - ParagraphType? type,
Constructs a Paragraph instance with required properties.
lines
specifies the list of lines within the paragraph.
type
is an optional parameter that defines the type of the paragraph.
blockAttributes
is an optional map that holds additional attributes for the paragraph block.
Implementation
Paragraph({
required this.lines,
this.blockAttributes,
this.type,
});