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