Link class

Inheritance
Implemented types
Annotations
  • @JsonSerializable.new()

Constructors

Link({required String url, String? text})
Link.fromJson(Map<String, dynamic> json)
factory

Properties

color String?
Text color in hex format (e.g. '#FF0000'). Null = auto (default color).
getter/setter pairoverride
contentVersion int
no setterinherited
fontFamily String
Font family for this fragment (e.g. 'DejaVu Sans', 'Roboto').
getter/setter pairoverride
fontSize double
Font size in points (e.g. 14.0).
getter/setter pairoverride
fragments List<FNode>
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
highlightColor String?
Highlight color (background) in hex format. Null = no highlight.
getter/setter pairoverride
id String
getter/setter pairinherited
indent int
Paragraph indentation level (0 = no indentation).
getter/setter pairinherited
isBold bool
no setteroverride
renderText String
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
styleName String?
Style applied to the paragraph (e.g. "normal", "heading1"). If null, uses the explicit properties of the paragraph.
getter/setter pairinherited
styles List<String>?
List of applied inline styles, e.g. 'bold', 'italic', 'bold','italic'.
getter/setter pairoverride
text String
getter/setter pairoverride
textAlign String
Text alignment (left, center, right, justify).
getter/setter pairinherited
type String
getter/setter pairinherited-setteroverride-getter
url String
getter/setter pair

Methods

applyStyle(ParagraphStyle style) → void
Applies a style to the paragraph, overriding the properties.
inherited
bumpVersion() → void
Increment the version so the delta system knows this node changed.
inherited
getChildren() List<FNode>
override
getStyle() ParagraphStyle
Gets the style applied to this paragraph. If styleName is null or not found, returns the "normal" style.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited