|
|
|
@ -154,6 +154,62 @@ class _CreateDemoRequestPageState extends State<CreateDemoRequestPage> with Tick
|
|
|
|
setState(() {});
|
|
|
|
setState(() {});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
16.height,
|
|
|
|
|
|
|
|
Row(
|
|
|
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
|
|
|
Checkbox(
|
|
|
|
|
|
|
|
value: _demoFormModel.demoEaluationAcknowledge,
|
|
|
|
|
|
|
|
visualDensity: const VisualDensity(horizontal: -4, vertical: -4),
|
|
|
|
|
|
|
|
activeColor: AppColor.blueStatus(context),
|
|
|
|
|
|
|
|
materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,
|
|
|
|
|
|
|
|
onChanged: (value) {
|
|
|
|
|
|
|
|
setState(() {
|
|
|
|
|
|
|
|
_demoFormModel.demoEaluationAcknowledge = value!;
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}),
|
|
|
|
|
|
|
|
8.width,
|
|
|
|
|
|
|
|
Column(
|
|
|
|
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
|
|
|
"DEMO outcome evaluation form acknowledgement".bodyText(context).custom(color: context.isDark ? AppColor.primary50 : AppColor.neutral50),
|
|
|
|
|
|
|
|
4.height,
|
|
|
|
|
|
|
|
"I acknowledge at the end of the trial period I will complete and submit the Medical Technology Trial Outcome Form within two weeks."
|
|
|
|
|
|
|
|
.tinyFont(context)
|
|
|
|
|
|
|
|
.custom(color: context.isDark ? AppColor.primary50 : AppColor.neutral120),
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
).expanded,
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
16.height,
|
|
|
|
|
|
|
|
Row(
|
|
|
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
|
|
|
Checkbox(
|
|
|
|
|
|
|
|
value: _demoFormModel.acknowledgeNotEquipment,
|
|
|
|
|
|
|
|
visualDensity: const VisualDensity(horizontal: -4, vertical: -4),
|
|
|
|
|
|
|
|
activeColor: AppColor.blueStatus(context),
|
|
|
|
|
|
|
|
materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,
|
|
|
|
|
|
|
|
onChanged: (value) {
|
|
|
|
|
|
|
|
setState(() {
|
|
|
|
|
|
|
|
_demoFormModel.acknowledgeNotEquipment = value!;
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}),
|
|
|
|
|
|
|
|
8.width,
|
|
|
|
|
|
|
|
Column(
|
|
|
|
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
|
|
|
"Acknowledgement of not using the equipment".bodyText(context).custom(color: context.isDark ? AppColor.primary50 : AppColor.neutral50),
|
|
|
|
|
|
|
|
4.height,
|
|
|
|
|
|
|
|
"I acknowledge at the end of the trial period I will not use the DEMO medical equipment & I will not book any patient on the DEMO medical equipment."
|
|
|
|
|
|
|
|
.tinyFont(context)
|
|
|
|
|
|
|
|
.custom(color: context.isDark ? AppColor.primary50 : AppColor.neutral120),
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
).expanded,
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
).toShadowContainer(context, borderRadius: 20),
|
|
|
|
).toShadowContainer(context, borderRadius: 20),
|
|
|
|
).expanded,
|
|
|
|
).expanded,
|
|
|
|
@ -161,6 +217,7 @@ class _CreateDemoRequestPageState extends State<CreateDemoRequestPage> with Tick
|
|
|
|
context: context,
|
|
|
|
context: context,
|
|
|
|
child: AppFilledButton(
|
|
|
|
child: AppFilledButton(
|
|
|
|
buttonColor: AppColor.primary10,
|
|
|
|
buttonColor: AppColor.primary10,
|
|
|
|
|
|
|
|
disableButton: !_demoFormModel.demoEaluationAcknowledge || !_demoFormModel.acknowledgeNotEquipment,
|
|
|
|
label: context.translation.submitRequest,
|
|
|
|
label: context.translation.submitRequest,
|
|
|
|
onPressed: _submit,
|
|
|
|
onPressed: _submit,
|
|
|
|
// buttonColor: AppColor.primary10,
|
|
|
|
// buttonColor: AppColor.primary10,
|
|
|
|
|