floatPattern property
The RegExp pattern to match a valid float value. Allowed float values include starting with decimal (.3) and exponent notation (1.3e+4).
Implementation
static final floatPattern = RegExp(r'[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?');