getBorderColor function

dynamic getBorderColor(
  1. TagType tagType
)

Implementation

getBorderColor(TagType tagType) {
    switch (tagType) {
      case TagType.done:
        return Colors.green;
      case TagType.inProgress:
        return Colors.blue;
      case TagType.delayed:
        return Colors.red;
      default:
        return Colors.black;
    }
  }