toOverflow function

Clip toOverflow(
  1. String overflowString
)

Implementation

Clip toOverflow(String overflowString) {
  if (enumValueToString(ContainOverflow.visible) == overflowString) {
    return Clip.none;
  } else if (enumValueToString(ContainOverflow.hidden) == overflowString) {
    return Clip.hardEdge;
  }
  return Clip.hardEdge;
}