HeaderDialog constructor

const HeaderDialog({
  1. Key? key,
  2. required String headerTitle,
  3. Color? headerColor,
  4. Color? headerTextColor,
  5. required Widget child,
  6. String? primaryButtonText,
  7. String? secondaryButtonText,
  8. VoidCallback? onPrimaryPressed,
  9. VoidCallback? onSecondaryPressed,
  10. Color? primaryButtonColor,
  11. Color? secondaryButtonColor,
  12. bool showCloseButton = true,
  13. VoidCallback? onClose,
  14. bool isDark = false,
  15. double? blur,
  16. ImageFilter? backdropFilter,
  17. double? borderRadius,
})

Creates a header dialog.

Implementation

const HeaderDialog({
  super.key,
  required this.headerTitle,
  this.headerColor,
  this.headerTextColor,
  required this.child,
  this.primaryButtonText,
  this.secondaryButtonText,
  this.onPrimaryPressed,
  this.onSecondaryPressed,
  this.primaryButtonColor,
  this.secondaryButtonColor,
  this.showCloseButton = true,
  this.onClose,
  this.isDark = false,
  this.blur,
  this.backdropFilter,
  this.borderRadius,
});