货主端版 Flutter App
-
json 插件 FlutterJsonBeanFactory 是用来生成dart的json实体类和根据配置生成factory的idea全家桶的插件. 【https://www.jianshu.com/p/14cbcbaa74b7?tdsourcetag=s_pcqq_aiomsg】
-
fluro 路由
-
shared_preferences 保存 token 类似小量常用的的数据工具
-
fluttertoast toast
-
rxdart 通知类
-
crypto 加密的,md5加密用到
- 列如 你需要导入 utils 。这样导入 ,最佳、 import 'package:cargo_flutter_app/utils/toast_utils.dart';
这样的接口 ApiManger.instance.sendRequest("user/newConvenientLogin", "post", param);
在 文件 user_api 里面。 写个 UserApi 类。调用 UserApi.newConvenientLogin