text method

dynamic text(
  1. String text, {
  2. TextOverflow? overflow,
  3. StrutStyle? strutStyle,
  4. bool? softWrap,
})

Implementation

text(String text, {TextOverflow? overflow, StrutStyle? strutStyle, bool? softWrap}) {
  return Text(
    text,
    style: this,
    softWrap: softWrap,
    overflow: overflow,
    strutStyle: strutStyle,
  );
}