prescription refactoring

merge-requests/714/head
hussam al-habibeh 5 years ago
parent 7595629c8b
commit 13fb50f9be

@ -145,13 +145,10 @@ class _PrescriptionFormWidgetState extends State<PrescriptionFormWidget> {
dynamic box;
dynamic x;
List<dynamic> indicationList;
@override
void initState() {
super.initState();
selectedType = 1;
indicationList = List();
}
setSelectedType(int val) {
@ -348,9 +345,7 @@ class _PrescriptionFormWidgetState extends State<PrescriptionFormWidget> {
height: MediaQuery.of(context).size.height * 0.5,
child: ListView.builder(
padding: const EdgeInsets.only(top: 20),
scrollDirection: Axis.vertical,
// shrinkWrap: true,
itemCount: model.allMedicationList == null
? 0
: model.allMedicationList.length,

Loading…
Cancel
Save