FastFavoriteIconButton constructor
const
FastFavoriteIconButton({
- Key? key,
- required bool isFavorite,
- Duration trottleTimeDuration = kFastButtonTrottleTimeDuration,
- FastButtonEmphasis emphasis = FastButtonEmphasis.low,
- Alignment iconAlignment = Alignment.center,
- bool shouldTrottleTime = true,
- bool isEnabled = true,
- Color? highlightColor,
- Color? disabledColor,
- String? semanticLabel,
- BoxConstraints? constraints,
- Color? focusColor,
- Color? hoverColor,
- String? debugLabel,
- Color? iconColor,
- bool flexible = false,
- double? iconSize,
- String? tooltip,
- EdgeInsetsGeometry? padding,
- VoidCallback? onTap,
- Widget? icon,
- 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,
});