isValidBorderWidthValue static method

bool isValidBorderWidthValue(
  1. String value
)

Implementation

static bool isValidBorderWidthValue(String value) {
  return CSSLength.isNonNegativeLength(value) || value == THIN || value == MEDIUM || value == THICK;
}