YaruIconButton constructor
const
YaruIconButton({
- required Widget icon,
- AlignmentGeometry alignment = Alignment.center,
- bool autofocus = false,
- BoxConstraints? constraints,
- bool enableFeedback = true,
- FocusNode? focusNode,
- double iconSize = kYaruIconSize,
- bool? isSelected,
- MouseCursor? mouseCursor,
- VoidCallback? onPressed,
- EdgeInsetsGeometry? padding,
- Widget? selectedIcon,
- double? splashRadius,
- ButtonStyle? style,
- String? tooltip,
- VisualDensity? visualDensity,
- Key? key,
Implementation
const YaruIconButton({
required this.icon,
this.alignment = Alignment.center,
this.autofocus = false,
this.constraints,
this.enableFeedback = true,
this.focusNode,
this.iconSize = kYaruIconSize,
this.isSelected,
this.mouseCursor,
this.onPressed,
this.padding,
this.selectedIcon,
this.splashRadius,
this.style,
this.tooltip,
this.visualDensity,
super.key,
});