TxAnimatedIconButton constructor
const
TxAnimatedIconButton({
- required AnimatedIconData? icon,
- Key? key,
- Animation<
double> ? animation, - Duration? duration,
- Duration? reverseDuration,
- double? iconSize,
- VisualDensity? visualDensity,
- EdgeInsetsGeometry? padding,
- AlignmentGeometry? alignment,
- double? splashRadius,
- Color? focusColor,
- Color? hoverColor,
- Color? color,
- Color? splashColor,
- Color? highlightColor,
- Color? disabledColor,
- VoidCallback? onPressed,
- MouseCursor? mouseCursor,
- FocusNode? focusNode,
- bool autofocus = false,
- String? tooltip,
- bool? enableFeedback,
- BoxConstraints? constraints,
- ButtonStyle? style,
Implementation
const TxAnimatedIconButton({
required this.icon,
super.key,
this.animation,
this.duration,
this.reverseDuration,
this.iconSize,
this.visualDensity,
this.padding,
this.alignment,
this.splashRadius,
this.focusColor,
this.hoverColor,
this.color,
this.splashColor,
this.highlightColor,
this.disabledColor,
this.onPressed,
this.mouseCursor,
this.focusNode,
this.autofocus = false,
this.tooltip,
this.enableFeedback,
this.constraints,
this.style,
}) : builder = null;