toOverflow function
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;
}