|
|
|
|
@ -51,7 +51,7 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
|
child: Center(
|
|
|
|
|
child: Container(
|
|
|
|
|
width: MediaQuery.of(context).size.width *
|
|
|
|
|
(patientInfo.admissionNo == null &&
|
|
|
|
|
(patientInfo.admissionNo == null ||
|
|
|
|
|
patientInfo.admissionNo.isEmpty
|
|
|
|
|
? 0.9
|
|
|
|
|
: 0.85),
|
|
|
|
|
@ -114,8 +114,8 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
|
),
|
|
|
|
|
Positioned(
|
|
|
|
|
top: circleTop,
|
|
|
|
|
left: patientInfo.admissionNo == null &&
|
|
|
|
|
patientInfo.admissionNo.isEmpty
|
|
|
|
|
left: patientInfo.admissionNo == null ||
|
|
|
|
|
patientInfo.admissionNo.isEmpty
|
|
|
|
|
? MediaQuery.of(context).size.width * 0.25
|
|
|
|
|
: MediaQuery.of(context).size.width * 0.71,
|
|
|
|
|
child: InkWell(
|
|
|
|
|
@ -166,8 +166,8 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
if (patientInfo.admissionNo == null &&
|
|
|
|
|
patientInfo.admissionNo.isEmpty)
|
|
|
|
|
if (patientInfo.admissionNo == null ||
|
|
|
|
|
patientInfo.admissionNo.isEmpty)
|
|
|
|
|
Positioned(
|
|
|
|
|
top: circleTop,
|
|
|
|
|
left: MediaQuery.of(context).size.width * 0.47,
|
|
|
|
|
@ -221,8 +221,8 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
if (patientInfo.admissionNo == null &&
|
|
|
|
|
patientInfo.admissionNo.isEmpty)
|
|
|
|
|
if (patientInfo.admissionNo == null ||
|
|
|
|
|
patientInfo.admissionNo.isEmpty)
|
|
|
|
|
Positioned(
|
|
|
|
|
top: circleTop,
|
|
|
|
|
right: 0,
|
|
|
|
|
@ -288,8 +288,8 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
|
top: 30,
|
|
|
|
|
child: Center(
|
|
|
|
|
child: Container(
|
|
|
|
|
width: MediaQuery.of(context).size.width * (patientInfo.admissionNo == null &&
|
|
|
|
|
patientInfo.admissionNo.isEmpty?0.9:0.85),
|
|
|
|
|
width: MediaQuery.of(context).size.width * (patientInfo.admissionNo == null ||
|
|
|
|
|
patientInfo.admissionNo.isEmpty?0.9:0.85),
|
|
|
|
|
child: Divider(
|
|
|
|
|
color: Colors.grey,
|
|
|
|
|
height: 0.75,
|
|
|
|
|
@ -348,8 +348,8 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
|
),
|
|
|
|
|
Positioned(
|
|
|
|
|
top: circleTop,
|
|
|
|
|
right: MediaQuery.of(context).size.width * (patientInfo.admissionNo == null &&
|
|
|
|
|
patientInfo.admissionNo.isEmpty?0.25:0.71),
|
|
|
|
|
right: MediaQuery.of(context).size.width * (patientInfo.admissionNo == null ||
|
|
|
|
|
patientInfo.admissionNo.isEmpty?0.25:0.71),
|
|
|
|
|
child: InkWell(
|
|
|
|
|
onTap: () => index >= 2 ? changeCurrentTab(1) : null,
|
|
|
|
|
child: Column(
|
|
|
|
|
@ -395,8 +395,8 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
if (patientInfo.admissionNo == null &&
|
|
|
|
|
patientInfo.admissionNo.isEmpty)
|
|
|
|
|
if (patientInfo.admissionNo == null ||
|
|
|
|
|
patientInfo.admissionNo.isEmpty)
|
|
|
|
|
Positioned(
|
|
|
|
|
top: circleTop,
|
|
|
|
|
right: MediaQuery.of(context).size.width * 0.50,
|
|
|
|
|
@ -450,8 +450,8 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
if (patientInfo.admissionNo == null &&
|
|
|
|
|
patientInfo.admissionNo.isEmpty)
|
|
|
|
|
if (patientInfo.admissionNo == null ||
|
|
|
|
|
patientInfo.admissionNo.isEmpty)
|
|
|
|
|
Positioned(
|
|
|
|
|
top: circleTop,
|
|
|
|
|
left: 0,
|
|
|
|
|
|