StacCustomTextStyle constructor
StacCustomTextStyle({
- bool? inherit,
- StacColor? color,
- StacColor? backgroundColor,
- double? fontSize,
- StacFontWeight? fontWeight,
- StacFontStyle? fontStyle,
- double? letterSpacing,
- double? wordSpacing,
- StacTextBaseline? textBaseline,
- double? height,
- StacTextLeadingDistribution? leadingDistribution,
- StacColor? decorationColor,
- StacTextDecorationStyle? decorationStyle,
- double? decorationThickness,
- String? debugLabel,
- String? fontFamily,
- List<
String> ? fontFamilyFallback, - String? package,
- StacTextOverflow? overflow,
Reference: https://api.flutter.dev/flutter/painting/TextStyle-class.html
Creates a StacCustomTextStyle with the given properties.
Implementation
StacCustomTextStyle({
this.inherit,
this.color,
this.backgroundColor,
this.fontSize,
this.fontWeight,
this.fontStyle,
this.letterSpacing,
this.wordSpacing,
this.textBaseline,
this.height,
this.leadingDistribution,
this.decorationColor,
this.decorationStyle,
this.decorationThickness,
this.debugLabel,
this.fontFamily,
this.fontFamilyFallback,
this.package,
this.overflow,
}) : super._(type: StacTextStyleType.custom);