dart check if character is non digit\ code example
Example: flutter check if string is number
bool isNumeric(String s) {
if (s == null) {
return false;
}
return double.tryParse(s) != null;
}
bool isNumeric(String s) {
if (s == null) {
return false;
}
return double.tryParse(s) != null;
}