AppBarActionButton constructor
const
AppBarActionButton({
- Key? key,
- required Widget icon,
- required VoidCallback? onPressed,
- String? tooltip,
- VoidCallback? onLongPress,
- double? iconSize,
- VisualDensity? visualDensity,
- EdgeInsetsGeometry? padding,
- AlignmentGeometry? alignment,
- double? splashRadius,
- Color? focusColor,
- Color? hoverColor,
- Color? color,
- Color? splashColor,
- Color? highlightColor,
- Color? disabledColor,
- MouseCursor? mouseCursor,
- FocusNode? focusNode,
- bool? autofocus,
- bool? enableFeedback,
- BoxConstraints? constraints,
Implementation
const AppBarActionButton({
Key? key,
required this.icon,
required this.onPressed,
this.tooltip,
this.onLongPress,
// ===
this.iconSize /* 24 */,
this.visualDensity,
this.padding /* const EdgeInsets.all(8.0) */,
this.alignment /* Alignment.center */,
this.splashRadius,
this.focusColor,
this.hoverColor,
this.color,
this.splashColor,
this.highlightColor,
this.disabledColor,
this.mouseCursor,
this.focusNode,
this.autofocus /* false */,
this.enableFeedback /* true */,
this.constraints,
}) : assert(splashRadius == null || splashRadius > 0),
super(key: key);