SIGN IN SIGN UP

Implement VisualDensity for text fields. (#51438)

This implements VisualDensity changes for text fields*. By default, the layout of the text field does not change.

If the ThemeData.visualDensity is set to a value other than zero, then the density of the UI will increase or decrease. See the VisualDensity docs for more information.

(*In reality, the changes are on the InputDecorator class, not on the text field.)

I also fixed a problem that I think I found with _Decoration where it doesn't compare isDense or isCollapsed as part of its operator==.
G
Greg Spencer committed
9e744c5710a8f215f0f330fec5bdc2ae53775181
Parent: 7ff3a50
Committed by GitHub <noreply@github.com> on 2/26/2020, 9:38:28 PM