ModernFormConstrainedText constructor

const ModernFormConstrainedText(
  1. String? text, {
  2. Key? key,
  3. double? maxWidth,
  4. TextStyle? style,
  5. bool? selectableDisabled,
  6. TextAlign? alignment,
  7. int? maxLines,
  8. TextOverflow? overflow,
})

Implementation

const ModernFormConstrainedText(
  this.text, {
  Key? key,
  this.maxWidth,
  this.style,
  this.selectableDisabled,
  this.alignment,
  this.maxLines,
  this.overflow,
}) : super(key: key);