fix DA-195

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

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

Loading…
Cancel
Save