isUserInput method

  1. @override
bool isUserInput (
  1. String s
)
override

check character from user input, not inserted by formatter

Implementation

@override
bool isUserInput(String s) {
  return _digitOnlyRegex.firstMatch(s) != null;
}