ZwapButtonDecorations class

Constructors

ZwapButtonDecorations({Border? border, Color? backgroundColor, BorderRadius? borderRadius, Color? disabledColor, Gradient? disabledGradient, Gradient? gradient, Color? hoverColor, Gradient? hoverGradient, Color? focussedColor, BoxShadow? shadow, BoxShadow? hoverShadow, BoxShadow? disabledShadow, BoxShadow? focussedShadow, Gradient? focussedGradient, Border? disabledBorder, Border? focussedBorder, Border? hoverBorder, Color? contentColor, Color? disabledContentColor, Color? focussedContentColor, Color? hoverContentColor, EdgeInsets internalPadding = const EdgeInsets.symmetric(vertical: 10, horizontal: 25), Border? pressedBorder, Color? pressedColor, Color? pressedContentColor, Gradient? pressedGradient, BoxShadow? pressedShadow, Duration? animationDuration})
ZwapButtonDecorations.destructivePrimary({Border? border, Border? disabledBorder, Border? focussedBorder, Border? hoverBorder, Color? backgroundColor, BorderRadius? borderRadius, Color? disabledColor, Gradient? disabledGradient, Gradient? gradient, Color? hoverColor, Gradient? hoverGradient, Color? focussedColor, EdgeInsets? internalPadding, 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})
ZwapButtonDecorations.destructiveSecondary({Border? border, Border? disabledBorder, Border? focussedBorder, Border? hoverBorder, Color? backgroundColor, BorderRadius? borderRadius, Color? disabledColor, Gradient? disabledGradient, Gradient? gradient, Color? hoverColor, EdgeInsets? internalPadding, Gradient? hoverGradient, Color? focussedColor, Gradient? focussedGradient, BoxShadow? shadow, BoxShadow? hoverShadow, BoxShadow? disabledShadow, BoxShadow? focussedShadow, Color? contentColor, Color? hoverContentColor, Color? disabledContentColor, Color? focussedContentColor, Color? pressedColor, Border? pressedBorder, Gradient? pressedGradient, BoxShadow? pressedShadow, Color? pressedContentColor, double? borderWitdh, Duration? animationDuration})
ZwapButtonDecorations.gradient({Border? border, Border? disabledBorder, Border? focussedBorder, Border? hoverBorder, Color? backgroundColor, BorderRadius? borderRadius, Color? disabledColor, Gradient? disabledGradient, Gradient? gradient, Color? hoverColor, EdgeInsets? internalPadding, Gradient? hoverGradient, Color? focussedColor, Gradient? focussedGradient, BoxShadow? shadow, BoxShadow? hoverShadow, BoxShadow? disabledShadow, BoxShadow? focussedShadow, Color? contentColor, Color? hoverContentColor, Color? disabledContentColor, Color? focussedContentColor, Color? pressedColor, Border? pressedBorder, Gradient? pressedGradient, BoxShadow? pressedShadow, Color? pressedContentColor, double? borderWitdh, Duration? animationDuration})
ZwapButtonDecorations.primaryDark({Border? border, Border? disabledBorder, Border? focussedBorder, Border? hoverBorder, Color? backgroundColor, BorderRadius? borderRadius, Color? disabledColor, Gradient? disabledGradient, Gradient? gradient, Color? hoverColor, EdgeInsets? internalPadding, Gradient? hoverGradient, 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})
borderWitdh Not used if custom border is provided
ZwapButtonDecorations.primaryLight({Border? border, Border? disabledBorder, Border? focussedBorder, Border? hoverBorder, Color? backgroundColor, BorderRadius? borderRadius, Color? disabledColor, Gradient? disabledGradient, Gradient? gradient, Color? hoverColor, EdgeInsets? internalPadding, Gradient? hoverGradient, 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})
ZwapButtonDecorations.quaternary({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})
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})
ZwapButtonDecorations.secondaryLight({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})
ZwapButtonDecorations.tertiary({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})

Properties

animationDuration Duration?
The duration of the animations between states
final
backgroundColor Color?
final
border Border?
final
borderRadius BorderRadius?
final
contentColor Color?
final
disabledBorder Border?
final
disabledColor Color?
final
disabledContentColor Color?
final
disabledGradient Gradient?
If both disabledColor and disabledGradient are provided, disabledColor will be ignored
final
disabledShadow BoxShadow?
final
focussedBorder Border?
Also named active border
final
focussedColor Color?
Also named active color
final
focussedContentColor Color?
final
focussedGradient Gradient?
If both focussedColor and focussedGradient are provided, disabledColor will be ignored
final
focussedShadow BoxShadow?
final
gradient Gradient?
If both backgroundColor and gradient are provided, backgroundColor will be ignored
final
hashCode int
The hash code for this object.
no setterinherited
hoverBorder Border?
final
hoverColor Color?
final
hoverContentColor Color?
final
hoverGradient Gradient?
If both hoverColor and hoverGradient are provided, hoverColor will be ignored
final
hoverShadow BoxShadow?
final
internalPadding EdgeInsets
final
pressedBorder Border?
final
pressedColor Color?
final
pressedContentColor Color?
final
pressedGradient Gradient?
If both pressedColor and pressedGradient are provided, pressedColor will be ignored
final
pressedShadow BoxShadow?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadow BoxShadow?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

primaryButtonDisabledContentColor Color?
getter/setter pair
primaryColor Color?
getter/setter pair
selectableButtonDecorations → _ZwapSelectableButtonDecorations
no setter
videoPlatformDecorations → _ZwapVideoPlatformButtonsDecorations
no setter