flutter_getx_simple_news_app
学习如何使用 Flutter GetX 从 API 获取数据或使用 http get 请求调用 API。
源 API
- newsapi: 链接
使用的包
应用结构
.
├── android - It contains files required to run the application on an Android platform.
├── assets - It contains all images and fonts of your application.
├── ios - It contains files required to run the application on an iOS platform.
├── lib - Most important folder in the application, used to write most of the Dart code.
├── constants - It contains static constant class file.
├── controller - It manage state of the model and resultan data.
├── models - It contains class / objects created specifically.
├── service - It connects app to the 'outside world'.
├── view - It contains widgets of the screens.
├── main.dart - Starting point of the application.
