athrainsky 1 năm trước cách đây
mục cha
commit
daa26c2f0d
3 tập tin đã thay đổi với 1 bổ sung250 xóa
  1. 0 173
      lib/detail.dart
  2. 0 72
      pubspec.lock
  3. 1 5
      pubspec.yaml

+ 0 - 173
lib/detail.dart

@@ -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),

+ 0 - 72
pubspec.lock

@@ -1,22 +1,6 @@
 # Generated by pub
 # See https://dart.dev/tools/pub/glossary#lockfile
 packages:
-  another_stepper:
-    dependency: "direct main"
-    description:
-      name: another_stepper
-      sha256: "04f5166c57f2412c612b17101e8a3d819f210c53f6bc1b5be541dc4c6987c681"
-      url: "https://pub.dev"
-    source: hosted
-    version: "1.2.2"
-  archive:
-    dependency: transitive
-    description:
-      name: archive
-      sha256: d6347d54a2d8028e0437e3c099f66fdb8ae02c4720c1e7534c9f24c10351f85d
-      url: "https://pub.dev"
-    source: hosted
-    version: "3.3.6"
   async:
     dependency: transitive
     description:
@@ -57,22 +41,6 @@ packages:
       url: "https://pub.dev"
     source: hosted
     version: "1.17.0"
-  convert:
-    dependency: transitive
-    description:
-      name: convert
-      sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592"
-      url: "https://pub.dev"
-    source: hosted
-    version: "3.1.1"
-  crypto:
-    dependency: transitive
-    description:
-      name: crypto
-      sha256: aa274aa7774f8964e4f4f38cc994db7b6158dd36e9187aaceaddc994b35c6c67
-      url: "https://pub.dev"
-    source: hosted
-    version: "3.0.2"
   date_format:
     dependency: "direct main"
     description:
@@ -89,14 +57,6 @@ packages:
       url: "https://pub.dev"
     source: hosted
     version: "3.1.0"
-  easy_stepper:
-    dependency: "direct main"
-    description:
-      name: easy_stepper
-      sha256: c08c1a1a3346beb093aa4382d2942516635b1290d4117974577329f966b69375
-      url: "https://pub.dev"
-    source: hosted
-    version: "0.3.2"
   english_words:
     dependency: "direct main"
     description:
@@ -152,14 +112,6 @@ packages:
       url: "https://pub.dev"
     source: hosted
     version: "6.0.6"
-  im_stepper:
-    dependency: "direct main"
-    description:
-      name: im_stepper
-      sha256: "84ca411f7c4666cb8762a6dd6eec0353c96c67f674124614263875d0570ca634"
-      url: "https://pub.dev"
-    source: hosted
-    version: "1.0.1+1"
   js:
     dependency: transitive
     description:
@@ -184,14 +136,6 @@ packages:
       url: "https://pub.dev"
     source: hosted
     version: "1.1.1"
-  lottie:
-    dependency: transitive
-    description:
-      name: lottie
-      sha256: "49bbc544e44bf0c734ccda29b182e3516a12f5021ea98b206cf31a168b0f97da"
-      url: "https://pub.dev"
-    source: hosted
-    version: "2.2.0"
   matcher:
     dependency: transitive
     description:
@@ -232,14 +176,6 @@ packages:
       url: "https://pub.dev"
     source: hosted
     version: "1.8.2"
-  pointycastle:
-    dependency: transitive
-    description:
-      name: pointycastle
-      sha256: db7306cf0249f838d1a24af52b5a5887c5bf7f31d8bb4e827d071dc0939ad346
-      url: "https://pub.dev"
-    source: hosted
-    version: "3.6.2"
   provider:
     dependency: "direct main"
     description:
@@ -325,14 +261,6 @@ packages:
       url: "https://pub.dev"
     source: hosted
     version: "0.1.0"
-  typed_data:
-    dependency: transitive
-    description:
-      name: typed_data
-      sha256: "26f87ade979c47a150c9eaab93ccd2bebe70a27dc0b4b29517f2904f04eb11a5"
-      url: "https://pub.dev"
-    source: hosted
-    version: "1.3.1"
   vector_math:
     dependency: transitive
     description:

+ 1 - 5
pubspec.yaml

@@ -17,12 +17,8 @@ dependencies:
   flutter_layout_grid: ^1.0.3
   date_format: ^2.0.7
   dotted_line: ^3.1.0
-  another_stepper: ^1.2.2
-  easy_stepper: ^0.3.2
-  im_stepper: ^1.0.1+1
   timelines: ^0.1.0
-  timeline_tile: ^2.0.0
-  # flutter_timeline: latest
+  timeline_tile: ^2.0.0  
 
 dev_dependencies:
   flutter_test: