TAlert.info constructor

const TAlert.info({
  1. Key? key,
  2. required String title,
  3. String? subtitle,
  4. Widget? icon,
  5. TextStyle? titleStyle,
  6. TextStyle? subtitleStyle,
})

Implementation

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