InkWell(
                  onTap: () { //在onTap下写底部弹框
                    showModalBottomSheet(
                        context: context,
                        isDismissible: true,
                        isScrollControlled: false,
                        shape: RoundedRectangleBorder(borderRadius: BorderRadius.only(topLeft: Radius.circular(15), topRight: Radius.circular(15))),
                        builder: (BuildContext context) {
                          return ListView.builder(
                            itemBuilder: (context, index) {
                              return ListTile(
                                title: Text('老孟$index'),
                              );
                            },
                            itemExtent: 50,
                            itemCount: 50,
                          );
                        });


                  },
                  child: Text("添加标签"),
                ),

 

相关文章:

  • 2022-12-23
  • 2021-05-15
  • 2022-12-23
  • 2021-04-26
  • 2021-08-12
  • 2022-01-15
  • 2021-10-18
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-04-07
  • 2022-12-23
  • 2021-07-07
  • 2021-06-10
  • 2021-12-20
  • 2022-12-23
相关资源
相似解决方案