blueGradientButton static method
Widget
blueGradientButton({
- 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 blueGradientButton(
{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(0xFF4B70FF), Color(0xFF8EA5FE)], begin: Alignment.topCenter, end: Alignment.bottomCenter));
}