TextGetter<T>.construct constructor

const TextGetter<T>.construct({
  1. Key? key,
  2. String describe(
    1. T value
    ) = _describe,
  3. TextStyle style = const TextStyle(),
  4. TextAlign? align,
  5. int? maxLines,
  6. TextOverflow? overflow,
  7. bool? softWrap,
  8. StrutStyle? strutStyle,
  9. TextHeightBehavior? textHeightBehavior,
  10. TextScaler? textScaler,
  11. TextWidthBasis? textWidthBasis,
})

Initializes fields for subclasses.

Implementation

const TextGetter.construct({
  super.key,
  this.describe = _describe,
  this.style = const TextStyle(),
  this.align,
  this.maxLines,
  this.overflow,
  this.softWrap,
  this.strutStyle,
  this.textHeightBehavior,
  this.textScaler,
  this.textWidthBasis,
});