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