Context: I’m creating an app for sales and when I’m on the sales screen I have a button (Add item), this button takes me to the items grid.
my difficulty is turning on the sales screen with the selected item.
onTap: () => isSelecting ? Navigator.of(context).pop() : null,
2
Answers
You can use this