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({
  Key? 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,
}) : super(key: key);