textOverflow static method

TextOverflow textOverflow(
  1. dynamic value
)

Implementation

static TextOverflow textOverflow(dynamic value) => switch (value) {
      'fade' => TextOverflow.fade,
      'visible' => TextOverflow.visible,
      'clip' => TextOverflow.clip,
      'ellipsis' => TextOverflow.ellipsis,
      _ => TextOverflow.clip,
    };