TagCustom constructor
TagCustom({
- Key? key,
- required String tagText,
- Color? textColor,
- Color? backgroundColor,
- BorderRadius tagBorderRadius = const BorderRadius.all(Radius.circular(2)),
- EdgeInsets textPadding = const EdgeInsets.only(bottom: 0.5, left: 3, right: 3, top: 0),
- Border? border,
- double fontSize = 11,
- FontWeight fontWeight = FontWeight.normal,
- 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);