FastFavoriteIconButton constructor

const FastFavoriteIconButton({
  1. Key? key,
  2. required bool isFavorite,
  3. Duration trottleTimeDuration = kFastButtonTrottleTimeDuration,
  4. FastButtonEmphasis emphasis = FastButtonEmphasis.low,
  5. Alignment iconAlignment = Alignment.center,
  6. bool shouldTrottleTime = true,
  7. bool isEnabled = true,
  8. Color? highlightColor,
  9. Color? disabledColor,
  10. String? semanticLabel,
  11. BoxConstraints? constraints,
  12. Color? focusColor,
  13. Color? hoverColor,
  14. String? debugLabel,
  15. Color? iconColor,
  16. bool flexible = false,
  17. double? iconSize,
  18. String? tooltip,
  19. EdgeInsetsGeometry? padding,
  20. VoidCallback? onTap,
  21. Widget? icon,
  22. FastButtonSize? size,
})

Implementation

const FastFavoriteIconButton({
  super.key,
  required this.isFavorite,
  super.trottleTimeDuration = kFastButtonTrottleTimeDuration,
  super.emphasis = FastButtonEmphasis.low,
  super.iconAlignment = Alignment.center,
  super.shouldTrottleTime = true,
  super.isEnabled = true,
  super.highlightColor,
  super.disabledColor,
  super.semanticLabel,
  super.constraints,
  super.focusColor,
  super.hoverColor,
  super.debugLabel,
  super.iconColor,
  super.flexible,
  super.iconSize,
  super.tooltip,
  super.padding,
  super.onTap,
  super.icon,
  super.size,
});