FavoriteToggleButton constructor
- {Key? key,
- required Object item,
- required String type,
- VoidCallback? onToggleFavorite,
- String? title,
- Color iconColor = Colors.white,
- String? reason,
- VoidCallback? onAuthRequired}
Implementation
const FavoriteToggleButton(
{super.key,
required this.item,
required this.type,
this.onToggleFavorite,
this.title,
this.iconColor = Colors.white,
this.reason,
this.onAuthRequired});