Note List Screen
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
nav Controller
Controller for navigating between different screens in the app.
view Model
The ViewModel responsible for note-related logic and data.
theme View Model
The ViewModel responsible for managing theme state (dark/light).