Skip to content

Commit

Permalink
update ReadMe
Browse files Browse the repository at this point in the history
  • Loading branch information
luckysmg committed Mar 3, 2020
1 parent 10934e1 commit bf38d4a
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 4 deletions.
8 changes: 8 additions & 0 deletions .idea/libraries/Dart_Packages.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/linked_scroll_widgets.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .packages
@@ -1,4 +1,4 @@
# Generated by pub on 2020-03-02 18:49:56.519958.
# Generated by pub on 2020-03-03 15:07:20.620964.
archive:file:///Users/luckysmg/flutter/.pub-cache/hosted/pub.dartlang.org/archive-2.0.11/lib/
args:file:///Users/luckysmg/flutter/.pub-cache/hosted/pub.dartlang.org/args-1.5.2/lib/
async:file:///Users/luckysmg/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.4.0/lib/
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
@@ -1,2 +1,3 @@
## [0.1.0] - 2020.3.3
## [0.0.1] - 2020.3.2

9 changes: 9 additions & 0 deletions README-CN.md
Expand Up @@ -164,6 +164,15 @@ class _LinkedOffsetPageState extends State<LinkedOffsetPage> {
一句话来说,如果你想要你的UI效果变化的快,就把 toggleOffsetY设定得越小即可(toggleOffsetY > 0).


## FAQ
- 当我push一个新页面,这个页面的导航栏是用CupertinoNavigationBar制作的,里面可能包含LinkedOffsetWidget或者LinkedOpacityWidget,在页面动画过程中效果很奇怪怎么办:
解决方法:将CupertinoNavigationBar中的"transitionBetweenRoute" 参数设置为false即可


## 我的其他包:
[jr_extension](https://pub.dev/packages/jr_extension)





10 changes: 9 additions & 1 deletion README.md
Expand Up @@ -160,8 +160,16 @@ When the offsetY of your listView is 0(initialOffset) you can't see the title te
and, when the offsetY = toggleOffset Y ,the title text is visible completely,it a linear change.
In other words,when offsetY = 0 ,the opacity = 0,and when offset = toggleOffset,the opacity = 1.0;
All in all,the faster you want to change your UI effect,the smaller toggleOffsetY you should set;


## FAQ
- When I push a page ,which has a LinkedOffsetWidget or LinkedOpacityWidget in the CupertinoNavigationBar,the effect is strange

Solution:Set parameter "transitionBetweenRoute" to false.



## My other packages:
[jr_extension](https://pub.dev/packages/jr_extension)



Expand Down
2 changes: 1 addition & 1 deletion lib/src/linked_opacity_navigation_bar.dart
Expand Up @@ -56,7 +56,7 @@ class LinkedOpacityNavigationBar extends StatelessWidget
this.automaticallyImplyMiddle = true,
this.padding,
this.previousPageTitle,
this.transitionBetweenRoutes = true,
this.transitionBetweenRoutes = false,
this.border = _kDefaultNavBarBorder,
}) : super(key: key);

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
@@ -1,6 +1,6 @@
name: linked_scroll_widgets
description: A Flutter package with widgets that will react the scrollController's current offset.It can work on opacity,offset,and size.
version: 0.0.1
version: 0.1.0
homepage: https://github.com/luckysmg/linked_scroll_widgets

environment:
Expand Down

0 comments on commit bf38d4a

Please sign in to comment.