ResultDialog constructor

ResultDialog({
  1. Key? key,
  2. required Color backgroundColor,
  3. required Color textColor,
  4. required Widget icon,
  5. Widget? title,
  6. Widget? content,
  7. required DialogAction action,
})

Implementation

ResultDialog(
    {Key? key,
    required this.backgroundColor,
    required this.textColor,
    required this.icon,
    this.title,
    this.content,
    required this.action})
    : super(key: key) {
  assert(title != null || content != null);
}