Undefined name 'context'. Try correcting the name to one that is defined

后端 未结 0 550
你的背包
你的背包 2020-12-13 13:11

GestureDetector( onTap: () => Navigator.push( context, // here i get the red line MaterialPageRoute( builder: (_) => RestaurantScreen(restaurant: restaurant), ), ),

相关标签:
回答
  • 消灭零回复
提交回复
热议问题