NoteListScreen

fun NoteListScreen(navController: NavController, viewModel: NoteViewModel, themeViewModel: ThemeViewModel)

The main composable function for displaying the list of notes. This screen includes a navigation drawer, a top app bar, a floating action button (for active notes), and a list of notes. It handles switching between active and deleted notes views and theme toggling.

Parameters

navController

Controller for navigating between different screens in the app.

viewModel

The ViewModel responsible for note-related logic and data.

themeViewModel

The ViewModel responsible for managing theme state (dark/light).