JUITag constructor

const JUITag({
  1. Key? key,
  2. required String text,
  3. double paddingVertical = 2,
  4. double paddingHorizontal = 10,
  5. JUITagType tagType = JUITagType.text,
  6. JUITagShapeType tagShapeType = JUITagShapeType.rectangle,
  7. JUITagColorType tagColorType = JUITagColorType.blue,
  8. Widget? icon,
  9. double fontSize = 12,
  10. Alignment alignment = Alignment.center,
})

Implementation

const JUITag({
  super.key,
  required this.text,
  this.paddingVertical = 2,
  this.paddingHorizontal = 10,
  this.tagType = JUITagType.text,
  this.tagShapeType = JUITagShapeType.rectangle,
  this.tagColorType = JUITagColorType.blue,
  this.icon,
  this.fontSize = 12,
  this.alignment = Alignment.center,
});