getTableCellVerticalAlignment method
Implementation
TableCellVerticalAlignment? getTableCellVerticalAlignment(String? value) {
if (value == null) {
return null;
}
switch (value) {
case "top":
return TableCellVerticalAlignment.top;
case "middle":
return TableCellVerticalAlignment.middle;
case "bottom":
return TableCellVerticalAlignment.bottom;
case "baseline":
return TableCellVerticalAlignment.baseline;
case "fill":
return TableCellVerticalAlignment.fill;
default:
return null;
}
}