import 'package:flutter/material.dart'; import 'package:get/get.dart'; import '../../ftc_mobile_app.dart'; class NewNoteScreenController extends GetxController{ final GlobalKey screenKey = GlobalKey(); final TextEditingController titleController = TextEditingController(); final UserModel user = UserModel( name: 'John Doe', profilePicture: 'assets/profile_picture.jpg', // Replace with the actual path or URL phoneNumber: '123-456-7890', homeAddress: '123 Main St, City ville', nextOfKin: 'Jane Doe', diagnosisDate: "Dec. 19", diagnosisHistory: "A quick preview of the diagnosis will be shown here. A quick preview of the diagnosis will be shown here. A quick preview of the diagnosis will be shown here. A quick preview of the diagnosis will be shown here. A quick preview of the diagnosis will be shown here.", aboutPatient: 'A quick preview of the diagnosis will be shown here. A quick preview of the diagnosis will be shown here. A quick preview of the diagnosis will be shown here. A quick preview of the diagnosis will be shown here. A quick preview of the diagnosis will be shown here.', ); List users = ["Hailey Johnson","Ryan Porter","Alan Cruz","Jiwon Nguyen","Patrick Lewis","Isabella Garcia","Yin Chiew","Rebecca Nicholson"]; TextEditingController searchController = TextEditingController(); void removeFocus() { FocusScope.of(screenKey.currentContext!).unfocus(); } @override void dispose() { titleController.dispose(); Get.delete(); super.dispose(); } }