PanelyButton constructor

PanelyButton({
  1. Key? key,
  2. PanelyButtonType type = PanelyButtonType.primary,
  3. required String label,
  4. VoidCallback? onPressed,
  5. VoidCallback? onLongPress,
  6. ValueChanged<bool>? onHover,
  7. ValueChanged<bool>? onFocusChange,
  8. FocusNode? focusNode,
  9. bool autofocus = false,
  10. Clip? clipBehavior,
  11. Widget? child,
  12. 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,
});