value property

String get value

Get the border side CSS value.

Implementation

String get value =>
    style == BorderStyle.none && width == const Dim.zero() && color == null
    ? 'unset'
    : '${width.cssText} ${style.value} ${color?.value ?? 'currentcolor'}';