VRichText class

A chainable rich text builder for Flutter.

Constructors

VRichText(List<InlineSpan> _children, {TextAlign? align, TextDirection? textDirection, TextOverflow? overflow, int? maxLines, TextHeightBehavior? textHeightBehavior})
Creates a VRichText with optional parameters.
const

Properties

bold VRichText
Applies bold style to all spans.
no setter
hashCode int
The hash code for this object.
no setterinherited
italic VRichText
Applies italic style to all spans.
no setter
lineThrough VRichText
Line through decoration for all spans.
no setter
overflowClip VRichText
Clips overflow.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
underline VRichText
Underline decoration for all spans.
no setter

Methods

align(TextAlign a) VRichText
Sets text alignment.
color(Color c) VRichText
Sets color for all spans.
make() RichText
Builds the Flutter RichText widget.
maxLines(int n) VRichText
Sets max lines.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
size(double s) VRichText
Sets font size for all spans.
spacing(double v) VRichText
Sets letter spacing for all spans.
textDirection(TextDirection dir) VRichText
Sets text direction.
toString() String
A string representation of this object.
inherited

Operators

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