CDKButton constructor
- {Key? key,
- VoidCallback? onPressed,
- required Widget child,
- CDKButtonStyle style = CDKButtonStyle.normal,
- bool isLarge = false,
- bool enabled = true}
Implementation
const CDKButton({
Key? key,
this.onPressed,
required this.child,
this.style = CDKButtonStyle.normal,
this.isLarge = false,
this.enabled = true,
}) : super(key: key);