AppText constructor
const
AppText({
- Key? key,
- required String text,
- double? fontSize,
- Color? color,
- FontWeight? fontWeight,
- FontStyle? fontStyle,
- TextAlign? textAlign,
- int? maxLines,
- TextOverflow? overflow,
- double? letterSpacing,
- double? wordSpacing,
- double? height,
- TextDecoration? decoration,
- Color? decorationColor,
- TextDecorationStyle? decorationStyle,
- TextBaseline? textBaseline,
- Locale? locale,
- StrutStyle? strutStyle,
- TextDirection? textDirection,
- bool? softWrap,
- TextWidthBasis? textWidthBasis,
- List<
Shadow> ? shadows, - String? fontFamily,
- TextStyle? style,
- TextHeightBehavior? textHeightBehavior,
- bool selectable = false,
Creates a new AppText.
Implementation
const AppText({
super.key,
required this.text,
this.fontSize,
this.color,
this.fontWeight,
this.fontStyle,
this.textAlign,
this.maxLines,
this.overflow,
this.letterSpacing,
this.wordSpacing,
this.height,
this.decoration,
this.decorationColor,
this.decorationStyle,
this.textBaseline,
this.locale,
this.strutStyle,
this.textDirection,
this.softWrap,
this.textWidthBasis,
this.shadows,
this.fontFamily,
this.style,
this.textHeightBehavior,
this.selectable = false,
});