check if character is number flutter 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;
}