orangeGradientButton static method
Widget
orangeGradientButton({
- required String text,
- Color textColor = Colors.white,
- double? width,
- double? height = 45,
- double radius = 30,
- double fontSize = 14,
- EdgeInsetsGeometry? padding,
- VoidCallback? onPressed,
Implementation
static Widget orangeGradientButton(
{required String text,
Color textColor = Colors.white,
double? width,
double? height = 45,
double radius = 30,
double fontSize = 14,
EdgeInsetsGeometry? padding,
VoidCallback? onPressed}) {
return gradientButton2(
text: text,
fontSize: fontSize,
textColor: textColor,
width: width,
height: height,
radius: radius,
onPressed: onPressed,
padding: padding,
gradient: const LinearGradient(colors: [Color(0xFFFF223B), Color(0xFFFF9239)], begin: Alignment.topCenter, end: Alignment.bottomCenter));
}