isFloat function

bool isFloat(
  1. String str
)

check if the string str is a float

Implementation

bool isFloat(String str) => _float.hasMatch(str);