FitText.title constructor
const
FitText.title(
- 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 title text with the title role.
Implementation
const FitText.title(
this.text, {
super.key,
this.style,
this.margin,
this.padding,
this.textAlign,
this.width,
this.height,
this.alignment,
this.maxLines = 5,
this.overflow,
}) : _role = "title";