Q:

flutter check if string is number

bool isNumeric(String s) {
 if (s == null) {
   return false;
 }
 return double.tryParse(s) != null;
}
2

New to Communities?

Join the community