HeaderDialog constructor
const
HeaderDialog({
- Key? key,
- required String headerTitle,
- Color? headerColor,
- Color? headerTextColor,
- required Widget child,
- String? primaryButtonText,
- String? secondaryButtonText,
- VoidCallback? onPrimaryPressed,
- VoidCallback? onSecondaryPressed,
- Color? primaryButtonColor,
- Color? secondaryButtonColor,
- bool showCloseButton = true,
- VoidCallback? onClose,
- bool isDark = false,
- double? blur,
- ImageFilter? backdropFilter,
- 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,
});