isNumericOnly property

RegPattern isNumericOnly
final

Checks if string consist only numeric. Numeric only doesn't accepting "." which double data type have

Implementation

static final isNumericOnly = r'^\d+$'.regPattern;