RoundedButtonWithIcon constructor

const RoundedButtonWithIcon({
  1. Key? key,
  2. required String btnTitle,
  3. required Color bgColor,
  4. required Color textColor,
  5. required String iconURL,
  6. double? width,
  7. double fontSize = 16.0,
  8. double padding = 13.0,
  9. required Function? onPress,
  10. FontWeight? fontWeight = FontWeight.w900,
  11. double? height = 55,
})

Implementation

const RoundedButtonWithIcon (
    {super.key, required this.btnTitle,
      required this.bgColor,
      required this.textColor,
      required this.iconURL,
      this.width,
      this.fontSize = 16.0,
      this.padding = 13.0,
      required this.onPress,
      this.fontWeight = FontWeight.w900,
      this.height = 55}
    );