IconButtonConfig constructor
const
IconButtonConfig({
- Key? key,
- required Icon icon,
- ButtonStyle? style,
- EdgeInsetsGeometry padding = const EdgeInsets.all(8.0),
- bool autofocus = false,
- AlignmentGeometry alignment = Alignment.center,
- Color? color,
- BoxConstraints? constraints,
- Color? disabledColor,
- bool enableFeedback = true,
- Color? focusColor,
- FocusNode? focusNode,
- Color? highlightColor,
- Color? hoverColor,
- double? iconSize,
- bool? isSelected,
- MouseCursor? mouseCursor,
- Widget? selectedIcon,
- Color? splashColor,
- double? splashRadius,
- String? tooltip,
- VisualDensity? visualDensity,
Implementation
const IconButtonConfig({
this.key,
required this.icon,
this.style,
this.padding = const EdgeInsets.all(8.0),
this.autofocus = false,
this.alignment = Alignment.center,
this.color,
this.constraints,
this.disabledColor,
this.enableFeedback = true,
this.focusColor,
this.focusNode,
this.highlightColor,
this.hoverColor,
this.iconSize,
this.isSelected,
this.mouseCursor,
this.selectedIcon,
this.splashColor,
this.splashRadius,
this.tooltip,
this.visualDensity,
});