Skip to main content

C2CInputTheme

PropertyDescriptionType
backgroundColorBackground color of the input field.Color?
disabledBackgroundColorBackground color of the input field when it's disabled.Color?
iconColorColor of icons (left and right icons) within the input field.Color?
inputStyleThe style to use for the text being edited.TextStyle?
labelStyleStyle for the label text.TextStyle?
borderAn input decorator's border.BorderSide?
errorBorderThe border to display when the input has an error.BorderSide?
focusedBorderThe border to display when the input has the focus and is not showing an error.BorderSide?
borderRadiusThe radii of the border's rounded rectangle corners.BorderRadius?
decorationDefines the default appearance of InputDecorators.InputDecorationTheme?
asteriskCharacterCharacter to use for the asterisk symbol.String?
asteriskStyleStyle for the asterisk symbol.TextStyle?
placeholderColorColor of the placeholder text.Color?
placeholderDisabledColorColor of the placeholder text when the input field is disabled.Color?
disabledIconColorColor of icons when the input field is disabled.Color?
disabledColorText color of the input field when it's disabled.Color?
helperTextStyleStyle for the helper text.TextStyle?
counterTextStyleStyle for the character counter text.TextStyle?
errorTextStyleStyle for the error message text.TextStyle?
obscuringCharacterCharacter used for obscuring text if obscureText is true.String?
helperTextSpacingSpacing between the helper text and the input field.double?
labelSpacingVertical spacing below the label.double?
leftIconPaddingPadding for the left icon within the input field.EdgeInsets?
rightIconPaddingPadding for the right icon within the input field.EdgeInsets?
primaryContentPaddingThe padding for the primary input decoration's container.EdgeInsets?
secondaryContentPaddingThe padding for the secondary input decoration's container.EdgeInsets?
errorIconImage to use as an error icon.ImageProvider?
errorIconSizeSize of the error icon.double?