getIcon method

Widget getIcon()

card icon method

Implementation

Widget getIcon() {
  if (cardIcon?.icon != null) {
    return Icon(
      cardIcon!.icon,
      size: cardIcon!.size,
      color: cardIcon!.color,
    );
  }
  return SizedBox(height: 0);
}