# applications **Repository Path**: yu_yang/applications ## Basic Information - **Project Name**: applications - **Description**: 仿App Store应用列表 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-08-13 - **Last Updated**: 2022-10-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 仿应用App Store列表 [![License](https://img.shields.io/badge/license-MIT-green.svg)](/LICENSE) [![Spring Boot](https://img.shields.io/badge/Awesome-flutter-blue.svg?longCache=true&style=flat-square)](https://stackoverflow.com/questions/tagged/flutter?sort=votes) [![Gitea](https://img.shields.io/badge/gitee-v0.0.1-orange.svg)](https://gitee.com/yu_yang/applications) 使用mvvm模式实现热门应用以及下载次数最多的应用,包含搜索功能 ## 项目目录如下 ``` dart ├── android      // Flutter与android原生交互的一些代码  ├── build        // 存储 iOS 和 Android 构建文件  ├── ios          // Flutter与ios原生交互的一些代码  ├── lib          // 用Dart语言编写的核心代码  │ ├── api        // 存放接口调用类 │ ├── database   // 数据库封装 │ ├── state      // 封装的页面状态 │ ├── module     // 模块页面 │ │ ├── bean     // 数据模型 │ │ ├── dao      // 数据处理器 │ │ ├── po       // 解析模型 │ │ ├── widgets  // 模块内小部件 │ │ │ ├── home_page.dart   // 首页 │ ├── state      // 封装的页面状态 │ ├── utils     // 工具类 │ ├── widgets      // 公共小部件 │ │ ├── bar       // 与bar相关的自定义组件 │ ├── main.dart   // 程序启动时访问文件,路由、 ├── test                   // 测试文件  ├── .gitignore       // 提交git的忽略文件 ├── .packages        // 项目中包文件清单 ├──  pubspec.yaml    // 配置文件,放置图片、第三方包依赖 ├──  README.md       // 帮助文档 ``` ## 编译Or运行环境 ``` dart [✓] Flutter (Channel stable, 3.0.5, on macOS 12.5 21G72 darwin-x64, locale zh-Hans-CN) [✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 13.4.1) [✓] Chrome - develop for the web [✓] Android Studio (version 2021.2) [✓] IntelliJ IDEA Ultimate Edition (version 2018.3.5) [✓] VS Code (version 1.70.1) ``` ## 第三方库 | 第三方库 | 说明 | | -------------------- | -------------------------------------------- | | cupertino_icons | 集成图标库 | | dio | 网络请求 | | loger | 日志组件 | | flutter_screenutil | 屏幕适配 | | flutter_riverpod | 状态管理 | | easy_refresh | 刷新加载控件 | | cached_network_image | 图片缓存 | | smooth_star_rating_null_safety | 评价星号 | | sqflite | 数据库 | | path_provider | 获取app基本目录 | | path | 路径管理 | | freezed_annotation | 模型解析 | | json_annotation | json解析 | ## 项目启动 * 运行项目 ``` dart 更新本地第三方库 flutter packages get 运行所有连接设备(包括真机与模拟器): flutter run all 多设备连接时,运行指定模拟器: 使用flutter run, 此时会显示各模拟器编码,运行一下命令可单独执行某个设备: flutter run -d [设备编码] ``` ## 运行测试 ``` dart // api测试 flutter test test/api_test.dart // widget测试 flutter drive --target=test_driver/home.dart ``` * 项目打包发布 ``` dart Android: flutter build apk --release iOS: flutter build ios --release ``` ## 开源协议 ```license MIT License Copyright (c) 2022 applications Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ```