小编Vas*_*edi的帖子

警告:“RaishedButton”已弃用,不应使用。使用 ElevatedButton 代替

我不久前创建了这个名为“PIC FOLIO”的应用程序,这个应用程序向用户提供图像,就像图片库网站 Pinterest 一样。您可能会看到下面代码的链接,因为我添加了超链接。该代码运行完美,但几天前我重新安装了 android studio,在我尝试运行该应用程序后,它向我显示一条警告“RaishedButton 已弃用,不应使用。请改用 ElevatedButton”。这里有什么问题?每当我创建具有多个屏幕的应用程序时,我总是使用“凸起”按钮,但这一次我收到了警告?

代码链接

android-studio flutter flutter-layout flutter-animation

4
推荐指数
1
解决办法
3万
查看次数