decoration property
InputDecoration
get
decoration
decoration is a decoration which gets generated based on the state of this widget. It should be used to decorate the generated text field, use InputDecoration.copyWith or the copyWithDecoration extension, to add additional decoration.
-
If showError is set and there is a non null error, the InputDecoration.errorText field would be set to that error.
-
If RxTextFormFieldBuilder.obscureText is set, then the InputDecoration.suffixIcon would be either set to RxInputDecorationData.iconVisibility or RxInputDecorationData.iconVisibilityOff depending on the state of isTextObscured
Implementation
InputDecoration get decoration => _decoration;