fix DA-195

merge-requests/260/head
Elham Rababah 4 years ago
parent c11f195e72
commit 8360179050

@ -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,

Loading…
Cancel
Save