File tree 6 files changed +14
-9
lines changed
6 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 1
- <!-- Next version changes should go here -->
1
+ ## 1.6.3
2
+ * fix bug: gesture disabled after refresh complete in an error refreshState
3
+ * fix problem: Footer hide back suddenly(this cause by the flutter breaking change)
4
+ * add vibrate option to enable vibrate when trigger onRefresh or onLoading
5
+ * fix SmartRefresher key in mutiple widgets
6
+ * add other languages
2
7
3
8
## 1.6.2
4
9
* fix "_ pendingDimenssion is not true" error with the breaking change
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ add this line to pubspec.yaml
35
35
``` yaml
36
36
37
37
dependencies :
38
- pull_to_refresh : ^1.6.1
38
+ pull_to_refresh : ^1.6.3
39
39
40
40
```
41
41
Original file line number Diff line number Diff line change 35
35
``` yaml
36
36
37
37
dependencies :
38
- pull_to_refresh : ^1.6.1
38
+ pull_to_refresh : ^1.6.13
39
39
40
40
```
41
41
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ class MyApp extends StatelessWidget {
19
19
headerBuilder: () => MaterialClassicHeader (),
20
20
footerBuilder: () => ClassicFooter (),
21
21
enableLoadingWhenNoData: false ,
22
- enableRefreshVibrate: true ,
23
- enableLoadMoreVibrate: true ,
22
+ enableRefreshVibrate: false ,
23
+ enableLoadMoreVibrate: false ,
24
24
shouldFooterFollowWhenNotFull: (state) {
25
25
// If you want load more with noMoreData state ,may be you should return false
26
26
return false ;
@@ -65,7 +65,7 @@ class MyApp extends StatelessWidget {
65
65
const Locale ('pt' ),
66
66
const Locale ('ko' ),
67
67
],
68
- locale: const Locale ('ko ' ),
68
+ locale: const Locale ('zh ' ),
69
69
localeResolutionCallback:
70
70
(Locale locale, Iterable <Locale > supportedLocales) {
71
71
//print("change language");
Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ abstract class RefreshIndicatorState<T extends RefreshIndicator>
281
281
floating = true ;
282
282
readyToRefresh ();
283
283
}
284
- if (configuration.enableRefreshVibrate) {
284
+ if (configuration.enableRefreshVibrate ?? false ) {
285
285
HapticFeedback .vibrate ();
286
286
}
287
287
if (refresher.onRefresh != null ) refresher.onRefresh ();
@@ -450,7 +450,7 @@ abstract class LoadIndicatorState<T extends LoadIndicator> extends State<T>
450
450
if (! floating) {
451
451
enterLoading ();
452
452
}
453
- if (configuration.enableLoadMoreVibrate) {
453
+ if (configuration.enableLoadMoreVibrate ?? false ) {
454
454
HapticFeedback .vibrate ();
455
455
}
456
456
if (refresher.onLoading != null ) {
Original file line number Diff line number Diff line change 1
1
name : pull_to_refresh
2
2
description : a widget provided to the flutter scroll component drop-down refresh and pull up load.
3
- version : 1.6.2
3
+ version : 1.6.3
4
4
homepage : https://github.com/peng8350/flutter_pulltorefresh
5
5
6
6
environment :
You can’t perform that action at this time.
0 commit comments