3.在dart文件中使用. 引入头文件,并复制这个方法. import 'package:flutter/services.dart' show rootBundle;. Future loadAsset() async {. var a = await rootBundle.
確定! 回上一頁