getWrapAlignment method
Implementation
WrapAlignment getWrapAlignment(String? value) {
value ??= "default";
switch (value) {
case "center":
return WrapAlignment.center;
case "end":
return WrapAlignment.end;
case "spaceEvenly":
return WrapAlignment.spaceEvenly;
case "spaceAround":
return WrapAlignment.spaceAround;
case "spaceBetween":
return WrapAlignment.spaceBetween;
default:
return WrapAlignment.start;
}
}