|
|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
import 'package:doctor_app_flutter/core/viewModel/project_view_model.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/Text.dart';
|
|
|
|
|
import 'package:doctor_app_flutter/widgets/shared/app_texts_widget.dart';
|
|
|
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:provider/provider.dart';
|
|
|
|
|
@ -70,10 +71,11 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: index == 0 ? 5 : 10,
|
|
|
|
|
),
|
|
|
|
|
Texts('SUBJECTIVE',
|
|
|
|
|
variant: "bodyText",
|
|
|
|
|
bold: true,
|
|
|
|
|
color: Colors.black),
|
|
|
|
|
AppText(
|
|
|
|
|
"SUBJECTIVE",
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
fontSize: 14,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
@ -82,7 +84,7 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
|
top: index == 1 ? 15 : 30,
|
|
|
|
|
left: MediaQuery.of(context).size.width * 0.28,
|
|
|
|
|
child: InkWell(
|
|
|
|
|
onTap: () => index >= 2 ? changeCurrentTab(1) : null,
|
|
|
|
|
onTap: () => index >= 1 ? changeCurrentTab(1) : null,
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
@ -119,10 +121,11 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: index == 1 ? 5 : 10,
|
|
|
|
|
),
|
|
|
|
|
Texts('OBJECTIVE',
|
|
|
|
|
variant: "bodyText",
|
|
|
|
|
bold: true,
|
|
|
|
|
color: Colors.black),
|
|
|
|
|
AppText(
|
|
|
|
|
"OBJECTIVE",
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
fontSize: 14,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
@ -131,7 +134,10 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
|
top: index == 2 ? 15 : 30,
|
|
|
|
|
left: MediaQuery.of(context).size.width * 0.52,
|
|
|
|
|
child: InkWell(
|
|
|
|
|
onTap: () => index >= 2 ? changeCurrentTab(3) : null,
|
|
|
|
|
onTap: () {
|
|
|
|
|
if(index >= 3)
|
|
|
|
|
changeCurrentTab(2);
|
|
|
|
|
},
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
@ -168,10 +174,11 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: index == 2 ? 5 : 10,
|
|
|
|
|
),
|
|
|
|
|
Texts('ASSESSMENT',
|
|
|
|
|
variant: "bodyText",
|
|
|
|
|
bold: true,
|
|
|
|
|
color: Colors.black),
|
|
|
|
|
AppText(
|
|
|
|
|
"ASSESSMENT",
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
fontSize: 14,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
@ -212,15 +219,17 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
|
? Colors.white
|
|
|
|
|
: Colors.grey,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: index == 3 ? 5 : 10,
|
|
|
|
|
),
|
|
|
|
|
Texts('PLAN',
|
|
|
|
|
variant: "bodyText",
|
|
|
|
|
bold: true,
|
|
|
|
|
color: Colors.black),
|
|
|
|
|
AppText(
|
|
|
|
|
"PLAN",
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
|
fontSize: 14,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
@ -274,18 +283,19 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
|
color: index == 0
|
|
|
|
|
? Colors.black
|
|
|
|
|
: index > 0
|
|
|
|
|
? Colors.white
|
|
|
|
|
: Colors.grey,
|
|
|
|
|
? Colors.white
|
|
|
|
|
: Colors.grey,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: index == 0 ? 5 : 10,
|
|
|
|
|
),
|
|
|
|
|
Texts('SUBJECTIVE',
|
|
|
|
|
variant: "bodyText",
|
|
|
|
|
bold: true,
|
|
|
|
|
color: Colors.black),
|
|
|
|
|
AppText(
|
|
|
|
|
"SUBJECTIVE",
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
fontSize: 16,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
@ -331,10 +341,11 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: index == 1 ? 5 : 10,
|
|
|
|
|
),
|
|
|
|
|
Texts('OBJECTIVE',
|
|
|
|
|
variant: "bodyText",
|
|
|
|
|
bold: true,
|
|
|
|
|
color: Colors.black),
|
|
|
|
|
AppText(
|
|
|
|
|
"OBJECTIVE",
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
fontSize: 14,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
@ -343,7 +354,7 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
|
top: index == 2 ? 15 : 30,
|
|
|
|
|
right: MediaQuery.of(context).size.width * 0.52,
|
|
|
|
|
child: InkWell(
|
|
|
|
|
onTap: () => index >= 2 ? changeCurrentTab(3) : null,
|
|
|
|
|
onTap: () => index >= 3 ? changeCurrentTab(2) : null,
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
@ -383,10 +394,11 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
|
Padding(
|
|
|
|
|
|
|
|
|
|
padding: const EdgeInsets.only(right: 2),
|
|
|
|
|
child: Texts('ASSESSMENT',
|
|
|
|
|
variant: "bodyText",
|
|
|
|
|
bold: true,
|
|
|
|
|
color: Colors.black),
|
|
|
|
|
child: AppText(
|
|
|
|
|
"ASSESSMENT",
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
fontSize: 14,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
@ -433,10 +445,11 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: index == 3 ? 5 : 10,
|
|
|
|
|
),
|
|
|
|
|
Texts('PLAN',
|
|
|
|
|
variant: "bodyText",
|
|
|
|
|
bold: true,
|
|
|
|
|
color: Colors.black),
|
|
|
|
|
AppText(
|
|
|
|
|
"PLAN",
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
fontSize: 14,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
|