S2Text constructor

const S2Text(
  1. {Key? key,
  2. String? text,
  3. TextStyle? style,
  4. String? highlight,
  5. Color? highlightColor,
  6. bool caseSensitive = false}
)

Default constructor

Implementation

const S2Text({
  Key? key,
  this.text,
  this.style,
  this.highlight,
  this.highlightColor,
  this.caseSensitive = false,
}) : super(key: key);