gradientButton static method
Widget
gradientButton(
{ - required String text,
- Color? textColor,
- double width = double.infinity,
- double? height,
- double radius = 20,
- double? fontSize,
- VoidCallback? onPressed,
- Gradient? gradient,
- Color? borderColor,
- FontWeight? fontWeight,
- List<BoxShadow>? boxShadows,
})
Implementation
static Widget gradientButton(
{required String text,
Color? textColor,
double width = double.infinity,
double? height,
double radius = 20,
double? fontSize,
VoidCallback? onPressed,
Gradient? gradient,
Color? borderColor,
FontWeight? fontWeight,
List<BoxShadow>? boxShadows}) {
return RaisedGradientButton(
text: text,
onPressed: onPressed,
width: width,
height: height,
radius: radius,
textColor: textColor,
gradient: gradient,
fontSize: fontSize,
borderColor: borderColor,
fontWeight: fontWeight,
boxShadows: boxShadows);
}