HcAppButton constructor

const HcAppButton({
  1. Key? key,
  2. required dynamic onPressed()?,
  3. required String text,
  4. Color? textColor,
  5. Widget? icon,
  6. IconData? iconData,
  7. Color buttonColor = const Color(0xffE5E6EB),
  8. TextStyle? textStyle,
})

Implementation

const HcAppButton({
  Key? key,
  required this.onPressed,
  required this.text,
  this.textColor,
  this.icon,
  this.iconData,
  this.buttonColor = const Color(0xffE5E6EB),
  this.textStyle,
}) : super(key: key);