NikuIconButton.outlined constructor
NikuIconButton.outlined(
- IconData icon, {
- Key? key,
- void onPressed()?,
- double? iconSize,
- VisualDensity? visualDensity,
- NikuEdgeInsets? padding,
- AlignmentGeometry? alignment,
- double? splashRadius,
- Color? focusColor,
- Color? hoverColor,
- Color? color,
- Color? splashColor,
- Color? highlightColor,
- Color? disabledColor,
- MouseCursor? mouseCursor,
- FocusNode? focusNode,
- bool? autofocus,
- String? tooltip,
- bool? enableFeedback,
- NikuBoxConstraints? constraints,
Implementation
factory NikuIconButton.outlined(
IconData icon, {
Key? key,
void Function()? onPressed,
double? iconSize,
VisualDensity? visualDensity,
NikuEdgeInsets? padding,
AlignmentGeometry? alignment,
double? splashRadius,
Color? focusColor,
Color? hoverColor,
Color? color,
Color? splashColor,
Color? highlightColor,
Color? disabledColor,
MouseCursor? mouseCursor,
FocusNode? focusNode,
bool? autofocus,
String? tooltip,
bool? enableFeedback,
NikuBoxConstraints? constraints,
}) {
return NikuIconButton(
icon,
key: key,
iconSize: iconSize,
visualDensity: visualDensity,
padding: padding,
alignment: alignment,
splashRadius: splashRadius,
color: color,
focusColor: focusColor,
hoverColor: hoverColor,
highlightColor: highlightColor,
splashColor: splashColor,
disabledColor: disabledColor,
onPressed: onPressed,
mouseCursor: mouseCursor,
focusNode: focusNode,
autofocus: autofocus,
tooltip: tooltip,
enableFeedback: enableFeedback,
constraints: constraints,
variant: _NikuIconButtonVariant.outlined,
);
}