# flutter_luckin_coffee
**Repository Path**: MemoryFast/flutter_luckin_coffee
## Basic Information
- **Project Name**: flutter_luckin_coffee
- **Description**: flutter luckin coffee application(仿瑞幸咖啡)
- **Primary Language**: Dart
- **License**: AFL-3.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 560
- **Created**: 2021-09-28
- **Last Updated**: 2021-09-28
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README

# flutter_luckin_coffee
> flutter luckin coffee application(仿瑞幸咖啡)
## 特别提醒
作者写这个的时候,flutter最高版本是1.7.x。现在好像已经是1.12.x了吧,所以一定要切换flutter版本,不然可能出现插件之间不兼容的情况。另外暂时没有升级flutter版本的打算。**详细版本号参考后面的flutter版本信息**
## api工厂数据克隆id - **22511**
## 目录
- [前言](#前言)
- [flutter版本信息](#flutter版本信息)
- [扫码下载体验-ios/android都可下载](#扫码下载体验-ios/android都可下载)
- [安装](#安装)
- [相关插件](#相关插件)
- [待完善](#待完善)
- [近期计划](#近期计划)
- [维护者](#维护者)
- [欢迎PR](#欢迎PR)
- [预览](#预览)
## 前言
Q:为什么会有这个项目?
> 了解到了flutter这个框架,并且和rn和uniapp的实现跨平台的思路完全不一样。做了一些demo之后,感觉挺有意思的,所以想做一个完整的项目,体验学习一下。
Q:为什么用luckin coffee?
> luckin coffee在网上能搜索到开源的原型+设计图,简直方便的不行。[luckin coffee原型+设计图](https://www.xiaopiu.com/square?libPop=project&libId=5c306b252d5cd56e70a1e640)
Q:数据从哪里来?
> [api工厂](https://www.it120.cc/?referrer=18046)配置商城数据,网站提供接口。
## flutter版本信息
``` sh
flutter --verison
```
``` sh
Flutter 1.22.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 68587a0916 (7 weeks ago) • 2019-09-13 19:46:58 -0700
Engine • revision b863200c37
Tools • Dart 2.5.0
```
## 扫码下载体验 - ~~ios/android都可下载~~ 仅安卓可直接体验
> 没做过ios版本管理的,以为只要上传到蒲公英就可以了。结果ios开发版需要添加开发者才能体验,所以ios只能拉代码来体验了。
密码:meetqy

> 有bug欢迎提issues。
## 安装
这个项目使用 [flutter](https://github.com/flutter/flutter). 请确保你本地安装了它们。
1. 检查版本号是否正确
```sh
flutter --version
```
2. 运行一下命令查看是否需要安装其他依赖
``` sh
flutter doctor
```
3. 运行启动
```
flutter pub get
flutter run
```
## 相关插件
插件 | 说明
---- | ----
[flutter_swiper](https://github.com/best-flutter/flutter_swiper) | 轮播图
[provider](https://github.com/rrousselGit/provider) | 状态管理
[pull_to_refresh](https://github.com/bytedance/pull_to_refresh) | 上拉加载,下拉刷新
[dio](https://github.com/flutterchina/dio) | 网络请求
[json_annotation](https://github.com/dart-lang/json_serializable/tree/master/json_annotation)+[json_serializable](https://github.com/dart-lang/json_serializable) | json序列化
[fluttertoast](https://github.com/PonnamKarthik/FlutterToast) | toast
[shared_preferences](https://github.com/flutter/plugins/tree/master/packages/shared_preferences) | 本地缓存
[iconfont_dart](https://github.com/meetqy/iconfont_dart) | 快速将iconfont生成项目中可以直接调用的icon
[color_dart](https://github.com/meetqy/color_dart) | 配合vscode插件在代码中显示颜色
## 待完善
- [ ] 菜单页面锚点功能未实现
- [ ] 代码不符合开发规范(进行中...)
- [ ] 订单模块联调
- [x] 新增用户管理模块
## 近期计划
- [x] 重构request模块
- [x] 新增邮箱注册页面
- [x] 新增邮箱登录页面
- [x] 新增邮箱登录联调
- [x] 新增邮箱注册联调
- [ ] 订单页面联调
- [ ] 重构自定义appbar
- [ ] 重构components(进行中...)
## 已解决问题
- [x] clone代码启动白屏
## 版本日志
- [v1.x.x](./readme/backlog/v1.x.x.md)
- [v2.x.x](./readme/backlog/v2.x.x.md)
## 维护者
[@meetqy](https://github.com/meetqy).
## 欢迎PR
非常欢迎一起学习flutter! [提一个Issue](https://github.com/meetqy/flutter_luckin_coffee/issues/new) 或者提交一个 Pull Request.
## 预览
| 