RaisedGradientButton constructor

const RaisedGradientButton({
  1. Key? key,
  2. required Widget child,
  3. Gradient? gradient,
  4. double width = double.infinity,
  5. double height = 50.0,
  6. GestureTapCallback? onPressed,
  7. String? heroTag,
  8. OutlinedBorder borderShape = const StadiumBorder(),
  9. bool withShadow = true,
})

Implementation

const RaisedGradientButton({
  Key? key,
  required this.child,
  this.gradient,
  this.width = double.infinity,
  this.height = 50.0,
  this.onPressed,
  this.heroTag,
  this.borderShape = const StadiumBorder(),
  this.withShadow = true,
}) : super(key: key);