DigitAcknowledgement.success constructor
DigitAcknowledgement.success({
- Key? key,
- required String label,
- String? subLabel,
- String? description,
- Widget? descriptionWidget,
- VoidCallback? action,
- String? actionLabel,
- IconData? icon,
- Color? color,
- bool enableBackToSearch = true,
- bool enableViewHousehold = false,
- VoidCallback? secondaryAction,
- String? secondaryLabel,
- 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;