decimalOnly constant

Pattern const decimalOnly

Decimal Numbers Only regex (No Whitespace & Symbols)

Implementation

static const Pattern decimalOnly = r"(^\d+\.?\d*$)|^\.?\d+$";