NeumorphicTextStyle constructor
NeumorphicTextStyle({
- bool inherit = true,
- double? fontSize,
- FontWeight? fontWeight,
- FontStyle? fontStyle,
- double? letterSpacing,
- double? wordSpacing,
- TextBaseline? textBaseline,
- double? height,
- Locale? locale,
- List<
FontFeature> ? fontFeatures, - TextDecoration? decoration,
- String? debugLabel,
- String? fontFamily,
- List<
String> ? fontFamilyFallback, - String? package,
Creates a text style.
The package
argument must be non-null if the font family is defined in a
package. It is combined with the fontFamily
argument to set the
fontFamily
property.
Implementation
NeumorphicTextStyle({
this.inherit = true,
this.fontSize,
this.fontWeight,
this.fontStyle,
this.letterSpacing,
this.wordSpacing,
this.textBaseline,
this.height,
this.locale,
this.fontFeatures,
this.decoration,
this.debugLabel,
this.fontFamily,
//this.color,
//this.backgroundColor,
//this.foreground,
//this.background,
//this.decoration,
//this.decorationColor,
//this.decorationStyle,
//this.decorationThickness,
this.fontFamilyFallback,
this.package,
});