JUITag constructor
const
JUITag({
- Key? key,
- required String text,
- double paddingVertical = 2,
- double paddingHorizontal = 10,
- JUITagType tagType = JUITagType.text,
- JUITagShapeType tagShapeType = JUITagShapeType.rectangle,
- JUITagColorType tagColorType = JUITagColorType.blue,
- Widget? icon,
- double fontSize = 12,
- 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,
});