25 lines
934 B
Markdown
25 lines
934 B
Markdown
# flutter_qucikstart
|
||
|
||
A new Flutter project.
|
||
|
||
## 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)
|
||
|
||
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.
|
||
|
||
# 开发细节注意
|
||
- scaffold home 主视图拆成函数
|
||
- 颜色放在common里统一管理,使用class静态属性调用
|
||
- 不同结构使用注释标识,使用end结尾结构更清楚
|
||
|
||
- 固定写法 assets/images/3.0x flutter自动适配几倍图
|
||
- 在pubspec中导入资源,在commont新建assets类管理资源
|
||
- 使用stack进行叠加,使用aligment进行对齐管理 |