Build: Simple NavigationStack Example
This screen shows a list of items. When you tap an item, it navigates to a detail screen showing the item's name.
Target UI
--------------------- | Simple Navigation | |-------------------| | > Item 1 | | > Item 2 | | > Item 3 | | | ---------------------
Use NavigationStack as the root navigation container
Show a list of three items labeled 'Item 1', 'Item 2', and 'Item 3'
When an item is tapped, navigate to a detail screen
Detail screen shows the tapped item's name in large text
Add a back button to return to the list