orangeGradientButton static method

Widget orangeGradientButton({
  1. required String text,
  2. Color textColor = Colors.white,
  3. double? width,
  4. double? height = 45,
  5. double radius = 30,
  6. double fontSize = 14,
  7. EdgeInsetsGeometry? padding,
  8. 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));
}