backgroundColor property

Color get backgroundColor

Implementation

Color get backgroundColor {
  switch (type) {
    case ButtonType.primary:
      return AppColors.primary;
    case ButtonType.alternate:
      return AppColors.primary.withValues(alpha: .07);
  }
}