ZwapButtonDecorations.secondaryDark constructor
ZwapButtonDecorations.secondaryDark({
- Border? border,
- Color? backgroundColor,
- BorderRadius? borderRadius,
- Color? disabledColor,
- Gradient? disabledGradient,
- Gradient? gradient,
- Color? hoverColor,
- Border? disabledBorder,
- Border? focussedBorder,
- Border? hoverBorder,
- Gradient? hoverGradient,
- EdgeInsets? internalPadding,
- Color? focussedColor,
- Gradient? focussedGradient,
- BoxShadow? shadow,
- BoxShadow? hoverShadow,
- BoxShadow? disabledShadow,
- BoxShadow? focussedShadow,
- Color? contentColor,
- Color? hoverContentColor,
- Color? disabledContentColor,
- Color? focussedContentColor,
- Border? pressedBorder,
- Color? pressedColor,
- Gradient? pressedGradient,
- BoxShadow? pressedShadow,
- Color? pressedContentColor,
- double? borderWitdh,
- Duration? animationDuration,
Implementation
ZwapButtonDecorations.secondaryDark({
Border? border,
Color? backgroundColor,
BorderRadius? borderRadius,
Color? disabledColor,
Gradient? disabledGradient,
Gradient? gradient,
Color? hoverColor,
Border? disabledBorder,
Border? focussedBorder,
Border? hoverBorder,
Gradient? hoverGradient,
EdgeInsets? internalPadding,
Color? focussedColor,
Gradient? focussedGradient,
BoxShadow? shadow,
BoxShadow? hoverShadow,
BoxShadow? disabledShadow,
BoxShadow? focussedShadow,
Color? contentColor,
Color? hoverContentColor,
Color? disabledContentColor,
Color? focussedContentColor,
Border? pressedBorder,
Color? pressedColor,
Gradient? pressedGradient,
BoxShadow? pressedShadow,
Color? pressedContentColor,
double? borderWitdh,
this.animationDuration,
}) : this.backgroundColor = backgroundColor ?? ZwapColors.shades0,
this.focussedColor = focussedColor ?? ZwapColors.shades0,
this.hoverColor = hoverColor ?? ZwapColors.shades0,
this.disabledColor = disabledColor ?? ZwapColors.shades0,
this.borderRadius = borderRadius ?? BorderRadius.circular(ZwapRadius.buttonRadius),
this.border = border ?? Border.all(color: ZwapColors.primary900Dark),
this.disabledBorder = disabledBorder ?? Border.all(color: ZwapColors.neutral300Dark),
this.focussedBorder = focussedBorder ?? Border.all(color: ZwapColors.primary900Dark, width: 2),
this.hoverBorder = hoverBorder ?? Border.all(color: ZwapColors.primary900Dark, width: 2),
this.disabledGradient = disabledGradient,
this.gradient = gradient ?? null,
this.hoverGradient = hoverGradient ?? null,
this.internalPadding = internalPadding ?? const EdgeInsets.symmetric(vertical: 7.5, horizontal: 20),
this.shadow = shadow,
this.hoverShadow = hoverShadow,
this.disabledShadow = disabledShadow,
this.focussedShadow = focussedShadow,
this.focussedGradient = focussedGradient,
this.contentColor = contentColor ?? ZwapColors.primary900Dark,
this.hoverContentColor = hoverContentColor ?? ZwapColors.primary900Dark,
this.disabledContentColor = disabledContentColor ?? ZwapColors.neutral300Dark,
this.focussedContentColor = focussedContentColor ?? ZwapColors.primary900Dark,
this.pressedBorder = pressedBorder ?? Border.all(color: ZwapColors.primary200, width: borderWitdh ?? 2),
this.pressedColor = pressedColor ?? ZwapColors.shades0,
this.pressedContentColor = pressedContentColor ?? ZwapColors.primary900Dark,
this.pressedGradient = pressedGradient,
this.pressedShadow = pressedShadow;