BaseButtonIcon constructor

const BaseButtonIcon({
  1. Key? key,
  2. required dynamic onTap(),
  3. required String label,
  4. required Widget icon,
  5. Color backgroundColor = AppColor.green,
  6. Color textColor = AppColor.appWhite,
  7. double? height,
  8. double? width,
})

Implementation

const BaseButtonIcon({
  super.key,
  required this.onTap,
  required this.label,
  required this.icon,
  this.backgroundColor = AppColor.green,
  this.textColor = AppColor.appWhite,
  this.height,
  this.width,
});