Add Note Screen
Composable function for the screen used to add a new note or edit an existing one. It provides text fields for the note's title and content, and a button to save the note.
Parameters
nav Controller
The NavController used for navigating back after saving the note.
view Model
The NoteViewModel instance used to interact with note data (e.g., inserting a new note).