FitText constructor
const
FitText(
- String text, {
- Key? key,
- TextStyle? style,
- EdgeInsets? margin,
- EdgeInsets? padding,
- TextAlign? textAlign,
- double? width,
- double? height,
- Alignment? alignment,
- int? maxLines = 5,
- TextOverflow? overflow,
Creates a basic text with no role styling.
Implementation
const FitText(
this.text, {
super.key,
this.style,
this.margin,
this.padding,
this.textAlign,
this.width,
this.height,
this.alignment,
this.maxLines = 5,
this.overflow,
}) : _role = "";