border property

Border? border

Retrieves Border depends on border color

Implementation

Border? get border => color == null
    ? null
    : Border.all(
        color: color!,
        width: width,
      );