NikuButton.elevatedIcon constructor
NikuButton.elevatedIcon(
- Widget label,
- Widget icon, {
- Key? key,
- VoidCallback? onPressed,
- VoidCallback? onLongPress,
- NikuButtonStyle? style,
- FocusNode? focusNode,
- bool? autofocus,
- Clip? clipBehavior,
- bool enable = true,
Implementation
factory NikuButton.elevatedIcon(
Widget label,
Widget icon, {
Key? key,
VoidCallback? onPressed,
VoidCallback? onLongPress,
NikuButtonStyle? style,
FocusNode? focusNode,
bool? autofocus,
Clip? clipBehavior,
bool enable = true,
}) =>
NikuButton(
SizedBox.shrink(),
key: key,
type: NikuButtonType.Elevated,
onPressed: onPressed,
onLongPress: onLongPress,
style: style,
focusNode: focusNode,
clipBehavior: clipBehavior,
label: label,
icon: icon,
enable: enable,
);