-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
60 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2021 wkl | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,46 @@ | ||
# flutter_trip | ||
|
||
Flutter 仿携程网App | ||
[慕课网仿携程网App](https://coding.imooc.com/class/321.html) ,基于`Flutter`支持`Android`与`iOS`平台。 | ||
|
||
## Getting Started | ||
## 目录 | ||
|
||
This project is a starting point for a Flutter application. | ||
- [下载](#下载) | ||
- [真机预览](#真机预览) | ||
- [功能与特性](#功能与特性) | ||
- [插件使用](#插件使用) | ||
- [运行调试](#运行调试) | ||
|
||
A few resources to get you started if this is your first Flutter project: | ||
## 下载 | ||
|
||
- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab) | ||
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook) | ||
![Flutter_Trip](https://apk-1256738511.cos.ap-chengdu.myqcloud.com/FlutterTrip/images/flutter_trip_qr_code.png) | ||
|
||
For help getting started with Flutter, view our | ||
[online documentation](https://flutter.dev/docs), which offers tutorials, | ||
samples, guidance on mobile development, and a full API reference. | ||
## 真机预览 | ||
|
||
![Flutter_Trip](https://apk-1256738511.cos.ap-chengdu.myqcloud.com/FlutterTrip/images/flutter_trip_preview.png) | ||
|
||
## 功能与特性 | ||
|
||
- 实现首页、搜索、旅拍、我的四大模块; | ||
- 实现网络图片本地缓存; | ||
- 旅拍模块实现瀑布流布局; | ||
- 接口数据抓取携程`H5`端; | ||
- 集成友盟数据统计; | ||
|
||
## 插件使用 | ||
|
||
- [azlistview ^2.0.0-nullsafety.0](https://pub.flutter-io.cn/packages/azlistview) | ||
- [cached_network_image ^3.0.0](https://pub.flutter-io.cn/packages/cached_network_image) | ||
- [dio ^4.0.0](https://pub.flutter-io.cn/packages/dio) | ||
- [flutter_card_swipper ^0.4.0](https://pub.flutter-io.cn/packages/flutter_card_swipper) | ||
- [flutter_staggered_grid_view ^0.4.0](https://pub.flutter-io.cn/packages/flutter_staggered_grid_view) | ||
- [fluttertoast ^8.0.7](https://pub.flutter-io.cn/packages/fluttertoast) | ||
- [webview_flutter ^2.0.8](https://pub.flutter-io.cn/packages/webview_flutter) | ||
- [umeng_common_sdk ^1.1.3](https://pub.flutter-io.cn/packages/umeng_common_sdk) | ||
|
||
## 运行调试 | ||
|
||
1. 准备Flutter环境,可参考: [getting-started](<https://flutter-io.cn/docs/get-started/install>)。 | ||
2. Clone [flutter_trip](https://github.com/wkl007/flutter_trip.git) ,然后终端进入项目根目录。 | ||
3. 终端运行 `flutter packages get`。 | ||
4. 然后运行 `flutter run`。 | ||
5. 打包运行 `flutter build apk`。 |