TagCustom constructor

TagCustom({
  1. Key? key,
  2. required String tagText,
  3. Color? textColor,
  4. Color? backgroundColor,
  5. BorderRadius tagBorderRadius = const BorderRadius.all(Radius.circular(2)),
  6. EdgeInsets textPadding = const EdgeInsets.only(bottom: 0.5, left: 3, right: 3, top: 0),
  7. Border? border,
  8. double fontSize = 11,
  9. FontWeight fontWeight = FontWeight.normal,
  10. double maxWidth = double.infinity,
})

Implementation

TagCustom({
  Key? key,
  required this.tagText,
  this.textColor,
  this.backgroundColor,
  this.tagBorderRadius = const BorderRadius.all(Radius.circular(2)),
  this.textPadding =
      const EdgeInsets.only(bottom: 0.5, left: 3, right: 3, top: 0),
  this.border,
  this.fontSize = 11,
  this.fontWeight = FontWeight.normal,
  this.maxWidth = double.infinity,
}) : super(key: key);