简体   繁体   English

在我的场景中,哪个包更好 flutter_secure_storage 或 getx ?

[英]Which package is better flutter_secure_storage or getx in my scenario?

I am using the https://pub.dev/packages/flutter_secure_storage (uses Await/Async functions) to store a value and later retrieve it.我正在使用https://pub.dev/packages/flutter_secure_storage (使用 Await/Async 函数)来存储一个值,然后再检索它。 Note that everytime I open the app, I will update the value.请注意,每次打开应用程序时,我都会更新该值。 I just use this for the purpose of storing and retrieving the values while the app is open.我只是将它用于在应用程序打开时存储和检索值。 NOT to store so that when the app is closed and then opened again, I can retrieve it.不要存储,以便当应用程序关闭然后再次打开时,我可以检索它。

Now I have learned about the https://pub.dev/packages/get which is promising since I can make my variables observable which seems easier to use with less coding.现在我已经了解了https://pub.dev/packages/get ,它很有前途,因为我可以使我的变量变得可观察,这似乎更容易使用更少的编码。

Now I just want to ask for expert advice on those who know both flutter packages whether it is worth to migrate from using flutter_secure_storage to get .现在我只想向那些了解这两个 flutter 包的人寻求专家建议,是否值得从使用flutter_secure_storage迁移到get . Thanks!谢谢!

hi buddy flutter_secure_storage is a package that is used if you want to store your data in encrypted form this is used when you are dealing with very sensitive data like you are creating an application for banking service so you need super security where as the getX package is a all-in-one package for state management, route management, Internationalization, API calling etc, it has lots of features and very easy to use.嗨,伙计,flutter_secure_storage 是一个包,如果您想以加密形式存储数据,则在处理非常敏感的数据时使用它,例如您正在为银行服务创建应用程序,因此您需要超级安全性,而 getX 包是用于状态管理、路由管理、国际化、API 调用等的多合一软件包,它具有许多功能且非常易于使用。 It can also Store your data but Not in Encrypted form it is basically an alternative to Shared_Preference package, so if you want to store data in Encrypted format then go for flutter_secure_storage and if you don't need Encrypted storage then you can use getX.它还可以存储您的数据,但不是以加密形式存储它基本上是 Shared_Preference 包的替代品,因此如果您想以加密格式存储数据,请使用 flutter_secure_storage,如果您不需要加密存储,则可以使用 getX。 I would definitely recommend to use getX not only for storage you can you also use it for state management and lots of other features.我绝对建议将 getX 不仅用于存储,还可以用于状态管理和许多其他功能。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Flutter 找不到所需的 package flutter_secure_storage/linux/CMakeLists.txt:14 - Flutter A required package was not found flutter_secure_storage/linux/CMakeLists.txt:14 如何实现使用flutter_secure_storage包读写数据的流程【with Provider包】 - How to implement a process that uses flutter_secure_storage package to read and write the data [with Provider package] Flutter - 为什么/flutter_secure_storage 是安全的? - Flutter - Why/How is flutter_secure_storage secure? 使用 flutter_secure_storage package 为 ios 创建构建存档时出现问题 - Problem creating a build archive for ios using flutter_secure_storage package flutter 中的 flutter_secure_storage 和 shared_prefrences 有什么区别? 为什么 flutter_secure_storage 更安全? - What are the differences between flutter_secure_storage and shared_prefrences in flutter? Why is flutter_secure_storage more secure? 无法解析配置 ':flutter_secure_storage:classpath' 的所有工件 - Could not resolve all artifacts for configuration ':flutter_secure_storage:classpath' flutter_secure_storage中可以存储多少数据? - How much data can store in flutter_secure_storage? flutter_secure_storage 究竟是什么以及它是如何工作的? - What is flutter_secure_storage exactly and how it works? 使用 flutter_secure_storage 保存数据的列表文本......这可能吗? - Save List Texst of data using flutter_secure_storage ... is it possible? 我将如何保持存储flutter_secure_storage的列表顺序? - How would I keep the order of the list stored flutter_secure_storage?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM