LightHtmlTextRenderer class
Constructors
-
LightHtmlTextRenderer(String html, RendererStyle rendererStyle, int? maxLength, int? maxLines, List<
RichTextPlaceholder> placeholders, String placeholderMarker, bool ignoreLinebreaks) - LightHtmlTextRenderer.simple(String html, {RendererStyle? style})
-
factory
Properties
-
flattenedTree
→ List<
FlatNodeV3> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- ignoreLinebreaks → bool
-
should linebreaks like in the
final
- maxLength → int?
-
optional maxLength used to cut off the text after a certain number of
characters (tags excluded)
final
- maxLines → int?
-
optional maximum number of lines to be displayed
final
- paragraphs → RichText
-
displayable widgets
no setter
- placeholderMarker → String
-
trialing and leading string to identify variables in the text
final
-
placeholders
→ List<
RichTextPlaceholder> -
variables used in the text
final
- rendererStyle → RendererStyle
-
renderer settings to be applied
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildTabRecognizer(
FlatNodeV3 node) → GestureRecognizer? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited