32 lines
1.5 KiB
Dart
32 lines
1.5 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:get/get.dart';
|
|
|
|
import '../../ftc_mobile_app.dart';
|
|
|
|
class SelectNoteScreenController extends GetxController{
|
|
final GlobalKey<ScaffoldState> screenKey = GlobalKey<ScaffoldState>();
|
|
|
|
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<String> 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() {
|
|
Get.delete<SelectNoteScreenController>();
|
|
super.dispose();
|
|
}
|
|
} |