Tag constructor

const Tag({
  1. Key? key,
  2. required Widget child,
  3. bool closable = false,
  4. Widget? closeIcon,
  5. Color? color,
  6. Widget? icon,
  7. void onClose()?,
  8. bool visible = true,
})

Implementation

const Tag({
  Key? key,
  required this.child,
  this.closable = false,
  this.closeIcon,
  this.color,
  this.icon,
  this.onClose,
  this.visible = true,
}) : super(key: key);