CLDialogButton constructor
const
CLDialogButton({
- Key? key,
- required String label,
- required VoidCallback? onPressed,
- IconData? icon,
- CLDialogButtonTone tone = CLDialogButtonTone.primary,
- bool autofocus = false,
Implementation
const CLDialogButton({
super.key,
required this.label,
required this.onPressed,
this.icon,
this.tone = CLDialogButtonTone.primary,
this.autofocus = false,
});