CustomButton constructor

const CustomButton({
  1. Key? key,
  2. required Function? onPressed,
  3. required String buttonTextValue,
  4. required String buttonTextFont,
  5. bool isButtonDisabled = false,
})

Implementation

const CustomButton({
  Key? key,
  required this.onPressed,
  required this.buttonTextValue,
  required this.buttonTextFont,
  this.isButtonDisabled = false, // Default value is false
}) : super(key: key);