MyFancyButton constructor
MyFancyButton({
- Key? key,
- double? borderWidth,
- LinearGradient? gradient,
- bool? isGradient,
- required bool isIconButton,
- String? image,
- Color? borderColor,
- FontWeight? weight,
- double? width,
- double? borderRadius,
- double? height,
- required double fontSize,
- Color? fontColor,
- String? family,
- required String text,
- required VoidCallback tap,
- required Color buttonColor,
- double? imageWidth,
- double? imageHeight,
- double? blurRadius,
- Offset? offset,
- Color? shadowColor,
- double? spreadRadius,
- required bool hasShadow,
- EdgeInsetsGeometry? padding,
- 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);