LiveIconButton.externalState constructor

const LiveIconButton.externalState({
  1. required AnimatedIconData icon,
  2. required Function onPressed,
  3. required IconState? iconState,
  4. Key? key,
  5. Duration duration = const Duration(milliseconds: 300),
  6. Color? splashColor,
  7. Color? hoverColor,
  8. double size = 24,
  9. EdgeInsetsGeometry padding = const EdgeInsets.all(18),
  10. AlignmentGeometry alignment = Alignment.center,
  11. Color? color,
  12. Color? focusColor,
  13. Color? highlightColor,
  14. Color? disabledColor,
  15. FocusNode? focusNode,
  16. String? semanticLabel,
  17. TextDirection? textDirection,
  18. String? firstTooltip,
  19. String? secondTooltip,
})

Implementation

const LiveIconButton.externalState({
  required this.icon,
  required this.onPressed,
  required this.iconState,
  Key? key,
  this.duration = const Duration(milliseconds: 300),
  this.splashColor,
  this.hoverColor,
  this.size = 24,
  this.padding = const EdgeInsets.all(18),
  this.alignment = Alignment.center,
  this.color,
  this.focusColor,
  this.highlightColor,
  this.disabledColor,
  this.focusNode,
  this.semanticLabel,
  this.textDirection,
  this.firstTooltip,
  this.secondTooltip,
}) : super(key: key);