VelocityChipStyle constructor

const VelocityChipStyle({
  1. Color backgroundColor = VelocityColors.primary,
  2. Color foregroundColor = VelocityColors.white,
  3. Color disabledBackgroundColor = VelocityColors.gray200,
  4. Color disabledForegroundColor = VelocityColors.gray400,
  5. BorderRadius borderRadius = const BorderRadius.all(Radius.circular(16)),
  6. Border? border,
  7. EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 12, vertical: 6),
  8. TextStyle labelStyle = const TextStyle(fontSize: 13, fontWeight: FontWeight.w500),
  9. double iconSize = 16,
  10. double spacing = 6,
})

Implementation

const VelocityChipStyle({
  this.backgroundColor = VelocityColors.primary,
  this.foregroundColor = VelocityColors.white,
  this.disabledBackgroundColor = VelocityColors.gray200,
  this.disabledForegroundColor = VelocityColors.gray400,
  this.borderRadius = const BorderRadius.all(Radius.circular(16)),
  this.border,
  this.padding = const EdgeInsets.symmetric(horizontal: 12, vertical: 6),
  this.labelStyle =
      const TextStyle(fontSize: 13, fontWeight: FontWeight.w500),
  this.iconSize = 16,
  this.spacing = 6,
});