TxAnimatedIconButton constructor

const TxAnimatedIconButton({
  1. required AnimatedIconData? icon,
  2. Key? key,
  3. Animation<double>? animation,
  4. Duration? duration,
  5. Duration? reverseDuration,
  6. double? iconSize,
  7. VisualDensity? visualDensity,
  8. EdgeInsetsGeometry? padding,
  9. AlignmentGeometry? alignment,
  10. double? splashRadius,
  11. Color? focusColor,
  12. Color? hoverColor,
  13. Color? color,
  14. Color? splashColor,
  15. Color? highlightColor,
  16. Color? disabledColor,
  17. VoidCallback? onPressed,
  18. MouseCursor? mouseCursor,
  19. FocusNode? focusNode,
  20. bool autofocus = false,
  21. String? tooltip,
  22. bool? enableFeedback,
  23. BoxConstraints? constraints,
  24. 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;