ZwapCheckBoxPickerChipDecoration.primary constructor

const ZwapCheckBoxPickerChipDecoration.primary({
  1. BorderRadius borderRadius = const BorderRadius.all(Radius.circular(100)),
  2. Color backgroundColor = ZwapColors.primary50,
  3. Border? border = const Border.fromBorderSide(BorderSide(color: ZwapColors.primary700, width: 1)),
  4. EdgeInsets padding = const EdgeInsets.fromLTRB(16, 6, 12, 6),
  5. bool showRemove = false,
  6. IconData removeIcon = Icons.close,
  7. Color removeIconColor = ZwapColors.text65,
  8. ZwapTextType textType = ZwapTextType.bigBodyMedium,
  9. Color textColor = ZwapColors.primary700,
})

Implementation

const ZwapCheckBoxPickerChipDecoration.primary({
  this.borderRadius = const BorderRadius.all(Radius.circular(100)),
  this.backgroundColor = ZwapColors.primary50,
  this.border = const Border.fromBorderSide(BorderSide(color: ZwapColors.primary700, width: 1)),
  this.padding = const EdgeInsets.fromLTRB(16, 6, 12, 6),
  this.showRemove = false,
  this.removeIcon = Icons.close,
  this.removeIconColor = ZwapColors.text65,
  this.textType = ZwapTextType.bigBodyMedium,
  this.textColor = ZwapColors.primary700,
});