|
|
|
@ -22,9 +22,11 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Container(
|
|
|
|
Container(
|
|
|
|
height: height == 0 ? 150 : height,
|
|
|
|
height: height == 0 ? 150 : height,
|
|
|
|
width: MediaQuery.of(context).size.width,
|
|
|
|
width: MediaQuery.of(context).size.width * 0.9,
|
|
|
|
color: Colors.transparent,
|
|
|
|
color: Colors.transparent,
|
|
|
|
child: Center(
|
|
|
|
child: Center(
|
|
|
|
|
|
|
|
child: Container(
|
|
|
|
|
|
|
|
width: MediaQuery.of(context).size.width * 0.87,
|
|
|
|
child: Divider(
|
|
|
|
child: Divider(
|
|
|
|
color: Colors.grey,
|
|
|
|
color: Colors.grey,
|
|
|
|
height: 0.75,
|
|
|
|
height: 0.75,
|
|
|
|
@ -32,8 +34,9 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
Positioned(
|
|
|
|
Positioned(
|
|
|
|
top: 50,
|
|
|
|
top: 43,
|
|
|
|
left: 0,
|
|
|
|
left: 0,
|
|
|
|
child: InkWell(
|
|
|
|
child: InkWell(
|
|
|
|
onTap: () => changeCurrentTab(0),
|
|
|
|
onTap: () => changeCurrentTab(0),
|
|
|
|
@ -84,8 +87,11 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Positioned(
|
|
|
|
Positioned(
|
|
|
|
top: 50,
|
|
|
|
top: 43,
|
|
|
|
left: MediaQuery.of(context).size.width * 0.28,
|
|
|
|
left: MediaQuery
|
|
|
|
|
|
|
|
.of(context)
|
|
|
|
|
|
|
|
.size
|
|
|
|
|
|
|
|
.width * 0.25,
|
|
|
|
child: InkWell(
|
|
|
|
child: InkWell(
|
|
|
|
onTap: () => index >= 1 ? changeCurrentTab(1) : null,
|
|
|
|
onTap: () => index >= 1 ? changeCurrentTab(1) : null,
|
|
|
|
child: Column(
|
|
|
|
child: Column(
|
|
|
|
@ -137,8 +143,11 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Positioned(
|
|
|
|
Positioned(
|
|
|
|
top: 50,
|
|
|
|
top: 43,
|
|
|
|
left: MediaQuery.of(context).size.width * 0.52,
|
|
|
|
left: MediaQuery
|
|
|
|
|
|
|
|
.of(context)
|
|
|
|
|
|
|
|
.size
|
|
|
|
|
|
|
|
.width * 0.50,
|
|
|
|
child: InkWell(
|
|
|
|
child: InkWell(
|
|
|
|
onTap: () {
|
|
|
|
onTap: () {
|
|
|
|
if (index >= 3) changeCurrentTab(2);
|
|
|
|
if (index >= 3) changeCurrentTab(2);
|
|
|
|
@ -192,7 +201,7 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Positioned(
|
|
|
|
Positioned(
|
|
|
|
top: 50,
|
|
|
|
top: 43,
|
|
|
|
right: 0,
|
|
|
|
right: 0,
|
|
|
|
child: InkWell(
|
|
|
|
child: InkWell(
|
|
|
|
onTap: () => index >= 3 ? changeCurrentTab(4) : null,
|
|
|
|
onTap: () => index >= 3 ? changeCurrentTab(4) : null,
|
|
|
|
@ -226,14 +235,13 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
SizedBox(
|
|
|
|
SizedBox(
|
|
|
|
height: 5,
|
|
|
|
height: 5,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Center(
|
|
|
|
Column(
|
|
|
|
child: Column(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.end,
|
|
|
|
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
AppText(
|
|
|
|
AppText(
|
|
|
|
"Plan",
|
|
|
|
"Plan",
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
// textAlign: TextAlign.center,
|
|
|
|
fontSize: 12,
|
|
|
|
fontSize: 12,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
StatusLabel(
|
|
|
|
StatusLabel(
|
|
|
|
@ -242,7 +250,6 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
@ -264,7 +271,7 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Positioned(
|
|
|
|
Positioned(
|
|
|
|
top: 50,
|
|
|
|
top: 43,
|
|
|
|
right: 0,
|
|
|
|
right: 0,
|
|
|
|
child: InkWell(
|
|
|
|
child: InkWell(
|
|
|
|
onTap: () => changeCurrentTab(0),
|
|
|
|
onTap: () => changeCurrentTab(0),
|
|
|
|
@ -296,18 +303,29 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
)),
|
|
|
|
)),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
SizedBox(height: 5),
|
|
|
|
SizedBox(height: 5),
|
|
|
|
|
|
|
|
Column(
|
|
|
|
|
|
|
|
children: [
|
|
|
|
AppText(
|
|
|
|
AppText(
|
|
|
|
"شخصي",
|
|
|
|
"شخصي",
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontSize: 16,
|
|
|
|
fontSize: 16,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
StatusLabel(
|
|
|
|
|
|
|
|
selectedStepId: index,
|
|
|
|
|
|
|
|
stepId: 0,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Positioned(
|
|
|
|
Positioned(
|
|
|
|
top: 50,
|
|
|
|
top: 43,
|
|
|
|
right: MediaQuery.of(context).size.width * 0.28,
|
|
|
|
right: MediaQuery
|
|
|
|
|
|
|
|
.of(context)
|
|
|
|
|
|
|
|
.size
|
|
|
|
|
|
|
|
.width * 0.28,
|
|
|
|
child: InkWell(
|
|
|
|
child: InkWell(
|
|
|
|
onTap: () => index >= 2 ? changeCurrentTab(1) : null,
|
|
|
|
onTap: () => index >= 2 ? changeCurrentTab(1) : null,
|
|
|
|
child: Column(
|
|
|
|
child: Column(
|
|
|
|
@ -338,18 +356,29 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
)),
|
|
|
|
)),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
SizedBox(height: 5),
|
|
|
|
SizedBox(height: 5),
|
|
|
|
|
|
|
|
Column(
|
|
|
|
|
|
|
|
children: [
|
|
|
|
AppText(
|
|
|
|
AppText(
|
|
|
|
"هدف",
|
|
|
|
"هدف",
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontSize: 14,
|
|
|
|
fontSize: 14,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
StatusLabel(
|
|
|
|
|
|
|
|
selectedStepId: index,
|
|
|
|
|
|
|
|
stepId: 1,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Positioned(
|
|
|
|
Positioned(
|
|
|
|
top: 50,
|
|
|
|
top: 43,
|
|
|
|
right: MediaQuery.of(context).size.width * 0.52,
|
|
|
|
right: MediaQuery
|
|
|
|
|
|
|
|
.of(context)
|
|
|
|
|
|
|
|
.size
|
|
|
|
|
|
|
|
.width * 0.52,
|
|
|
|
child: InkWell(
|
|
|
|
child: InkWell(
|
|
|
|
onTap: () => index >= 3 ? changeCurrentTab(2) : null,
|
|
|
|
onTap: () => index >= 3 ? changeCurrentTab(2) : null,
|
|
|
|
child: Column(
|
|
|
|
child: Column(
|
|
|
|
@ -384,23 +413,31 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Padding(
|
|
|
|
Padding(
|
|
|
|
padding: const EdgeInsets.only(right: 2),
|
|
|
|
padding: const EdgeInsets.only(right: 2),
|
|
|
|
child: AppText(
|
|
|
|
child: Column(
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
|
|
|
AppText(
|
|
|
|
"تقدير",
|
|
|
|
"تقدير",
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontSize: 14,
|
|
|
|
fontSize: 14,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
StatusLabel(
|
|
|
|
|
|
|
|
selectedStepId: index,
|
|
|
|
|
|
|
|
stepId: 2,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Positioned(
|
|
|
|
Positioned(
|
|
|
|
top: 50,
|
|
|
|
top: 43,
|
|
|
|
left: 0,
|
|
|
|
left: 0,
|
|
|
|
child: InkWell(
|
|
|
|
child: InkWell(
|
|
|
|
onTap: () => index >= 3 ? changeCurrentTab(4) : null,
|
|
|
|
onTap: () => index >= 3 ? changeCurrentTab(4) : null,
|
|
|
|
child: Column(
|
|
|
|
child: Column(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.end,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Container(
|
|
|
|
Container(
|
|
|
|
width: 38,
|
|
|
|
width: 38,
|
|
|
|
@ -431,11 +468,19 @@ class StepsWidget extends StatelessWidget {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Container(
|
|
|
|
Container(
|
|
|
|
margin: EdgeInsets.only(right: index == 3 ? 15 : 0),
|
|
|
|
margin: EdgeInsets.only(right: index == 3 ? 15 : 0),
|
|
|
|
child: AppText(
|
|
|
|
child: Column(
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
|
|
|
AppText(
|
|
|
|
"خطة",
|
|
|
|
"خطة",
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
fontSize: 14,
|
|
|
|
fontSize: 14,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
StatusLabel(
|
|
|
|
|
|
|
|
selectedStepId: index,
|
|
|
|
|
|
|
|
stepId: 3,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|