拜托,我正在尝试使用表中的selectmax(id)实现一个简单的查询,我想读取该id,我尝试将Future>转换为int但它不起作用,它不起作用接受类型转换我应该怎么做才能从中读取数据onPressed:()async{finaldao=Provider.of(context);finalclient=Client(nom:prenomController.text,prenom:nameController.text,ddn:ddnController.text,ville:adresseController.text,ncd:numeroController.text,);int