Tag constructor
const
Tag(
- String text, {
- Key? key,
- EdgeInsets? padding,
- Color? color = Colors.black,
- Color? backgroundColor,
- BorderRadius? borderRadius,
- double? fontSize,
- FontWeight? fontWeight,
Implementation
const Tag(
this.text, {
Key? key,
this.padding,
this.color = Colors.black,
this.backgroundColor,
this.borderRadius,
this.fontSize,
this.fontWeight,
}) : super(key: key);