|
|
|
@ -101,67 +101,141 @@ class _DynamicCodeState extends State<DynamicCode> {
|
|
|
|
|
Container(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
child: Row(
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
Column(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
Text(
|
|
|
|
|
'Doctor Id',
|
|
|
|
|
style: labelTextStyle(),
|
|
|
|
|
Column(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
Text(
|
|
|
|
|
'Requested Doctor',
|
|
|
|
|
style: labelTextStyle(),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(height:MediaQuery.of(context).size.height * .01,),
|
|
|
|
|
Text(
|
|
|
|
|
'Dynamic code',
|
|
|
|
|
style: labelTextStyle(),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(height:MediaQuery.of(context).size.height * .01,),
|
|
|
|
|
Text(
|
|
|
|
|
'Record Id',
|
|
|
|
|
style: labelTextStyle(),
|
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
SizedBox(height:MediaQuery.of(context).size.height * .01,),
|
|
|
|
|
Text(
|
|
|
|
|
'Dynamic code',
|
|
|
|
|
style: labelTextStyle(),
|
|
|
|
|
SizedBox(width:MediaQuery.of(context).size.width * .01,),
|
|
|
|
|
Column(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
Text(
|
|
|
|
|
':',
|
|
|
|
|
style: labelTextStyle(),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(height:MediaQuery.of(context).size.height * .01,),
|
|
|
|
|
Text(
|
|
|
|
|
':',
|
|
|
|
|
style: labelTextStyle(),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(height:MediaQuery.of(context).size.height * .01,),
|
|
|
|
|
Text(
|
|
|
|
|
':',
|
|
|
|
|
style: labelTextStyle(),
|
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
SizedBox(height:MediaQuery.of(context).size.height * .01,),
|
|
|
|
|
Text(
|
|
|
|
|
'Record Id',
|
|
|
|
|
style: labelTextStyle(),
|
|
|
|
|
SizedBox(width:MediaQuery.of(context).size.width * .01,),
|
|
|
|
|
Column(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
Text('Dr. '+originalList[index].requestedDoctor.toString().toUpperCase(),style: valuesTextStyle()),
|
|
|
|
|
SizedBox(height:MediaQuery.of(context).size.height * .01,),
|
|
|
|
|
Text(
|
|
|
|
|
originalList[index].dynamicCode,
|
|
|
|
|
style: valuesTextStyle(),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(height:MediaQuery.of(context).size.height * .01,),
|
|
|
|
|
Text(
|
|
|
|
|
originalList[index].recordId,
|
|
|
|
|
style: valuesTextStyle(),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
SizedBox(width:MediaQuery.of(context).size.width * .01,),
|
|
|
|
|
Column(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
SizedBox(height:MediaQuery.of(context).size.height * .01,),
|
|
|
|
|
Text('Problem Details',style: problemTextStyle(),),
|
|
|
|
|
SizedBox(height:MediaQuery.of(context).size.height * .01,),
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
Text(
|
|
|
|
|
':',
|
|
|
|
|
style: labelTextStyle(),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(height:MediaQuery.of(context).size.height * .01,),
|
|
|
|
|
Text(
|
|
|
|
|
':',
|
|
|
|
|
style: labelTextStyle(),
|
|
|
|
|
Column(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
Text(
|
|
|
|
|
'Problem',
|
|
|
|
|
style: labelTextStyle(),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(height:MediaQuery.of(context).size.height * .01,),
|
|
|
|
|
Text(
|
|
|
|
|
'Doctor Name',
|
|
|
|
|
style: labelTextStyle(),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(height:MediaQuery.of(context).size.height * .01,),
|
|
|
|
|
Text(
|
|
|
|
|
'Problem Category',
|
|
|
|
|
style: labelTextStyle(),
|
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
SizedBox(height:MediaQuery.of(context).size.height * .01,),
|
|
|
|
|
Text(
|
|
|
|
|
':',
|
|
|
|
|
style: labelTextStyle(),
|
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
SizedBox(width:MediaQuery.of(context).size.width * .01,),
|
|
|
|
|
Column(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
Text(originalList[index].doctorId.toString().toUpperCase(),style: valuesTextStyle()),
|
|
|
|
|
SizedBox(height:MediaQuery.of(context).size.height * .01,),
|
|
|
|
|
Text(
|
|
|
|
|
originalList[index].dynamicCode,
|
|
|
|
|
style: valuesTextStyle(),
|
|
|
|
|
SizedBox(width:MediaQuery.of(context).size.width * .01,),
|
|
|
|
|
Column(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
Text(
|
|
|
|
|
':',
|
|
|
|
|
style: labelTextStyle(),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(height:MediaQuery.of(context).size.height * .01,),
|
|
|
|
|
Text(
|
|
|
|
|
':',
|
|
|
|
|
style: labelTextStyle(),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(height:MediaQuery.of(context).size.height * .01,),
|
|
|
|
|
Text(
|
|
|
|
|
':',
|
|
|
|
|
style: labelTextStyle(),
|
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
SizedBox(height:MediaQuery.of(context).size.height * .01,),
|
|
|
|
|
Text(
|
|
|
|
|
originalList[index].recordId,
|
|
|
|
|
style: valuesTextStyle(),
|
|
|
|
|
SizedBox(width:MediaQuery.of(context).size.width * .01,),
|
|
|
|
|
Column(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
Text(originalList[index].problem.toString().toUpperCase(),style: valuesTextStyle()),
|
|
|
|
|
SizedBox(height:MediaQuery.of(context).size.height * .01,),
|
|
|
|
|
Text(
|
|
|
|
|
'Dr. '+originalList[index].problemDoctorName.toUpperCase(),
|
|
|
|
|
style: valuesTextStyle(),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(height:MediaQuery.of(context).size.height * .01,),
|
|
|
|
|
Text(
|
|
|
|
|
originalList[index].problemCategory.toUpperCase(),
|
|
|
|
|
style: valuesTextStyle(),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|