getTextAlignVertical method
Implementation
TextAlignVertical? getTextAlignVertical(String? align) {
if (align == null) {
return null;
}
switch (align) {
case "top":
return TextAlignVertical.top;
case "center":
return TextAlignVertical.center;
case "bottom":
return TextAlignVertical.bottom;
default:
return null;
}
}