|
|
|
@ -42,6 +42,7 @@ class _PatientSearchScreenState extends State<PatientSearchScreen> {
|
|
|
|
|
String itemText2 = '';
|
|
|
|
|
final GlobalKey<FormState> _formKey = GlobalKey<FormState>();
|
|
|
|
|
bool _autoValidate = false;
|
|
|
|
|
bool onlyArrived = false;
|
|
|
|
|
|
|
|
|
|
var _patientSearchFormValues = PatientModel(
|
|
|
|
|
FirstName: "0",
|
|
|
|
@ -502,10 +503,14 @@ class _PatientSearchScreenState extends State<PatientSearchScreen> {
|
|
|
|
|
height: 25,
|
|
|
|
|
width: 25,
|
|
|
|
|
child: Checkbox(
|
|
|
|
|
value: true,
|
|
|
|
|
value: onlyArrived,
|
|
|
|
|
checkColor: HexColor("#2A930A"),
|
|
|
|
|
activeColor: Colors.white,
|
|
|
|
|
onChanged: (bool newValue) {}),
|
|
|
|
|
onChanged: (bool newValue) {
|
|
|
|
|
setState(() {
|
|
|
|
|
onlyArrived = newValue;
|
|
|
|
|
});
|
|
|
|
|
}),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
width: 12,
|
|
|
|
|