isNumericOnly property
Checks if string consist only numeric. Numeric only doesn't accepting "." which double data type have
Implementation
static final isNumericOnly = r'^\d+$'.regPattern;
Checks if string consist only numeric. Numeric only doesn't accepting "." which double data type have
static final isNumericOnly = r'^\d+$'.regPattern;