IconButtonConfig constructor

const IconButtonConfig({
  1. Key? key,
  2. required Icon icon,
  3. ButtonStyle? style,
  4. EdgeInsetsGeometry padding = const EdgeInsets.all(8.0),
  5. bool autofocus = false,
  6. AlignmentGeometry alignment = Alignment.center,
  7. Color? color,
  8. BoxConstraints? constraints,
  9. Color? disabledColor,
  10. bool enableFeedback = true,
  11. Color? focusColor,
  12. FocusNode? focusNode,
  13. Color? highlightColor,
  14. Color? hoverColor,
  15. double? iconSize,
  16. bool? isSelected,
  17. MouseCursor? mouseCursor,
  18. Widget? selectedIcon,
  19. Color? splashColor,
  20. double? splashRadius,
  21. String? tooltip,
  22. 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,
});