RichTextAttributes
RichTextAttributes defines attributes for RichText widget.
Flutter widget: See: https://api.flutter.dev/flutter/widgets/RichText-class.html
Methods
- func (*RichTextAttributes) SetMaxLines(maxLines int) (*RichTextAttributes)
- func (*RichTextAttributes) SetOverflow(overflow duit_props.TextOverflow) (*RichTextAttributes)
- func (*RichTextAttributes) SetSelectionColor(selectionColor *duit_props.Color) (*RichTextAttributes)
- func (*RichTextAttributes) SetSemanticsLabel(semanticsLabel string) (*RichTextAttributes)
- func (*RichTextAttributes) SetSoftWrap(softWrap bool) (*RichTextAttributes)
- func (*RichTextAttributes) SetStyle(style *duit_props.TextStyle) (*RichTextAttributes)
- func (*RichTextAttributes) SetTextAlign(textAlign duit_props.TextAlign) (*RichTextAttributes)
- func (*RichTextAttributes) SetTextDirection(textDirection duit_props.TextDirection) (*RichTextAttributes)
- func (*RichTextAttributes) SetTextScaler(textScaler *duit_props.TextScaler) (*RichTextAttributes)
- func (*RichTextAttributes) SetTextSpan(textSpan *duit_props.TextSpan) (*RichTextAttributes)
- func (*RichTextAttributes) SetTextWidthBasis(textWidthBasis duit_props.TextWidthBasis) (*RichTextAttributes)
- func (*RichTextAttributes) Validate() (error)