MedAppText constructor
const
MedAppText(
- String data, {
- Key? key,
- Color? color,
- double? fontSize,
- FontWeight? fontWeight,
- TextAlign? alignment,
- int? maxLines,
- FontStyle? fontStyle,
- double? letterSpacing,
- double? wordSpacing,
- double? height,
- AppTextDecoration? decoration,
- Color? decorationColor,
- TextDecorationStyle? decorationStyle,
- double? decorationThickness,
- TextOverflow? overflow,
- bool? softWrap,
- List<
Shadow> ? shadows, - VoidCallback? onTap,
- bool selectable = false,
- TextStyle? textStyle,
- Color? backgroundColor,
- Gradient? gradient,
- String? semanticsLabel,
- bool? enableSecurity,
Implementation
const MedAppText(
this.data, {
super.key,
this.color,
this.fontSize,
this.fontWeight,
this.alignment,
this.maxLines,
this.fontStyle,
this.letterSpacing,
this.wordSpacing,
this.height,
this.decoration,
this.decorationColor,
this.decorationStyle,
this.decorationThickness,
this.overflow,
this.softWrap,
this.shadows,
this.onTap,
this.selectable = false,
this.textStyle,
this.backgroundColor,
this.gradient,
this.semanticsLabel,
this.enableSecurity,
});