BaseText.key constructor
const
BaseText.key(
- String? textKey, {
- Key? key,
- String? text,
- TextStyle? style,
- StrutStyle? strutStyle,
- TextAlign? textAlign,
- TextDirection? textDirection,
- Locale? locale,
- bool? softWrap,
- TextOverflow? overflow,
- double? textScaleFactor,
- int? maxLines,
- String? semanticsLabel,
- TextWidthBasis? textWidthBasis,
- Color? textColor,
- BoxFit? fit,
Implementation
const BaseText.key(
this.textKey, {
super.key,
this.text,
this.style,
this.strutStyle,
this.textAlign,
this.textDirection,
this.locale,
this.softWrap,
this.overflow,
this.textScaleFactor,
this.maxLines,
this.semanticsLabel,
this.textWidthBasis,
this.textColor,
this.fit,
});