CDKButton constructor

const CDKButton(
  1. {Key? key,
  2. VoidCallback? onPressed,
  3. required Widget child,
  4. CDKButtonStyle style = CDKButtonStyle.normal,
  5. bool isLarge = false,
  6. 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);