const
Widget.iconButton(- {Key? key,
- double? iconSize,
- VisualDensity? visualDensity,
- EdgeInsets? padding,
- Alignment? alignment,
- double? splashRadius,
- Color? color,
- Color? focusColor,
- Color? hoverColor,
- Color? highlightColor,
- Color? splashColor,
- Color? disabledColor,
- required Callback onPressed,
- MouseCursor? mouseCursor,
- @Default(false) bool autofocus,
- String? tooltip,
- bool? enableFeedback,
- BoxConstraints? constraints,
- bool? isSelected,
- Widget? selectedIcon,
- required Widget icon}
)
Implementation
const factory Widget.iconButton({
Key? key,
double? iconSize,
VisualDensity? visualDensity,
EdgeInsets? padding,
Alignment? alignment,
double? splashRadius,
Color? color,
Color? focusColor,
Color? hoverColor,
Color? highlightColor,
Color? splashColor,
Color? disabledColor,
required Callback onPressed,
MouseCursor? mouseCursor,
@Default(false) bool autofocus,
String? tooltip,
bool? enableFeedback,
BoxConstraints? constraints,
bool? isSelected,
Widget? selectedIcon,
required Widget icon,
}) = IconButton;