|
|
|
|
@ -148,35 +148,33 @@ class _EditDiagnosisState extends State<EditDiagnosis> {
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Positioned(
|
|
|
|
|
child: Material(
|
|
|
|
|
elevation: 4.0, // Optional: for shadow effect
|
|
|
|
|
child: ConstrainedBox(
|
|
|
|
|
constraints: BoxConstraints(minHeight: 0, maxHeight: 300),
|
|
|
|
|
child: ListView.builder(
|
|
|
|
|
shrinkWrap: true,
|
|
|
|
|
itemCount: model.icdVersionList.length,
|
|
|
|
|
itemBuilder: (context, index) {
|
|
|
|
|
return ListTile(
|
|
|
|
|
title: InkWell(
|
|
|
|
|
child: AppText(model.icdVersionList[index]),
|
|
|
|
|
onTap: () {
|
|
|
|
|
setState(
|
|
|
|
|
() {
|
|
|
|
|
selectedDiagnosis =
|
|
|
|
|
model.findTheDiagnosisItem(
|
|
|
|
|
model.icdVersionList[index]);
|
|
|
|
|
filteredSearchController.text =
|
|
|
|
|
model.icdVersionList[index];
|
|
|
|
|
model.searchDiagnosisList.clear();
|
|
|
|
|
model.icdVersionList.clear();
|
|
|
|
|
},
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
Material(
|
|
|
|
|
elevation: 4.0, // Optional: for shadow effect
|
|
|
|
|
child: ConstrainedBox(
|
|
|
|
|
constraints: BoxConstraints(minHeight: 0, maxHeight: 300),
|
|
|
|
|
child: ListView.builder(
|
|
|
|
|
shrinkWrap: true,
|
|
|
|
|
itemCount: model.icdVersionList.length,
|
|
|
|
|
itemBuilder: (context, index) {
|
|
|
|
|
return ListTile(
|
|
|
|
|
title: InkWell(
|
|
|
|
|
child: AppText(model.icdVersionList[index]),
|
|
|
|
|
onTap: () {
|
|
|
|
|
setState(
|
|
|
|
|
() {
|
|
|
|
|
selectedDiagnosis =
|
|
|
|
|
model.findTheDiagnosisItem(
|
|
|
|
|
model.icdVersionList[index]);
|
|
|
|
|
filteredSearchController.text =
|
|
|
|
|
model.icdVersionList[index];
|
|
|
|
|
model.searchDiagnosisList.clear();
|
|
|
|
|
model.icdVersionList.clear();
|
|
|
|
|
},
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
|