isFullWidth function

bool isFullWidth(
  1. String str
)

check if the string contains any full-width chars

Implementation

bool isFullWidth(String str) {
  return _fullWidth.hasMatch(str);
}