onlyNumber property

bool onlyNumber
final

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;