在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):hasancse91/flutter_getx_template开源软件地址(OpenSource Url):https://github.com/hasancse91/flutter_getx_template开源编程语言(OpenSource Language):Dart 93.9%开源软件介绍(OpenSource Introduction):Flutter GetX Template (GetX, Dio, MVVM)This Flutter Template using GetX package for State management, routing and Dependency Injection (bindings). We are using MVVM (Model View ViewModel) architectural pattern here. For network call we are using Dio package. We followed the recommended folder structure of GetX and used Get CLI command line tool for creating the folder structure. Architecture of this project: MVVMMVVM (Model View ViewModel) is one of the most popular architectural pattern for Android App development. Basically this pattern separates User interface from business-logic and data-logic. So that it's divided into three layers: Model layer, View layer and View model layer. Let's explore it more deeply. ViewModel: At first let's talk about ViewModel. Actually view model is a controller where we implement our business logics. It receives the data from the model and process the data according to business logic and pushed into the live data observers which is observing by view. View: View is the collections of widgets like Text, Image, Dropdown etc. Which will be displayed to the users. Even it controls the user input. When it needs any data it command the view model (In this project it's controller) for data and observe the response. Till then it may display a loader to the user. Model: Model is basically backend logic. It controls the data source. check hereTo configure and run this projectYou will find at above link step by step instructions with screenshots. How to update app information and continue development for your own project?
How was this project developed?
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论