setTextAlignVertical method
Implementation
@ControllerProps(NodeProps.kTextAlignVertical)
void setTextAlignVertical(TextInputRenderViewModel renderViewModel, String? textAlignVertical) {
if (textAlignVertical == null || "auto" == textAlignVertical) {
renderViewModel.textAlignVertical = null;
} else if ("top" == textAlignVertical) {
renderViewModel.textAlignVertical = TextAlignVertical.top;
} else if ("bottom" == textAlignVertical) {
renderViewModel.textAlignVertical = TextAlignVertical.bottom;
} else if ("center" == textAlignVertical) {
renderViewModel.textAlignVertical = TextAlignVertical.center;
}
}