flutter

flutter gesture空白区域不响应ontap解决方法

问题描述 Widget buildServerItem(BuildContext context, Server server){ return Column( children: <Widget>[ seperateLine, Container( padding: const EdgeInsets.only(top:15.0, left:20.0, right:20.0, bottom: 15.0), child: GestureDetector(![QQ截图20191030163401.png][1] onTap:() => print("say hello"), child: Row( children: <Widget>[ Expanded( child: Row( children: <Widget>[ Image.asset("assets/images/server.png"),//Icon(Icons.storage, color:Color(0xFF0...