ZeroText.caption constructor

const ZeroText.caption(
  1. String value, {
  2. TextStyle? style,
  3. TextAlign? align,
  4. int? maxLine,
  5. TextOverflow? overflow,
  6. double? scaleFactor,
  7. bool? softWrap,
  8. Key? key,
})

Creates a text widget with default style caption

The style will be merge from theme Typography.caption

Implementation

const ZeroText.caption(
  this.value, {
  this.style,
  this.align,
  this.maxLine,
  this.overflow,
  this.scaleFactor,
  this.softWrap,
  super.key,
}) : _type = _ZeroTextType.caption;