getChipDecoration method

BoxDecoration getChipDecoration()

Implementation

BoxDecoration getChipDecoration() {
  if (!highlighted) {
    return BoxDecoration(
      border: Border.all(color: TUIDefaultColors.outline, width: 1.5),
      borderRadius: const BorderRadius.all(Radius.circular(8)),
      color: TUIDefaultColors.surfaceHover,
    );
  } else {
    return const BoxDecoration(
      borderRadius: BorderRadius.all(Radius.circular(8)),
      color: TUIDefaultColors.secondary,
    );
  }
}