TextNormal constructor
TextNormal(
- String? text, {
- Key? key,
- double? letterSpacing,
- double? wordSpacing,
- double? fontSize = 14,
- String? fontFamily,
- FontWeight? fontWeight,
- List<
String> ? fontFamilyFallback, - FontStyle? fontStyle,
- Color? color,
- Color? backgroundColor,
- Paint? foreground,
- Paint? background,
- double? height,
- TextBaseline? textBaseline = TextBaseline.ideographic,
- bool inherit = true,
- String? package,
- Locale? locale,
- List<
FontFeature> ? fontFeatures, - List<
Shadow> ? shadows, - TextAlign? textAlign,
- TextDecoration decoration = TextDecoration.none,
- Color? decorationColor,
- TextDecorationStyle? decorationStyle,
- double? decorationThickness,
- String? debugLabel,
- bool useStyleFirst = false,
- GestureRecognizer? recognizer,
- String? semanticsLabel,
- StrutStyle? strutStyle,
- TextDirection? textDirection,
- bool? softWrap,
- double? textScaleFactor,
- TextWidthBasis? textWidthBasis,
- TextHeightBehavior? textHeightBehavior,
- Color? selectionColor,
- TextScaler textScaler = TextScaler.noScaling,
- TextLeadingDistribution? leadingDistribution,
- List<
FontVariation> ? fontVariations, - TextOverflow? overflow,
- int? maxLines,
- TextStyle? style,
Implementation
TextNormal(
super.text, {
super.key,
super.letterSpacing,
super.wordSpacing,
super.fontSize = 14,
super.fontFamily,
super.fontWeight,
super.fontFamilyFallback,
super.fontStyle,
super.color,
super.backgroundColor,
super.foreground,
super.background,
super.height,
super.textBaseline = TextBaseline.ideographic,
super.inherit = true,
super.package,
super.locale,
super.fontFeatures,
super.shadows,
super.textAlign,
super.decoration = TextDecoration.none,
super.decorationColor,
super.decorationStyle,
super.decorationThickness,
super.debugLabel,
super.useStyleFirst = false,
super.recognizer,
super.semanticsLabel,
super.strutStyle,
super.textDirection,
super.softWrap,
super.textScaleFactor,
super.textWidthBasis,
super.textHeightBehavior,
super.selectionColor,
super.textScaler = TextScaler.noScaling,
super.leadingDistribution,
super.fontVariations,
super.overflow,
super.maxLines,
TextStyle? style,
}) : super(
style: BaseText._mergeStyle(
Universally().config.textStyle?.normal, style));