DensePlatformIconButton constructor

const DensePlatformIconButton({
  1. Key? key,
  2. Key? widgetKey,
  3. double iconSize = 24.0,
  4. required void onPressed(),
  5. required Widget icon,
  6. VisualDensity? visualDensity,
  7. EdgeInsetsGeometry padding = const EdgeInsets.all(8.0),
  8. Alignment alignment = Alignment.center,
  9. double? splashRadius,
  10. Color? color,
  11. Color? focusColor,
  12. Color? hoverColor,
  13. Color? highlightColor,
  14. Color? splashColor,
  15. Color? disabledColor,
  16. MouseCursor mouseCursor = SystemMouseCursors.click,
  17. FocusNode? focusNode,
  18. bool autofocus = false,
  19. String? tooltip,
  20. bool enableFeedback = true,
  21. BoxConstraints? constraints,
})

Implementation

const DensePlatformIconButton(
    {Key? key,
    this.widgetKey,
    this.iconSize = 24.0,
    required this.onPressed,
    required this.icon,
    this.visualDensity,
    this.padding = const EdgeInsets.all(8.0),
    this.alignment = Alignment.center,
    this.splashRadius,
    this.color,
    this.focusColor,
    this.hoverColor,
    this.highlightColor,
    this.splashColor,
    this.disabledColor,
    this.mouseCursor = SystemMouseCursors.click,
    this.focusNode,
    this.autofocus = false,
    this.tooltip,
    this.enableFeedback = true,
    this.constraints})
    : super(key: key);