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("添加标签"), ),