TStyle.origin constructor
const
TStyle.origin({
- Color? color,
- double? fontSize = 14,
- double? letterSpacing,
- double? wordSpacing,
- double? height,
- String? fontFamily,
- TextBaseline? textBaseline = TextBaseline.ideographic,
- FontWeight? fontWeight,
- Color? backgroundColor,
- bool inherit = true,
- List<
String> ? fontFamilyFallback, - String? package,
- Locale? locale,
- FontStyle? fontStyle,
- Paint? foreground,
- Paint? background,
- TextDecoration? decoration = TextDecoration.none,
- Color? decorationColor,
- TextDecorationStyle? decorationStyle,
- double? decorationThickness,
- String? debugLabel,
- List<
Shadow> ? shadows, - List<
FontFeature> ? fontFeatures, - List<
FontVariation> ? fontVariations, - TextLeadingDistribution? leadingDistribution,
- TextOverflow? overflow,
原始数据,不添加任何颜色
Implementation
const TStyle.origin(
{super.color,
super.fontSize = 14,
super.letterSpacing,
super.wordSpacing,
super.height,
super.fontFamily,
super.textBaseline = TextBaseline.ideographic,
super.fontWeight,
super.backgroundColor,
super.inherit = true,
super.fontFamilyFallback,
super.package,
super.locale,
super.fontStyle,
super.foreground,
super.background,
super.decoration = TextDecoration.none,
super.decorationColor,
super.decorationStyle,
super.decorationThickness,
super.debugLabel,
super.shadows,
super.fontFeatures,
super.fontVariations,
super.leadingDistribution,
super.overflow});