当前位置:网站首页>Recommended collection!! Which is the best flutter status management plug-in? Please look at the ranking list of yard farmers on the island!

Recommended collection!! Which is the best flutter status management plug-in? Please look at the ranking list of yard farmers on the island!

2022-07-07 02:11:00 InfoQ

Preface

All the way down ,Flutter  There are dozens of articles related to state management , This is the result I didn't expect .Flutter  There are too many state management plug-ins , It feels like digging deep , You can continue to write dozens of articles . It's just , Write it like this , I'm afraid I'm not tired , The spectators are tired ! Teaching a man to fish is better than giving him a fish , This article is devoted to  Flutter  Make a collection of popular status management plug-ins, and attach comparative analysis and ranking list . You can choose in actual development by combining comparative data and official documents .
You can show your status management plug-ins and reasons for your choice in the comment area , Cross reference !

Horizontal contrast parameters

We compare horizontally and speak with data , A combination of  pub  My favorite number (Likes)、 Popularity (Popularity) And scores (Pub Points),Gitbub Of  Star  Count 、 The number of contributors is compared with five dimensions . The parameters are described as follows :

  • Liking number (Likes)
    : It reflects that the plug-in is affected by  Flutter  Developers' preferences , Indirectly reflects the document integrity of the plug-in 、 Readability and ease of use of plug-ins ;
  • Popularity (Popularity)
    : It reflects that the plug-in is affected by  Flutter  The popularity of developers and the universality of plug-in applications ( Vernacular interpretation :
    The more people use people , It means more people help you step on the pit in advance
    ).
  • score (Pub Points)
    :pub  The full score is 130 branch , In fact, it is a basic and comprehensive evaluation of plug-ins , It is divided into the following 6 Parts of :
  • Follow the plug-in specification (20 branch )
  • Document integrity (20 branch )
  • Cross platform support (20 branch )
  • Through static analysis (30 branch )
  • Version compatibility (20 branch )
  • Support  null safety(20 branch )
  • GitHub Star  Count
    : Everybody knows that , It reflects the degree of recognition by developers , A symbol of strength !
  • Number of contributors
    : This is actually the community appeal of the plug-in and the number of people involved in maintenance , The more contributors, the more reliable the plug-in is , Not to mention that the update is too slow or the maintenance is suddenly suspended (
    Abort maintenance
    It belongs to Tiankeng ).

In order to unify the scale of comparison , We compare it with the maximum value of the same dimension of the management plug-ins listed in this article , According to the ratio, the stars are calculated , Total settings 5 star , The corresponding relationship between ratio and star rating is as follows :

  • 0.9-1.0:5 star
  • 0.8-0.9:4 star
  • 0.6-0.8:3 star
  • 0.3-0.6:2 star
  • 0.3 following :1 star

Comparative analysis of state management plug-ins

Let's first look at the comparative data , Then do star rating , The five items of data in the status management plug-in list are as follows :
null
The star rating of various parameters is as follows :
null

Ranking List

Based on the above star rating and data , We sum the ratio of each data , Sort from large , The score and ranking are as follows .
null
What about? ? Is it in line with your heart  Flutter  Ranking of status management plug-ins ?
Remember to show the status management plug-in you are using in the comment area !
null
原网站

版权声明
本文为[InfoQ]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207061833529270.html