Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用的 flutter 库已弃坑,或者长时间不维护,该怎么办 #292

Open
feicien opened this issue Jun 4, 2022 · 3 comments
Open

Comments

@feicien
Copy link

feicien commented Jun 4, 2022

首先非常感谢作者开源的这个库,帮助大家提升了开发效率。

这个库的最后一次提交距离现在已经有三年时间了,在这三年的时间中,Flutter 发展非常快,比如说 dart 2.12 开始支持的空安全,dart 2.17 开始支持枚举成员变量,Flutter 3,以及 AndroidX 的支持等等。

为了支持空安全,我也使用过另外一个作者维护的 card_swiper,Flutter 3 发布后,这个库也没能及时更新,并且我发现它存在 SwiperPagination.rect 指示器不显示的 bug。

于是我 fork 作者的代码,维护了一份代码: https://github.com/feicien/flutter_swiper_view

经过摸索,我成功把它上传到了 pub.dev 仓库:https://pub.dev/packages/flutter_swiper_view

可能以后我维护的这份代码也会弃坑,所以建议大家都尝试一下:如何自己维护代码,并把它发布到 pub.dev 上。

这样,无论是这个库还是其它库,作者弃坑了,或者长时间不维护,我们都可以自己来维护。

我想这也是开源项目的魅力吧。

@krmao
Copy link

krmao commented Jun 9, 2022

666

可以内置包装一个 notification 防止打断外部事件

fluttercandies/pull_to_refresh_notification#28

@jevonszmx
Copy link

感谢你的付出,其实这也是我这几年的困扰,第三方库大大提升了开发效率,现在各个语言也有大量丰富的第三方库,但是最大的问题是,这些库,很多都会停止更新,每次只要语言升级,整个项目就有很大的风险跑不起来,真的很痛苦。

@qcks
Copy link

qcks commented Mar 7, 2023

感谢你的付出,其实这也是我这几年的困扰,第三方库大大提升了开发效率,现在各个语言也有大量丰富的第三方库,但是最大的问题是,这些库,很多都会停止更新,每次只要语言升级,整个项目就有很大的风险跑不起来,真的很痛苦。

站起来ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants