Closed topjx closed 3 years ago
显示光标,设置光标样式:
VerificationBox( showCursor: true, cursorWidth: 2, cursorColor: Colors.red, cursorIndent: 10, cursorEndIndent: 10, ) 效果如下:
还可以设置光标为整个边框,如下:
VerificationBox( focusBorderColor: Colors.lightBlue, )
显示光标,设置光标样式:
VerificationBox( showCursor: true, cursorWidth: 2, cursorColor: Colors.red, cursorIndent: 10, cursorEndIndent: 10, ) 效果如下:
还可以设置光标为整个边框,如下:
VerificationBox( focusBorderColor: Colors.lightBlue, )