CustomButton constructor

const CustomButton({
  1. Key? key,
  2. required String textoBoton,
  3. required dynamic onPressed(),
  4. double? anchoBoton,
  5. bool? isWorking,
  6. bool desactivarCampo = false,
  7. EdgeInsetsGeometry? padding,
  8. double maxHeight = 50,
  9. Color? backgroundButton,
})

Implementation

const CustomButton({
  super.key,
  required this.textoBoton,
  required this.onPressed,
  this.anchoBoton,
  this.isWorking,
  this.desactivarCampo = false,
  this.padding,
  this.maxHeight = 50,
  this.backgroundButton,
});