exportMainAxisAlignment function
Implementation
String exportMainAxisAlignment(MainAxisAlignment mainAxisAlignment) {
String rt = "start";
if (mainAxisAlignment == MainAxisAlignment.end) {
rt = "end";
} else if (mainAxisAlignment == MainAxisAlignment.center) {
rt = "center";
} else if (mainAxisAlignment == MainAxisAlignment.spaceBetween) {
rt = "spaceBetween";
} else if (mainAxisAlignment == MainAxisAlignment.spaceAround) {
rt = "spaceAround";
} else if (mainAxisAlignment == MainAxisAlignment.spaceEvenly) {
rt = "spaceEvenly";
}
return rt;
}