value property

String get value

Get the border side CSS value.

Implementation

String get value =>
    style == BorderStyle.none && width.value == 0 && color == null
    ? 'none'
    : '${width.cssText} ${style.value} ${color?.value ?? 'currentcolor'}';