containsAlphabetic method

bool containsAlphabetic(
  1. String text
)

Implementation

bool containsAlphabetic(String text) {
  final RegExp regex = RegExp(r'[a-zA-Z]');
  return regex.hasMatch(text);
}