InputLimitMode constructor

InputLimitMode(
  1. TextEditingController controller,
  2. FocusNode focusNode, {
  3. int inputType = 0,
  4. dynamic maxInput,
  5. bool enableInputPoint = false,
  6. int maxLength = 5,
  7. int maxLengthDecimal = 3,
})

0 表示输入字符串 1 表示输入数字

Implementation

InputLimitMode(this.controller, this.focusNode,
    {this.inputType = 0,
    this.maxInput,
    this.enableInputPoint = false,
    this.maxLength = 5,
    this.maxLengthDecimal = 3});