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({
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);