setPaddingBottom method
- @ControllerProps(NodeProps.kPaddingBottom)
- TextInputRenderViewModel renderViewModel,
- Object? paddingBottom
Implementation
@ControllerProps(NodeProps.kPaddingBottom)
void setPaddingBottom(TextInputRenderViewModel renderViewModel, Object? paddingBottom) {
if (paddingBottom is int) {
renderViewModel.paddingBottom = paddingBottom.toDouble();
} else if (paddingBottom is double) {
renderViewModel.paddingBottom = paddingBottom;
} else {
renderViewModel.paddingBottom = 0.0;
}
}