placeHolder method

  1. @ControllerProps(NodeProps.kPlaceholder)
void placeHolder(
  1. TextInputRenderViewModel renderViewModel,
  2. String placeholder
)

Implementation

@ControllerProps(NodeProps.kPlaceholder)
void placeHolder(TextInputRenderViewModel renderViewModel, String placeholder) {
  renderViewModel.hint = placeholder;
}