|
@@ -1,10 +1,7 @@
|
|
|
import 'package:dotted_line/dotted_line.dart';
|
|
|
import 'package:flutter/material.dart';
|
|
|
import 'package:date_format/date_format.dart';
|
|
|
-import 'package:another_stepper/another_stepper.dart';
|
|
|
-import 'package:easy_stepper/easy_stepper.dart';
|
|
|
import 'package:timeline_tile/timeline_tile.dart';
|
|
|
-// import 'package:timelines/timelines.dart';
|
|
|
|
|
|
var date = formatDate(DateTime.now(), [HH, ':', nn]);
|
|
|
|
|
@@ -279,7 +276,6 @@ class DetailPage extends StatelessWidget {
|
|
|
style: TextStyle(fontWeight: FontWeight.w400, fontSize: 14),
|
|
|
),
|
|
|
),
|
|
|
- //=======timelines tile=======
|
|
|
Container(
|
|
|
margin: EdgeInsets.all(10),
|
|
|
child: Column(
|
|
@@ -329,175 +325,6 @@ class DetailPage extends StatelessWidget {
|
|
|
],
|
|
|
),
|
|
|
),
|
|
|
- //=======timelines tile=======
|
|
|
- //=======easy stepper=======
|
|
|
- // EasyStepper(
|
|
|
- // activeStep: 1,
|
|
|
- // direction: Axis.vertical,
|
|
|
- // alignment: Alignment.centerLeft,
|
|
|
- // steps: [
|
|
|
- // EasyStep(icon: Icon(Icons.abc), lineText: 'def'),
|
|
|
- // EasyStep(icon: Icon(Icons.ac_unit)),
|
|
|
- // EasyStep(icon: Icon(Icons.access_alarm)),
|
|
|
- // ],
|
|
|
- // ),
|
|
|
- //=======easy stepper=======
|
|
|
- //=======another stepper======
|
|
|
- // Padding(
|
|
|
- // padding: const EdgeInsets.all(10),
|
|
|
- // child: AnotherStepper(
|
|
|
- // stepperDirection: Axis.vertical,
|
|
|
- // verticalGap: 10,
|
|
|
- // stepperList: [
|
|
|
- // StepperData(
|
|
|
- // subtitle: StepperText('Requested',
|
|
|
- // textStyle: TextStyle(
|
|
|
- // color: Color(0xff292D32), fontSize: 14)),
|
|
|
- // iconWidget: Container(
|
|
|
- // decoration: BoxDecoration(
|
|
|
- // color: Color(0xffE8E8E8),
|
|
|
- // borderRadius: BorderRadius.circular(30)),
|
|
|
- // )),
|
|
|
- // StepperData(
|
|
|
- // subtitle: StepperText('On Process',
|
|
|
- // textStyle: TextStyle(
|
|
|
- // color: Color(0xff292D32), fontSize: 14)),
|
|
|
- // iconWidget: Container(
|
|
|
- // decoration: BoxDecoration(
|
|
|
- // color: Color(0xffE8E8E8),
|
|
|
- // borderRadius: BorderRadius.circular(30)),
|
|
|
- // )),
|
|
|
- // StepperData(
|
|
|
- // subtitle: StepperText('Finish',
|
|
|
- // textStyle: TextStyle(
|
|
|
- // color: Color(0xff292D32), fontSize: 14)),
|
|
|
- // iconWidget: Container(
|
|
|
- // decoration: BoxDecoration(
|
|
|
- // color: Color(0xff078C84),
|
|
|
- // borderRadius: BorderRadius.circular(30)),
|
|
|
- // )),
|
|
|
- // ],
|
|
|
- // ),
|
|
|
- // ),
|
|
|
- //=======another stepper======
|
|
|
- //=======stepper=======
|
|
|
- // Stepper(
|
|
|
- // controlsBuilder: (context, details) {
|
|
|
- // return Container();
|
|
|
- // },
|
|
|
- // steps: [
|
|
|
- // Step(
|
|
|
- // content: Container(),
|
|
|
- // title: Row(
|
|
|
- // children: [
|
|
|
- // Text('Requested'),
|
|
|
- // Spacer(),
|
|
|
- // Text('31 Jan 12:43')
|
|
|
- // ],
|
|
|
- // )),
|
|
|
- // Step(
|
|
|
- // content: Container(),
|
|
|
- // title: Row(
|
|
|
- // children: [
|
|
|
- // Text('On Process'),
|
|
|
- // Spacer(),
|
|
|
- // Text('31 Jan 14:43')
|
|
|
- // ],
|
|
|
- // )),
|
|
|
- // Step(
|
|
|
- // content: Container(),
|
|
|
- // title: Row(
|
|
|
- // children: [
|
|
|
- // Text('Finish'),
|
|
|
- // Spacer(),
|
|
|
- // Text('31 Jan 15:43')
|
|
|
- // ],
|
|
|
- // )),
|
|
|
- // ]),
|
|
|
- //=======stepper=======
|
|
|
- //=======manual========
|
|
|
- // Container(
|
|
|
- // height: 10,
|
|
|
- // ),
|
|
|
- // Container(
|
|
|
- // padding: EdgeInsets.symmetric(horizontal: 10),
|
|
|
- // child: Row(
|
|
|
- // children: [
|
|
|
- // Icon(
|
|
|
- // Icons.circle,
|
|
|
- // color: Color(0xffE8E8E8),
|
|
|
- // ),
|
|
|
- // Container(
|
|
|
- // width: 10,
|
|
|
- // ),
|
|
|
- // Text(
|
|
|
- // 'Requested',
|
|
|
- // style: TextStyle(color: Color(0xff292D32), fontSize: 14),
|
|
|
- // ),
|
|
|
- // Spacer(),
|
|
|
- // Text(
|
|
|
- // '31 Jan 12:43',
|
|
|
- // style: TextStyle(color: Color(0xff292D32), fontSize: 14),
|
|
|
- // )
|
|
|
- // ],
|
|
|
- // ),
|
|
|
- // ),
|
|
|
- // Container(
|
|
|
- // height: 5,
|
|
|
- // ),
|
|
|
- // Container(
|
|
|
- // padding: EdgeInsets.symmetric(horizontal: 10),
|
|
|
- // child: Row(
|
|
|
- // children: [
|
|
|
- // Icon(
|
|
|
- // Icons.circle,
|
|
|
- // color: Color(0xffE8E8E8),
|
|
|
- // ),
|
|
|
- // Container(
|
|
|
- // width: 10,
|
|
|
- // ),
|
|
|
- // Text(
|
|
|
- // 'On Process',
|
|
|
- // style: TextStyle(color: Color(0xff292D32), fontSize: 14),
|
|
|
- // ),
|
|
|
- // Spacer(),
|
|
|
- // Text(
|
|
|
- // '31 Jan 14:43',
|
|
|
- // style: TextStyle(color: Color(0xff292D32), fontSize: 14),
|
|
|
- // )
|
|
|
- // ],
|
|
|
- // ),
|
|
|
- // ),
|
|
|
- // Container(
|
|
|
- // height: 5,
|
|
|
- // ),
|
|
|
- // Container(
|
|
|
- // padding: EdgeInsets.symmetric(horizontal: 10),
|
|
|
- // child: Row(
|
|
|
- // children: [
|
|
|
- // Icon(
|
|
|
- // Icons.circle,
|
|
|
- // color: Color(0xff078C84),
|
|
|
- // ),
|
|
|
- // Container(
|
|
|
- // width: 10,
|
|
|
- // ),
|
|
|
- // Text(
|
|
|
- // 'Finish',
|
|
|
- // style: TextStyle(color: Color(0xff292D32), fontSize: 14),
|
|
|
- // ),
|
|
|
- // Spacer(),
|
|
|
- // Text(
|
|
|
- // '31 Jan 15:43',
|
|
|
- // style: TextStyle(color: Color(0xff292D32), fontSize: 14),
|
|
|
- // )
|
|
|
- // ],
|
|
|
- // ),
|
|
|
- // ),
|
|
|
- // Container(
|
|
|
- // height: 5,
|
|
|
- // ),
|
|
|
- //=======manual========
|
|
|
Container(
|
|
|
alignment: Alignment.centerRight,
|
|
|
padding: EdgeInsets.symmetric(horizontal: 10),
|