Answers for "flutter check if string is number"

4

flutter check if string is number

bool isNumeric(String s) {
 if (s == null) {
   return false;
 }
 return double.tryParse(s) != null;
}
Posted by: Guest on July-06-2020

Code answers related to "flutter check if string is number"

Code answers related to "Dart"

Browse Popular Code Answers by Language