toHubbleBorder method

HubbleBorder? toHubbleBorder()

Implementation

HubbleBorder? toHubbleBorder() {
  if (!(width > 0)) return null;
  final border = borderNaked();
  return HubbleBorder(
    top: border.top,
    bottom: border.bottom,
    left: border.left,
    right: border.right,
    color: color.toHubbleColor(),
  );
}