FitText.hint constructor

const FitText.hint(
  1. String text, {
  2. Key? key,
  3. TextStyle? style,
  4. EdgeInsets? margin,
  5. EdgeInsets? padding,
  6. TextAlign? textAlign,
  7. double? width,
  8. double? height,
  9. Alignment? alignment,
  10. int? maxLines = 5,
  11. 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";