简体   繁体   中英

flutter UI : How to create Tracking order UI?

I want to create Order tracking UI, But I am not usnderstanding that how to create this.

This is my UI,I want to create UI like this.

在此处输入图像描述

You can use Stepper widget. Example from doc


  int _index = 0;

  @override
  Widget build(BuildContext context) {
    return Stepper(
      currentStep: _index,
      onStepCancel: () {
      },
      onStepContinue: () {
      },
      onStepTapped: (int index) {
      },
      steps: <Step>[
        Step(
          title: const Text('Step 1 title'),
          content: Container(
              alignment: Alignment.centerLeft,
              child: const Text('Content for Step 1')),
        ),
        const Step(
          title: Text('Step 2 title'),
          content: Text('Content for Step 2'),
        ),
      ],
    );

Also check im_stepper

You can use this for show tracking detail of your order.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM