singleLineText method

dynamic singleLineText(
  1. String text
)

Implementation

singleLineText(String text) {
  return Text(
    text,
    style: this,
    overflow: TextOverflow.ellipsis,
  );
}