摘要: 有些时候,我们需要保存一些数据在app的目录中。这个时候我们就需要使用path_provider 获取文件路径。 安装 pubspec.yaml dependencies: path_provider: ^latest_version 使用 getTemporaryDirectory 临时目录,适用 阅读全文
posted @ 2022-03-10 17:22 菠萝橙子丶 阅读(3079) 评论(1) 推荐(0) 编辑