suffixIconConstraints property

BoxConstraints? suffixIconConstraints
final

The constraints to use for InputDecoration.suffixIconConstraints.

This can be used to modify the BoxConstraints surrounding InputDecoration.suffixIcon.

This property is particularly useful for getting the decoration's height less than the minimum tappable height (which is 48px when the visual density is set to VisualDensity.standard). This can be achieved by setting isDense to true and setting the constraints' minimum height and width to a value lower than the minimum tappable size.

If null, BoxConstraints with a minimum width and height of 48px is used.

Implementation

final BoxConstraints? suffixIconConstraints;