FavoriteToggleButton constructor

const FavoriteToggleButton(
  1. {Key? key,
  2. required Object item,
  3. required String type,
  4. VoidCallback? onToggleFavorite,
  5. String? title,
  6. Color iconColor = Colors.white,
  7. String? reason,
  8. 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});