fixTextFieldOutlineLabel property

bool fixTextFieldOutlineLabel

A temporary flag to allow apps to opt-in to a small fix for the Y coordinate of the floating label in a TextField OutlineInputBorder.

Setting this flag to true causes the floating label to be more precisely vertically centered relative to the border's outline.

The flag is currently false by default. It will be default true and deprecated before the next beta release (1.18), and removed before the next stable release (1.19).


final bool fixTextFieldOutlineLabel