🐛 TextBox
and NumberBox
's cursorWidth
have erroneous documentation
#1160
Labels
TextBox
and NumberBox
's cursorWidth
have erroneous documentation
#1160
Describe the bug
The default value of
cursorWidth
for bothTextBox
andNumberBox
is stated to be 2. However:TextBox.cursorWidth
's default value is 1.NumberBox.cursorWidth
's default value is 1.5.Arguably worse yet is the fact that both of these text boxes have different default cursor widths, which leads to visual inconsistency if they are used near one another.
Expected behavior
The documentation should be adjusted to match the real default values, although I recognize that may be tricky considering both fields are relying on macros to copy the docs from the Flutter framework. Furthermore, unless there is a reason for the difference, I believe their default values should match each other, preferably using
TextBox
's default value as the default for both.The text was updated successfully, but these errors were encountered: