NikuTextStyle constructor
NikuTextStyle({
- bool inherit = true,
- Color? color,
- Color? backgroundColor,
- String? fontFamily,
- List<
String> ? fontFamilyFallback, - double? fontSize,
- FontWeight? fontWeight,
- FontStyle? fontStyle,
- double? letterSpacing,
- double? wordSpacing,
- TextBaseline? textBaseline,
- double? height,
- TextLeadingDistribution? leadingDistribution,
- Locale? locale,
- Paint? foreground,
- Paint? background,
- TextDecoration? decoration,
- Color? decorationColor,
- TextDecorationStyle? decorationStyle,
- double? decorationThickness,
- String? debugLabel,
- List<
Shadow> ? shadows, - List<
FontFeature> ? fontFeatures, - TextOverflow? overflow,
- String? package,
- double? leading,
- bool? forceStrutHeight,
Implementation
NikuTextStyle({
this.inherit = true,
this.color,
this.backgroundColor,
this.fontFamily,
this.fontFamilyFallback,
this.fontSize,
this.fontWeight,
this.fontStyle,
this.letterSpacing,
this.wordSpacing,
this.textBaseline,
this.height,
this.leadingDistribution,
this.locale,
this.foreground,
this.background,
this.decoration,
this.decorationColor,
this.decorationStyle,
this.decorationThickness,
this.debugLabel,
this.shadows,
this.fontFeatures,
this.overflow,
this.package,
double? leading,
bool? forceStrutHeight,
});