iconBtn method

IconButton iconBtn({
  1. Key? key,
  2. double? iconSize,
  3. VisualDensity? visualDensity,
  4. EdgeInsetsGeometry padding = const EdgeInsets.all(8.0),
  5. AlignmentGeometry alignment = Alignment.center,
  6. double? splashRadius,
  7. Color? color,
  8. Color? focusColor,
  9. Color? hoverColor,
  10. Color? highlightColor,
  11. Color? splashColor,
  12. Color? disabledColor,
  13. VoidCallback? onPressed,
  14. MouseCursor? mouseCursor,
  15. FocusNode? focusNode,
  16. bool autofocus = false,
  17. String? tooltip,
  18. bool enableFeedback = true,
  19. BoxConstraints? constraints,
  20. ButtonStyle? style,
  21. bool? isSelected,
  22. Widget? selectedIcon,
})

Implementation

IconButton iconBtn({
  Key? key,
  double? iconSize,
  VisualDensity? visualDensity,
  EdgeInsetsGeometry padding = const EdgeInsets.all(8.0),
  AlignmentGeometry alignment = Alignment.center,
  double? splashRadius,
  Color? color,
  Color? focusColor,
  Color? hoverColor,
  Color? highlightColor,
  Color? splashColor,
  Color? disabledColor,
  VoidCallback? onPressed,
  MouseCursor? mouseCursor,
  FocusNode? focusNode,
  bool autofocus = false,
  String? tooltip,
  bool enableFeedback = true,
  BoxConstraints? constraints,
  ButtonStyle? style,
  bool? isSelected,
  Widget? selectedIcon,
}) =>
    IconButton(
        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,
        tooltip: tooltip,
        enableFeedback: enableFeedback,
        constraints: constraints,
        style: style,
        isSelected: isSelected,
        selectedIcon: selectedIcon,
        icon: this);