如何使用:
添加依赖库:
flutter_easyloading: ^3.0.3
导入:
import 'package:flutter_easyloading/flutter_easyloading.dart';
EasyLoading.show(status: 'loading...');
EasyLoading.showProgress(0.3, status: 'downloading...');
EasyLoading.showSuccess('Great Success!');
EasyLoading.showError('Failed with Error');
EasyLoading.showInfo('Useful Information.');
EasyLoading.dismiss();