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