DigitAcknowledgement.success constructor

DigitAcknowledgement.success({
  1. Key? key,
  2. required String label,
  3. String? subLabel,
  4. String? description,
  5. Widget? descriptionWidget,
  6. VoidCallback? action,
  7. String? actionLabel,
  8. IconData? icon,
  9. Color? color,
  10. bool enableBackToSearch = true,
  11. bool enableViewHousehold = false,
  12. VoidCallback? secondaryAction,
  13. String? secondaryLabel,
  14. bool isActionLabel = true,
})

Implementation

DigitAcknowledgement.success({
  super.key,
  required this.label,
  this.subLabel,
  this.description,
  this.descriptionWidget,
  this.action,
  this.actionLabel,
  IconData? icon,
  Color? color,
  this.enableBackToSearch = true,
  this.enableViewHousehold = false,
  this.secondaryAction,
  this.secondaryLabel,
  this.isActionLabel = true,
})  : color = color ?? DigitTheme.instance.colors.darkSpringGreen,
      icon = icon ?? Icons.check_circle;