parseWrapCrossAlignment function
Implementation
WrapCrossAlignment parseWrapCrossAlignment(String? wrapCrossAlignmentString) {
if (wrapCrossAlignmentString == null) {
return WrapCrossAlignment.start;
}
switch (wrapCrossAlignmentString) {
case "start":
return WrapCrossAlignment.start;
case "end":
return WrapCrossAlignment.end;
case "center":
return WrapCrossAlignment.center;
}
return WrapCrossAlignment.start;
}