contentPadding property

EdgeInsetsGeometry contentPadding
final

The padding for the input decoration's container.

The decoration's container is the area which is filled if isFilled is true and bordered per the border. It's the area adjacent to decoration.icon and above the widgets that contain helperText, errorText, and counterText.

By default the contentPadding reflects isDense and the type of the border. If isCollapsed is true then contentPadding is EdgeInsets.zero.

Implementation

final EdgeInsetsGeometry contentPadding