onlyNumber property
Whether to allow only numeric characters in the input.
When true, restricts input to numeric characters only, removing any letters, symbols, or formatting characters that users might enter.
Implementation
final bool onlyNumber;
Whether to allow only numeric characters in the input.
When true, restricts input to numeric characters only, removing any letters, symbols, or formatting characters that users might enter.
final bool onlyNumber;