getBorder method

Border getBorder(
  1. ColorScheme colors,
  2. bool isSelected
)

Implementation

Border getBorder(ColorScheme colors, bool isSelected) {
  return isSelected
      ? (selectedBorder ?? Border.all(color: colors.primary.withAlpha(50), width: 2))
      : (border ?? Border.all(color: colors.outline));
}