truncationMode method

Widget truncationMode(
  1. TextOverflow overflow
)

Changes the DefaultTextStyle.overflow for this widget.

Implementation

Widget truncationMode(TextOverflow overflow) {
  return DefaultTextStyle(
    overflow: overflow,
    style: style!,
    child: this,
  );
}