GrepText constructor

const GrepText(
  1. String? text, {
  2. Key? key,
  3. String? searchTerm,
  4. TextStyle? textStyle,
  5. TextStyle? highlightStyle,
  6. TextAlign textAlign = TextAlign.start,
  7. TextDirection? textDirection,
  8. bool softWrap = true,
  9. TextOverflow overflow = TextOverflow.clip,
  10. double textScaleFactor = 1.0,
  11. int? maxLines,
  12. Locale? locale,
  13. StrutStyle? strutStyle,
  14. TextWidthBasis textWidthBasis = TextWidthBasis.parent,
  15. TextHeightBehavior? textHeightBehavior,
})

Implementation

const GrepText(
  this.text, {
  Key? key,
  this.searchTerm,
  this.textStyle,
  this.highlightStyle,
  this.textAlign = TextAlign.start,
  this.textDirection,
  this.softWrap = true,
  this.overflow = TextOverflow.clip,
  this.textScaleFactor = 1.0,
  this.maxLines,
  this.locale,
  this.strutStyle,
  this.textWidthBasis = TextWidthBasis.parent,
  this.textHeightBehavior,
}) : super(key: key);