RichLabelStyle class

富文本匹配样式

Constructors

RichLabelStyle({Color? color, FontWeight? fontWeight, double? fontSize, String? fontFamily, bool ignoreCase = false, TextDecoration decoration = TextDecoration.none, TextDecorationStyle decorationStyle = TextDecorationStyle.solid, Color? decorationColor, VoidCallback? onTap})
const

Properties

color Color?
final
decoration TextDecoration
final
decorationColor Color?
final
decorationStyle TextDecorationStyle
final
fontFamily String?
final
fontSize double?
final
fontWeight FontWeight?
final
hashCode int
The hash code for this object.
no setterinherited
ignoreCase bool
final
onTap VoidCallback?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

apply(TextStyle? baseStyle) TextStyle
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