CustomButton constructor

const CustomButton({
  1. Key? key,
  2. double buttonSize = 60,
  3. required Widget child,
  4. required dynamic onTap(),
  5. double? width,
})

Implementation

const CustomButton({
  super.key,
  this.buttonSize = 60,
  required this.child,
  required this.onTap,
  this.width,
});