evaluation form added-1.

design_3.0_demo_module
Sikander Saleem 19 hours ago
parent cea77ff7f7
commit 4e56746e88

@ -116,6 +116,8 @@ class _CreateDemoRequestPageState extends State<CreateDemoRequestPage> with Tick
16.height,
...vendorDetailsSection(),
16.height,
"Attachments".bodyText(context).custom(color: AppColor.black10),
8.height,
SingleItemDropDownMenu<Lookup, DemoDocumentLookupProvider>(
context: context,
height: 56.toScreenHeight,

@ -256,23 +256,23 @@ class _EvaluationFormPageState extends State<EvaluationFormPage> {
formData['patientComfort'] = value;
},
),
8.height,
SingleItemDropDownMenu<Lookup, NullableLoadingProvider>(
context: context,
title: "Patient Comfort",
backgroundColor: AppColor.fieldBgColor(context),
showShadow: false,
showAsBottomSheet: true,
initialValue: formData['patientComfort'],
staticData: rating,
validator: (value) {
if (value == null) return "Mandatory";
return null;
},
onSelect: (value) {
formData['patientComfort'] = value;
},
),
// 8.height,
// SingleItemDropDownMenu<Lookup, NullableLoadingProvider>(
// context: context,
// title: "Patient Comfort",
// backgroundColor: AppColor.fieldBgColor(context),
// showShadow: false,
// showAsBottomSheet: true,
// initialValue: formData['patientComfort'],
// staticData: rating,
// validator: (value) {
// if (value == null) return "Mandatory";
// return null;
// },
// onSelect: (value) {
// formData['patientComfort'] = value;
// },
// ),
// 8.height,
// SingleItemDropDownMenu<Lookup, NullableLoadingProvider>(
// context: context,

Loading…
Cancel
Save