toStackFit method
Implementation
StackFit toStackFit() {
switch (this) {
case XStack_Fit.passThrough:
return StackFit.passthrough;
case XStack_Fit.expand:
return StackFit.expand;
case XStack_Fit.loose:
return StackFit.loose;
}
return StackFit.loose;
}