-
Notifications
You must be signed in to change notification settings - Fork 151
1.0.2 #47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
1.0.2 #47
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
0e101c4
style: 修改样式
wanwusangzhi 4492eb6
Merge branch 'dev' of https://github.com/efoxTeam/flutter-ui into dev
wanwusangzhi 54fccec
style:修改样式
wanwusangzhi 1121e35
feat:修改线上线下环境值
wanwusangzhi 6fce888
更新代码
63bf655
Merge branch 'magic' into dev
c4f1189
Merge branch 'dev' of https://github.com/efoxTeam/flutter-ui into dev
40748dd
feat:增加gesturedetector组件
wanwusangzhi acf0fb4
Merge branch 'dev' of github.com:efoxTeam/flutter-ui into dev
zxxlx de19a89
feat:增加颜色切换 优化内容页体验
ckken 204dfe5
Merge branch 'dev' of https://github.com/efoxTeam/flutter-ui into dev
ckken bcbd230
feat:多主题支持
ckken c6c3174
feat:增加gesturedector
wanwusangzhi 7a8cf01
Merge branch 'dev' of https://github.com/efoxTeam/flutter-ui into dev
wanwusangzhi edf22b8
feat:完成主題切換
ckken e7d6bb4
Merge branch 'dev' of https://github.com/efoxTeam/flutter-ui into dev
ckken 87c709b
fix:解決主題閃動問題
ckken dc3774f
style:优化二级页面主题样式
wanwusangzhi e5d004f
加入自动更新功能
ckken 63da2e7
Merge branch 'master' into dev
ckken be2b3b4
feat:v1.0.2
ckken 298b2ce
doc:更新文档
ckken fc7ad76
feat:屏蔽ios版本检测功能
ckken fe5b7db
feat:自定义expansionTile 组件
ckken a2a8269
feat:增加gesturedetector
wanwusangzhi 4b5a9e9
Merge branch 'dev' of https://github.com/efoxTeam/flutter-ui into dev
wanwusangzhi 03dfa24
doc:增加demo预览图
ckken 29b5307
Merge branch 'dev' of https://github.com/efoxTeam/flutter-ui into dev
ckken c400197
doc:更新预览
ckken File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
81 changes: 80 additions & 1 deletion
docs/widget/gestures/gesturedetector/index.md
This file contains hidden or 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 +1,80 @@ | ||
| ## **文档完善中** | ||
| ## **GestureDetector** | ||
| > 该组件可监听触摸事件,可包裹需要监听的组件后使用带有的触摸事件。 | ||
|
|
||
| ### 构造函数 | ||
| ``` | ||
| GestureDetector({ | ||
| Key key, | ||
| this.child, | ||
| this.onTapDown, | ||
| this.onTapUp, | ||
| this.onTap, | ||
| this.onTapCancel, | ||
| this.onDoubleTap, | ||
| this.onLongPress, | ||
| this.onLongPressUp, | ||
| this.onLongPressDragStart, | ||
| this.onLongPressDragUpdate, | ||
| this.onLongPressDragUp, | ||
| this.onVerticalDragDown, | ||
| this.onVerticalDragStart, | ||
| this.onVerticalDragUpdate, | ||
| this.onVerticalDragEnd, | ||
| this.onVerticalDragCancel, | ||
| this.onHorizontalDragDown, | ||
| this.onHorizontalDragStart, | ||
| this.onHorizontalDragUpdate, | ||
| this.onHorizontalDragEnd, | ||
| this.onHorizontalDragCancel, | ||
| this.onForcePressStart, | ||
| this.onForcePressPeak, | ||
| this.onForcePressUpdate, | ||
| this.onForcePressEnd, | ||
| this.onPanDown, | ||
| this.onPanStart, | ||
| this.onPanUpdate, | ||
| this.onPanEnd, | ||
| this.onPanCancel, | ||
| this.onScaleStart, | ||
| this.onScaleUpdate, | ||
| this.onScaleEnd, | ||
| this.behavior, | ||
| this.excludeFromSemantics = false, | ||
| this.dragStartBehavior = DragStartBehavior.down, | ||
| }) | ||
| ``` | ||
|
|
||
| ### 属性介绍 | ||
| > 点击事件可用Tap属性,执行顺序如下罗列 | ||
| - onTapDown: 触摸时触发 | ||
| - onTapUp: 触摸离开时触发 | ||
| - onTap: 点击后触发 | ||
| - onTapCancel: 触发时取消 | ||
| - onDoubleTap: 200毫秒内触摸时触发,但不触发onTap | ||
| > 拖动事件可用Pan属性,执行顺序如下罗列,拖动时返回是手势位移数据 | ||
| - onPanDown: | ||
| - onPanStart: (DragStartDetails e) {} 返回相对屏幕位置 | ||
| - onPanUpdate: (DragUpdateDetails e) {} 回调函数中返回是手势位移数据 | ||
| - onPanEnd: (DragEndDetails e) {} 回调函数中返回Velocity,手势瞬时速度,可结合动画使用 | ||
| - onPanCancel: 回调取消 | ||
| > 以下也可执行拖动事件,使用后不会触发Tap/Pan事件,执行顺序如下罗列,拖动时返回相对整个屏幕距离数据 | ||
| - onForcePressStart: (ForcePressDetails e) {} | ||
| - onForcePressPeak: (ForcePressDetails e) {} | ||
| - onForcePressUpdate: (ForcePressDetails e) {} | ||
| - onForcePressEnd: (ForcePressDetails e) {} | ||
| > 监听垂直或水平方向 | ||
| - onVerticalDragDown | ||
| - onVerticalDragStart | ||
| - onVerticalDragUpdate | ||
| - onVerticalDragEnd | ||
| - onVerticalDragCancel | ||
| - onHorizontalDragDown | ||
| - onHorizontalDragStart | ||
| - onHorizontalDragUpdate | ||
| - onHorizontalDragEnd | ||
| - onHorizontalDragCancel | ||
| > 手势放大 | ||
| - onScaleStart | ||
| - onScaleUpdate | ||
| - onScaleEnd | ||
|
|
25 changes: 24 additions & 1 deletion
docs/widget/vision/transform/index.md
This file contains hidden or 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 +1,24 @@ | ||
| ## **文档完善中** | ||
| ## **Transform** | ||
|
|
||
| > 在绘制子元素前应用转换的组件 | ||
|
|
||
| ### 构造方法 | ||
| ``` | ||
| Transform({ | ||
| Key key, | ||
| @required Matrix4 transform, | ||
| Offset origin, | ||
| AlignmentGeometry alignment, | ||
| bool transformHitTests: true, | ||
| Widget child | ||
| }) | ||
| ``` | ||
|
|
||
| ### 属性介绍 | ||
| origin:坐标系的原点(相对于此渲染对象的左上角)应用矩阵的原点 | ||
| alignment:原点的对齐方式 | ||
| transform: 在绘制过程中改变子元素的矩阵 | ||
| transformHitTests:在测试时是否执行转换 | ||
|
|
||
|
|
||
| ### 实例 |
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.