digitsOnly property
final
A WhitelistingTextInputFormatter that takes in digits [0-9]
only.
Implementation
static final WhitelistingTextInputFormatter digitsOnly
= WhitelistingTextInputFormatter(RegExp(r'\d+'))
A WhitelistingTextInputFormatter that takes in digits [0-9]
only.
static final WhitelistingTextInputFormatter digitsOnly
= WhitelistingTextInputFormatter(RegExp(r'\d+'))