applyStyle method
Applies a style to the paragraph, overriding the properties.
Implementation
void applyStyle(ParagraphStyle style) {
styleName = style.name;
if (style.textAlign != null) textAlign = style.textAlign!;
if (style.indent != null) indent = style.indent!;
}