fromString static method
Implementation
static StackFit fromString(String? stackFit) {
switch (stackFit) {
case null:
return StackFit.loose;
case "loose":
return StackFit.loose;
case "expand":
return StackFit.expand;
case "passThrough":
return StackFit.passthrough;
default:
return StackFit.loose;
}
}