| In today’s society,people’s pace of life is getting faster and faster,and overtime is a common occurrence.In this environment,people’s health is often easy to be ignored.Using the Internet,we can make use of people’s fragmented time,so that people can monitor their health anytime and anywhere through mobile phones in their leisure time.At present,the Internet development environment is mainly Android and IOS.Developing an application requires two sets of code,so a cross platform development framework is needed,that is,fluent.This paper makes an in-depth study of the flutter framework,including the development language dart,the layered architecture of flutter,the rendering mechanism,and the interaction with native,and compares it with other cross platform frameworks.Through the research.on this framework,an application weishikang based on the flutter framework is developed.to serve people’s physical and mental health,prevent diseases and provide professional health consultation.First,analyze the requirements,and then design the functions and project directory.Weishikang adopts the layered architecture design of the fluent framework to make each level independent.Each functional module is developed based on the basic functional components.The dual authentication of account and mobile number plus token authentication is used to realize the login authentication function,and the Web View is used to realize the physical examination report function.For the data transmission between fluent and JS,this paper gives an original data transmission method to ensure the safe and complete transmission of data.In the health assessment part,sqflite is used to establish a local database to store answers.In the psychological consultation part,a series of small components such as Chewie video player are used to realize complex pages.On the home page and information page,tab and tabview are used to realize the overall layout,including common search functions.The textfield text box is used,in which various parameters are passed in to realize complex search.Finally,the overall system test of the application is carried out.Firstly,the integrity of each function and user operation process are tested,and then the performance parameters of the application and the compatibility of each mobile phone system are tested.Through testing and continuous optimization,the online standard is reached,and finally the online deployment of the application is carried out.At present,weishikang not only has a variety of practical functions,but also has a smooth operation feel,which perfectly meets the expected requirements. |