stackFit static method

StackFit stackFit(
  1. dynamic value
)

Implementation

static StackFit stackFit(dynamic value) => switch (value) {
      'expand' => StackFit.expand,
      'passthrough' => StackFit.passthrough,
      _ => StackFit.loose
    };