exportCrossAxisAlignment function
Implementation
String exportCrossAxisAlignment(CrossAxisAlignment crossAxisAlignment) {
String rt = "center";
if (crossAxisAlignment == CrossAxisAlignment.start) {
rt = "start";
}
if (crossAxisAlignment == CrossAxisAlignment.end) {
rt = "end";
}
if (crossAxisAlignment == CrossAxisAlignment.center) {
rt = "center";
}
if (crossAxisAlignment == CrossAxisAlignment.stretch) {
rt = "stretch";
}
if (crossAxisAlignment == CrossAxisAlignment.baseline) {
rt = "baseline";
}
return rt;
}