onlynumber constant
Pattern
const onlynumber
Only Numbers
Implementation
static const Pattern onlynumber = r'^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$';
Only Numbers
static const Pattern onlynumber = r'^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$';