decodeStackFit function

StackFit decodeStackFit(
  1. String name
)

Implementation

StackFit decodeStackFit(String name) {
  switch (name) {
    case 'expand':
      return StackFit.expand;
    case 'passthrough':
      return StackFit.passthrough;
    case 'loose':
    default:
      return StackFit.loose;
  }
}