the mainscreen with the list and the buttons that are in different class. When i click now on the X button in the list the item will be added to the listToBeRemoved and now when i press the green confirm button i would like to trigger the delete funktion in mainscreen.dart, how to do that?
have ChangeNotifier with list above mainscreen or any else state manager what you like
Обсуждают сегодня