VentasPrimaryButton constructor

const VentasPrimaryButton({
  1. Key? key,
  2. required VoidCallback? onTap,
  3. required String label,
  4. double? btnHeight,
  5. double? btnWidth = double.maxFinite,
  6. double? borderRadius,
  7. double? textSize,
  8. FontWeight? weight,
  9. Color? textColor,
  10. Color? bgColor,
  11. Color? borderColor,
  12. String? fontFamily,
})

Implementation

const VentasPrimaryButton(
    {super.key,
    required this.onTap,
    required this.label,
    this.btnHeight,
    this.btnWidth = double.maxFinite,
    this.borderRadius,
    this.textSize,
    this.weight,
    this.textColor,
    this.bgColor,
    this.borderColor,
    this.fontFamily});