TenTag.error constructor

TenTag.error(
  1. String text, {
  2. GestureTapCallback? onTap,
  3. GestureLongPressCallback? onLongPress,
  4. Widget? lefticon,
  5. Widget? righticon,
  6. bool? plain,
  7. Color? textColor,
  8. double scale = 0.6,
  9. Key? key,
})

Implementation

TenTag.error(this.text,
    {this.onTap,
    this.onLongPress,
    this.lefticon,
    this.righticon,
    this.plain,
    this.textColor,
    this.scale = 0.6,
    super.key})
    : backgorundColor = TenScheme.error;