Flutter依赖的packages搜索地址:https://pub.dartlang.org/flutter
Flutter常用的packages:
-
dio(Http请求库)
dio是一个强大的Dart Http请求库,支持Restful API、FormData、拦截器、请求取消、Cookie管理、文件上传/下载、超时等... -
cupertino_icons(图标库)
Flutter的Cupertino组件中默认的图标库。 -
json_serializable(json序列化库)
操作json。 -
json_serializable(json注解库)
定义json_serializable的注解。 - build_runner