UTextLabelMedium constructor
const
UTextLabelMedium(
- String text, {
- Key? key,
- Color? color,
- FontWeight? fontWeight,
- FontStyle? fontStyle,
- String? fontFamily,
- double? letterSpacing,
- double? wordSpacing,
- double? height,
- TextDecoration? decoration,
- Color? decorationColor,
- TextDecorationStyle? decorationStyle,
- double? decorationThickness,
- TextBaseline? textBaseline,
- TextAlign? textAlign,
- TextOverflow? overflow,
- int? maxLines,
- bool? softWrap,
- StrutStyle? strutStyle,
- TextScaler? textScaler,
- TextWidthBasis? textWidthBasis,
- TextHeightBehavior? textHeightBehavior,
- String? semanticsLabel,
- List<
Shadow> ? shadows, - List<
FontFeature> ? fontFeatures, - List<
FontVariation> ? fontVariations, - Paint? foreground,
- Paint? background,
- Color? selectionColor,
- TextDirection? textDirection,
- TextLeadingDistribution? leadingDistribution,
- bool selectable = false,
Implementation
const UTextLabelMedium(
super.text, {
super.key,
super.color,
super.fontWeight,
super.fontStyle,
super.fontFamily,
super.letterSpacing,
super.wordSpacing,
super.height,
super.decoration,
super.decorationColor,
super.decorationStyle,
super.decorationThickness,
super.textBaseline,
super.textAlign,
super.overflow,
super.maxLines,
super.softWrap,
super.strutStyle,
super.textScaler,
super.textWidthBasis,
super.textHeightBehavior,
super.semanticsLabel,
super.shadows,
super.fontFeatures,
super.fontVariations,
super.foreground,
super.background,
super.selectionColor,
super.textDirection,
super.leadingDistribution,
super.selectable = false,
});