Flutter-Notes-|-我用到的一些插件整理

0次阅读

共计 2538 个字符,预计需要花费 7 分钟才能阅读完成。

追寻鸡老大,点击积攒~

前言

一个我的项目的开始和完结,总会遇到很多意料之外的货色。

大神和菜鸟的区别,个人感觉更多的是大神破费了很多私下工夫去理解每个问题的基本是什么,而我这小菜鸟,仅仅网上浪一圈,Fix 了,OK 了,Commit 没事了。

鸡老大说过,不要停留问题外表,深究其根本原因。

时隔几年,我仍旧停留外表,徘徊之余望着鸡老大的背影,瞎想。

好了,闲篇儿不扯了,点滴积攒吧。

回顾前几周刚入坑 Flutter,真的是贼好受,最近慢慢处于稳固环境了,正好总结下期间应用的感觉不错的插件。

插件大汇总

好的工具,总会让人事倍功半,一起来看~

每个人认知不一样,有可能我感觉不错的,你感觉不咋滴,所以这里针对封装就不举荐了,自行搜寻~

这里举荐多去官网提供的插件库中逛逛,总有不一样的发现:

  • https://pub.flutter-io.cn/flu…

1、dio:网络申请神器

插件地址:

  • https://pub.flutter-io.cn/pac…

GitHub 地址:

  • https://github.com/flutterchi…

2、fluro:路由治理(简略可了解为 Android 的跳转页面)

插件地址:

  • https://pub.flutter-io.cn/pac…

GitHub 地址:

  • https://github.com/theyakka/f…

3、shared_preferences:本地长久化存储(存储简略信息)

插件地址:

  • https://pub.dev/packages/shar…

GitHub 地址:

  • https://github.com/flutter/pl…

4、Permission_handler:权限治理

在 Android 最后实现动静权限治理时,真的头疼,不过当初 Flutter 也有成熟的动静权限治理,贼不便。

插件地址:

  • https://pub.flutter-io.cn/pac…

GitHub 地址:

  • https://github.com/Baseflow/f…

5、device_info:获取设施信息

插件地址:

  • https://pub.flutter-io.cn/pac…

GitHub 地址:

  • https://github.com/flutter/pl…

6、package_info:版本相干信息获取

插件地址:

  • https://pub.dev/packages/pack…

GitHub 地址:

  • https://github.com/flutter/pl…

7、url_launcher:跳转第三方 App

插件地址:

  • https://pub.dev/packages/url_…

GitHub 地址:

  • https://github.com/flutter/pl…

8、event_bus:事件总线

怎么说呢,你能够通过订阅指定的某个事件,在特定的场合执行某个事件。

插件地址:

  • https://pub.dev/packages/even…

GitHub 地址:

  • https://github.com/marcojakob…

9、crypto:加解密

插件地址:

  • https://pub.flutter-io.cn/pac…

GitHub 地址:

  • https://github.com/dart-lang/…

10、Fluwx:微信领取、分享

这个插件提供独自分享版本,按需应用即可。

GitHub 都有详细描述,认真查看,上手难度为 0。

插件地址:

  • https://s0pub0dev.icopy.site/…

GitHub 地址:

  • https://github.com/OpenFlutte…

11、share:原生分享

插件地址:

  • https://pub.flutter-io.cn/pac…

GitHub 地址:

  • https://github.com/flutter/pl…

12、flutter_easyloading:加载框

插件地址:

  • https://pub.flutter-io.cn/pac…

GitHub 地址:

  • https://github.com/huangjiank…

13、flutter_html:加载 Html

插件地址:

  • https://pub.dev/packages/flut…

GitHub 地址:

  • https://github.com/Sub6Resour…

14、webview_flutter:加载富文本

插件地址:

  • https://pub.flutter-io.cn/pac…

GitHub 地址:

  • https://github.com/flutter/pl…

15、transparent_image:通明图像

插件地址:

  • https://pub.flutter-io.cn/pac…

GitHub 地址:

  • https://github.com/brianegan/…

16、mobpush_plugin:推送

插件地址:

  • https://pub.dev/packages/mobp…

GitHub 地址:

  • https://www.mob.com/mobServic…

17、flutter_xupdate:Android 的版本更新

插件地址:

  • https://pub.flutter-io.cn/pac…

GitHub 地址:

  • https://github.com/xuexiangjy…

18、openinstall_flutter_plugin:利用拉活,携带参数装置(免费)

举个场景:

  • 比方你分享好友,好友装置之后,主动成为你的师傅,能够采纳此计划,不过须要割肉。

插件地址:

  • https://pub.flutter-io.cn/pac…

官网地址:

  • https://www.openinstall.io/

19、qr_flutter:二维码生成

插件地址:

  • https://pub.dev/packages/qr_f…

20、image_gallery_saver:保留图片到相册 / 图库

插件地址:

  • https://pub.dev/packages/imag…

官网地址:

  • https://github.com/hui-z/imag…

Thanks

  • Flutter
  • pub.dev
正文完
 0