NikuButton constructor
NikuButton(
- Widget child, {
- Key? key,
- NikuButtonType? type,
- VoidCallback? onPressed,
- VoidCallback? onLongPress,
- NikuButtonStyle? style,
- FocusNode? focusNode,
- Clip? clipBehavior,
- bool? autofocus,
- Widget? icon,
- Widget? label,
- bool enable = true,
Implementation
NikuButton(
this.child, {
Key? key,
this.type,
this.onPressed,
this.onLongPress,
this.style,
this.focusNode,
this.clipBehavior,
this.autofocus,
// For icon factory
this.icon,
this.label,
// Custom
this.enable = true,
}) : super(key: key);