Fetch the repository succeeded.
flutter luckin coffee application(仿瑞幸咖啡)
作者写这个的时候,flutter最高版本是1.7.x。现在好像已经是1.12.x了吧,所以一定要切换flutter版本,不然可能出现插件之间不兼容的情况。另外暂时没有升级flutter版本的打算。
Q:为什么会有这个项目?
了解到了flutter这个框架,并且和rn和uniapp的实现跨平台的思路完全不一样。做了一些demo之后,感觉挺有意思的,所以想做一个完整的项目,体验学习一下。
Q:为什么用luckin coffee?
luckin coffee在网上能搜索到开源的原型+设计图,简直方便的不行。luckin coffee原型+设计图
Q:数据从哪里来?
api工厂配置商城数据,网站提供接口。
flutter --verison
Flutter 1.9.1+hotfix.6 • 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版本管理的,以为只要上传到蒲公英就可以了。结果ios开发版需要添加开发者才能体验,所以ios只能拉代码来体验了。
密码:meetqy
有bug欢迎提issues。
这个项目使用 flutter. 请确保你本地安装了它们。
flutter --version
flutter doctor
flutter pub get
flutter run
插件 | 说明 |
---|---|
flutter_swiper | 轮播图 |
provider | 状态管理 |
pull_to_refresh | 上拉加载,下拉刷新 |
dio | 网络请求 |
json_annotation+json_serializable | json序列化 |
fluttertoast | toast |
shared_preferences | 本地缓存 |
iconfont_dart | 快速将iconfont生成项目中可以直接调用的icon |
color_dart | 配合vscode插件在代码中显示颜色 |
非常欢迎一起学习flutter! 提一个Issue 或者提交一个 Pull Request.
![]() |
![]() |
---|
Sign in for post a comment
Activity
Community
Health
Trend
Influence
:Code submit frequency
:React/respond to issue & PR etc.
:Well-balanced team members and collaboration
:Recent popularity of project
:Star counts, download counts etc.
Comments ( 59 )