TextAttributes
TextAttributes represents attributes for Text widget.
Flutter widget: https://api.flutter.dev/flutter/widgets/Text-class.html
Methods
- func (*TextAttributes) SetData(data string) (*TextAttributes)
- func (*TextAttributes) SetMaxLines(maxLines int) (*TextAttributes)
- func (*TextAttributes) SetOverflow(overflow duit_props.TextOverflow) (*TextAttributes)
- func (*TextAttributes) SetSemanticsLabel(semanticsLabel string) (*TextAttributes)
- func (*TextAttributes) SetSoftWrap(softWrap bool) (*TextAttributes)
- func (*TextAttributes) SetStyle(style *duit_props.TextStyle) (*TextAttributes)
- func (*TextAttributes) SetTextAlign(textAlign duit_props.TextAlign) (*TextAttributes)
- func (*TextAttributes) SetTextDirection(textDirection duit_props.TextDirection) (*TextAttributes)
- func (*TextAttributes) Validate() (error)