ElevatedGradientButton constructor
const
ElevatedGradientButton({
- Key? key,
- List<
Color> ? colors, - GestureTapCallback? onPressed,
- EdgeInsetsGeometry? padding,
- BorderRadius? borderRadius = const BorderRadius.all(Radius.circular(2)),
- Color? textColor,
- Color? splashColor,
- Color? disabledColor,
- Color? disabledTextColor,
- ValueChanged<
bool> ? onHighlightChanged, - Color? shadowColor,
- required Widget child,
Implementation
const ElevatedGradientButton({
Key? key,
this.colors,
this.onPressed,
this.padding,
this.borderRadius = const BorderRadius.all(Radius.circular(2)),
this.textColor,
this.splashColor,
this.disabledColor,
this.disabledTextColor,
this.onHighlightChanged,
this.shadowColor,
required this.child,
}) : super(key: key);