MyFancyButton constructor

MyFancyButton({
  1. Key? key,
  2. double? borderWidth,
  3. LinearGradient? gradient,
  4. bool? isGradient,
  5. required bool isIconButton,
  6. String? image,
  7. Color? borderColor,
  8. FontWeight? weight,
  9. double? width,
  10. double? borderRadius,
  11. double? height,
  12. required double fontSize,
  13. Color? fontColor,
  14. String? family,
  15. required String text,
  16. required VoidCallback tap,
  17. required Color buttonColor,
  18. double? imageWidth,
  19. double? imageHeight,
  20. double? blurRadius,
  21. Offset? offset,
  22. Color? shadowColor,
  23. double? spreadRadius,
  24. required bool hasShadow,
  25. EdgeInsetsGeometry? padding,
  26. EdgeInsetsGeometry? margin,
})

Implementation

MyFancyButton({Key? key,this.borderWidth,this.gradient,this.isGradient,required this.isIconButton,this.image,this.borderColor,this.weight,this.width,this.borderRadius,this.height,required this.fontSize,this.fontColor,this.family,required this.text,required this.tap,
  required this.buttonColor,this.imageWidth,this.imageHeight,this.blurRadius,this.offset,this.shadowColor,this.spreadRadius,
  required this.hasShadow,this.padding,this.margin}) : super(key: key);