FavoriteToggleButton class widgets

This widget contains the behavior for liking an item.

Constructors

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

Properties

iconColor → Color
final
item → Object
final
onAuthRequired → VoidCallback?
final
onToggleFavorite → VoidCallback?
final
reason → String?
final
title → String?
final
type → String
final

Methods

createState() → State<StatefulWidget>
Creates the mutable state for this widget at a given location in the tree.