contentPadding property Null safety
final
The padding for the input decoration's container.
The decoration's container is the area which is filled if InputDecoration.filled is true and bordered per the border. It's the area adjacent to InputDecoration.icon and above the InputDecoration.icon and above the widgets that contain InputDecoration.helperText, InputDecoration.errorText, and InputDecoration.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;