单击左侧的项目后,我想在屏幕右侧显示详细信息,颤动

时间:2021-06-14 14:09:54

标签: flutter web-applications

[我想做这样的事情][1]

我想在单击左侧的 Web 应用程序的项目后在屏幕右侧显示详细信息 [1]:https://i.stack.imgur.com/6P4Oq.png

body:child:Row[ 
TabBarView(
            physics: NeverScrollableScrollPhysics(),
                        children: [
                          OngoingOrder(),//listview inside each view
                          CompletedOrder(),
                          CancelledOrder(),
                        ]),
                  ),
                   ShowOrder(
                        //rightside of page
                      )
                ]),
              ),

1 个答案:

答案 0 :(得分:0)

请发布您现有的代码以了解 你执行了什么逻辑。 如果您正在使用任何状态管理工具,请同时提及。

pseudocode: (flutter basic without any state management)

1)create a null Object for the right side 
2)perform a null check to show the default demo message "Select An Order to see"
3)when user select an Order, populate the created object with the selected data and call setState((){})