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