PrimaryButton constructor

const PrimaryButton({
  1. Key? key,
  2. double width = 150,
  3. double height = 80,
  4. required String text,
  5. required ButtonType buttonType,
  6. VoidCallback? onClick,
})

Implementation

const PrimaryButton({
  super.key,
  this.width = 150,
  this.height = 80,
  required this.text,
  required this.buttonType,
  this.onClick,
});