WindowButton constructor
WindowButton({
- Key? key,
- WindowButtonColors? colors,
- WindowButtonBuilder? builder,
- @required WindowButtonIconBuilder? iconBuilder,
- EdgeInsets? padding,
- VoidCallback? onPressed,
- bool animate = false,
Implementation
WindowButton(
{Key? key,
WindowButtonColors? colors,
this.builder,
@required this.iconBuilder,
this.padding,
this.onPressed,
this.animate = false})
: super(key: key) {
this.colors = colors ?? _defaultButtonColors;
}