首先需要在目录在创建assets文件夹,用于存放资源文件。(loading.gif). 2.修改pubspec.yaml assets: - assets/loading.gif import 'package:flutter/material.dart'; ...
確定! 回上一頁