VelocityChipStyle constructor
const
VelocityChipStyle({
- Color backgroundColor = VelocityColors.primary,
- Color foregroundColor = VelocityColors.white,
- Color disabledBackgroundColor = VelocityColors.gray200,
- Color disabledForegroundColor = VelocityColors.gray400,
- BorderRadius borderRadius = const BorderRadius.all(Radius.circular(16)),
- Border? border,
- EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 12, vertical: 6),
- TextStyle labelStyle = const TextStyle(fontSize: 13, fontWeight: FontWeight.w500),
- double iconSize = 16,
- 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,
});