-
Notifications
You must be signed in to change notification settings - Fork 0
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
Create CustomRefreshIndicator - edited for upgrade #246
base: dev
Are you sure you want to change the base?
Conversation
Created new CustomRefreshIndicator that: - doesn't rely on any global keys - thus doesn't cause state issues - based on actual animation + NotificationListener - can customize radius, pull down length, offset, etc. - based on CupertinoActionIndicator
Applied customRefreshIndicator widget to : mainPage notificationPage postListShowPage postViewPage userPage userViewPage (also modified physics for android)
added back asynchronous operation
const scrollDownLength = 30.0; // refresh를 위한 최소 픽셀 | ||
const displacementLength = 0.0; // 위로부터의 default displacement | ||
const offsetLength = 5.0; // 위/아래의 default offset | ||
const indicatorRadius = 15.0; // 원의 default radius |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flutter에서 사용하는 기본값(_kDefaultIndicatorRadius) 10.0으로 변경 부탁드립니다
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RefreshIndicator radius 관련한 간단한 수정 요청 드렸습니다. 시뮬레이터에서 본 결과 전체적으로 잘 동작하는것 같습니다! 안드로이드에서는 CustomRefreshIndicator만 cupertino 스타일이고 나머지는 material 디자인에 맞춰져있어서 부자연스러울 수도 있겠다는 생각이 드는데 CustomRefreshIndicator를 iOS 일 때만 적용해보는건 어떠신가요?
Overview
로딩을 위해 pull down하는 거리 감소. 편의성 증진
Changes
Implementaion Method
After Changes
Related Issues
Rollback Scenario
TODO