resolvePositionType static method

CSSPositionType resolvePositionType(
  1. String? input
)

Implementation

static CSSPositionType resolvePositionType(String? input) {
  switch (input) {
    case RELATIVE:
      return CSSPositionType.relative;
    case ABSOLUTE:
      return CSSPositionType.absolute;
    case FIXED:
      return CSSPositionType.fixed;
    case STICKY:
      return CSSPositionType.sticky;
    default:
      return CSSPositionType.static;
  }
}