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