How do i return a container based on a list of item selected in flutter?
I have a list of items List<String> items = [ "All", "Jobs", "Messages", "Customers", ]; int current = 0; And this list is directly responsible for my tab bar: When i tap an item in the Tab bar i want…