RaisedGradientButton constructor

const RaisedGradientButton({
  1. Key? key,
  2. required String text,
  3. Color? textColor,
  4. Gradient? gradient,
  5. double? width = double.infinity,
  6. double? height = 50.0,
  7. double? radius = 20.0,
  8. double? fontSize = 18.0,
  9. Color? borderColor,
  10. FontWeight? fontWeight,
  11. List<BoxShadow>? boxShadows,
  12. VoidCallback? onPressed,
})

Implementation

const RaisedGradientButton({
  Key? key,
  required this.text,
  this.textColor,
  this.gradient,
  this.width = double.infinity,
  this.height = 50.0,
  this.radius = 20.0,
  this.fontSize = 18.0,
  this.borderColor,
  this.fontWeight,
  this.boxShadows,
  this.onPressed,
}) : super(key: key);