isValidTransitionTimingFunctionValue static method

bool isValidTransitionTimingFunctionValue(
  1. String value
)

Implementation

static bool isValidTransitionTimingFunctionValue(String value) {
  return value == LINEAR ||
      value == EASE ||
      value == EASE_IN ||
      value == EASE_OUT ||
      value == EASE_IN_OUT ||
      value == STEP_END ||
      value == STEP_START ||
      CSSFunction.isFunction(value);
}