TAlert constructor

const TAlert({
  1. Key? key,
  2. required String title,
  3. String? subtitle,
  4. Widget? icon,
  5. TextStyle? titleStyle,
  6. TextStyle? subtitleStyle,
  7. Color? titleColor,
  8. Color? subtitleColor,
  9. Color? borderColor,
  10. Color? backgroundColor,
})

Implementation

const TAlert({
  super.key,
  required this.title,
  this.subtitle,
  this.icon,
  this.titleStyle,
  this.subtitleStyle,
  this.titleColor,
  this.subtitleColor,
  this.borderColor,
  this.backgroundColor,
}) : alertType = TAlertType.raw;