PanelyButton constructor
PanelyButton({
- Key? key,
- PanelyButtonType type = PanelyButtonType.primary,
- required String label,
- VoidCallback? onPressed,
- VoidCallback? onLongPress,
- ValueChanged<
bool> ? onHover, - ValueChanged<
bool> ? onFocusChange, - FocusNode? focusNode,
- bool autofocus = false,
- Clip? clipBehavior,
- Widget? child,
- IconAlignment iconAlignment = IconAlignment.start,
Implementation
PanelyButton({
super.key,
this.type = PanelyButtonType.primary,
required this.label,
this.onPressed,
this.onLongPress,
this.onHover,
this.onFocusChange,
this.focusNode,
this.autofocus = false,
this.clipBehavior,
this.child,
this.iconAlignment = IconAlignment.start,
});