Home Screen
fun HomeScreen(viewModel: HomeViewModel = hiltViewModel(), navController: NavHostController = rememberNavController())
The Home Screen is the application's entry point and acts as a container for navigation to other screens. It displays a toolbar with dynamic content based on the current screen, a bottom bar for quick access to main sections, and a floating action button for adding photos.
Parameters
view Model
the corresponding viewModel that provides access to data and methods for manipulating the Home Screen.
nav Controller
a reference to the navigation controller used for navigating between screens. If not provided, a new one will be created.