DensePlatformIconButton constructor
const
DensePlatformIconButton({
- Key? key,
- Key? widgetKey,
- double iconSize = 24.0,
- required void onPressed(),
- required Widget icon,
- VisualDensity? visualDensity,
- EdgeInsetsGeometry padding = const EdgeInsets.all(8.0),
- Alignment alignment = Alignment.center,
- double? splashRadius,
- Color? color,
- Color? focusColor,
- Color? hoverColor,
- Color? highlightColor,
- Color? splashColor,
- Color? disabledColor,
- MouseCursor mouseCursor = SystemMouseCursors.click,
- FocusNode? focusNode,
- bool autofocus = false,
- String? tooltip,
- bool enableFeedback = true,
- 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);