GredientButton constructor

const GredientButton({
  1. Key? key,
  2. double? radius,
  3. Color? splashColor,
  4. Color? textColor,
  5. Color? buttonColor,
  6. required String title,
  7. required Function onPressed,
  8. required List<Color> colors,
})

Implementation

const GredientButton(
    {Key? key,
    this.radius,
    this.splashColor,
    this.textColor,
    this.buttonColor,
    required this.title,
    required this.onPressed,
    required this.colors})
    : super(key: key);