RaisedGradientButton constructor
const
RaisedGradientButton({
- Key? key,
- required Widget child,
- Gradient? gradient,
- double width = double.infinity,
- double height = 50.0,
- GestureTapCallback? onPressed,
- String? heroTag,
- OutlinedBorder borderShape = const StadiumBorder(),
- 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);