getWidget abstract method
- BuildContext context, {
- VoidCallback? onDeleteItem,
- VoidCallback? onFavoriteChanged,
Displays the list item.
onDeleteItem is called when the user asks to remove the item. Without
it, the item cannot be removed.
onFavoriteChanged is called once the item changed its favorite status.
Implementation
Widget getWidget(
BuildContext context, {
VoidCallback? onDeleteItem,
VoidCallback? onFavoriteChanged,
});