flutter_pulltorefresh

a widget provided to the flutter scroll component drop-down refresh and pull up load.

MIT License

Stars
2.7K
Committers
19

Bot releases are hidden (Show)

flutter_pulltorefresh - V1.4.5

Published by peng8350 over 5 years ago

  • Remake FrontStyle implements principle,Make it close to the first three styles,Fix some small problems also:
    1.when tap StatusBar,it will trigger refresh instead of scroll to top
    2.It seems odd to set aside 100 heights in front of scrollOffset for FrontStyle
    3.When hideWhenNotFull = false, dragging to pull down will cause loading together

  • Remake RefreshPhysics,Simpify code,child support physics setting now.

  • ClassicIndicator default refreshingIcon:in iOS use ActivityIndicator,in Android use CircularProgressIndicator

flutter_pulltorefresh - V1.4.4

Published by peng8350 over 5 years ago

  • Fix Bug:Multiples ScrollPositions shared one ScrollController,when calling controller.requestRefresh cause refresh together( such as keepAlive Widget )
  • When the user Dragging ScrollView(pull up), disable make it change to loading state
  • Add one new LoadStatus:failed(provide click to retry loading)
  • Fix some defaultIcon:noMoreIcon default Invisible
flutter_pulltorefresh - V1.4.3

Published by peng8350 over 5 years ago

  • change "child" attr limit type from ScrollView to Widget
flutter_pulltorefresh - V1.4.2

Published by peng8350 over 5 years ago

  • Improving hideWhenNotFull judgment mechanism
  • Fix triggerDistance error after 1.4.0-1.4.1
flutter_pulltorefresh - V1.4.1

Published by peng8350 over 5 years ago

  • Remove isNestedWrapped(deprecated from 1.3.8)
  • Add headerInsertIndex attr in SmartRefresher
  • Rename IndicatorConfiguration to RefreshConfiguration
  • Move some attr from Indicator to RefreshConfiguration:offset,skipCanRefresh,triggerDistance,autoLoad,hideWhenNotFull
  • Add decoration for classicIndicator(both header and footer)
  • Add Fade effect for WaterDropHeader when dismiss
  • Simplify reverse operation,Add MaterialClassicHeader,WaterDropMaterialHeader reverse feature
flutter_pulltorefresh - V1.3.9

Published by peng8350 over 5 years ago

  • Avoid inner inject padding by buildSlivers in child(ListView,GridView)
  • Add initialRefresh in RefreshController(when you need to requestRefresh in initState)
  • Fix exception RefreshBouncingPhysics velocity value
  • Add IndicatorConfiguration for build indicator for subtrees SmartRefresher
  • Add SkipCanRefresh,CompleteDuration attr in header
  • Fix trigger more times loading when no data come in and too fast loadComplete
  • remove center,anchor in CustomScrollView to Compatible with old versions
flutter_pulltorefresh - V1.3.8

Published by peng8350 over 5 years ago

Temporary fix deadly bug: PrimaryScrollController cannot shared by multiple Indicators

flutter_pulltorefresh - V1.3.7

Published by peng8350 over 5 years ago

  • Adding an asSlivers constructor can be inserted into slivers as a Sliver
  • Fix FrontStyle cannot support dynamic change enablePullDown
  • Fix FrontStyle cannot enter refresh state when init
  • Optimize indicator internal code to avoid locking widgets
  • Fix iOS click status cannot roll back without ScrollController in child
  • Fix one ignored situation after finish refresh -> completed(not in visual range)
flutter_pulltorefresh - V1.3.6

Published by peng8350 over 5 years ago

  • Fix NestedScrollView issue in 1.3.5
  • decrease default triggerDistance from 100.0 to 80.0
  • improve dragging scrolling speed of Front Style
  • Add offset attr in Front Style
flutter_pulltorefresh - V1.3.3

Published by peng8350 over 5 years ago

  • Fixed the request Refresh problem: Sometimes it takes two times to be effective
  • Add child key support
  • Fix Bug:Pull-down triggers need to be pulled down more distances to trigger
  • Add resetNoData to resume footer state to idle
flutter_pulltorefresh - V1.3.2

Published by peng8350 over 5 years ago

  • Fix WaterDropHeader some attributes invalid
  • Fix enablePullUp and enablePullDown Dynamic set
  • implements auto hide FooterView when less than one page,no need to set enablePullUp to false
  • improve safety after disposed
flutter_pulltorefresh - V1.3.1

Published by peng8350 over 5 years ago

  • Add onClick CallBack for LoadIndicator
  • Fix enablepullUp or down invalid
  • Fix error Loading after 1.3.0 updated
flutter_pulltorefresh - V1.3.0(Api改动大)

Published by peng8350 over 5 years ago

Total

  • Support reverse ScrollView
  • Remove RefreshConfig,LoadConfig,Move to indicator setting
  • Add isNestWrapped to Compatible NestedScrollView
  • replace headerBuilder,footerBuilder attribute to header,footer
  • Separate header and footer operations:onRefresh and onLoading Callback,RefreshStatus is separated into RefreshStatus.LoadStatus
  • Fix Bug: twice loading (the footer state change before the ui update)

RefreshController

  • Remove sendBack method,replaced by LoadComplete,RefreshComplete ,RefreshFailed,LoadNoData
  • Separate refresh and load operations
  • Add dispose method for Safety in some situation

Indicator

  • Use another way to achieve drop-down refresh
  • Add drop-down refresh indicator style(Follow,UnFollow,Behind)
  • Add WaterDropIndicator,CustomIndicator
  • Make Custom Indicator easily
flutter_pulltorefresh - V1.2.0

Published by peng8350 over 5 years ago

  • Fixed the problem that ScrollController was not applied to internal controls
  • Optimize RefreshController
  • RefreshController changed to required now
  • Add feature:reuqestRefresh can jumpTo Bottom or Top
  • Fix problem: Refresh can still be triggered when ScrollView is nested internally
  • Remove rendered twice to get indicator height,replaced by using height attribute in Config
  • change RefreshStatus from int to enum
flutter_pulltorefresh - V1.1.5

Published by peng8350 over 6 years ago

  • Fix problem of offsetChange
  • Fix CustomScrollView didn't work
  • Fix refreshIcon not reference in ClassialIndicator
flutter_pulltorefresh - V1.1.3

Published by peng8350 over 6 years ago

  • Fix contentList's item cannot be cached,Remove shrinkWrap,physics limit
  • Fix onOffsetChange callback error,In completion, failure, refresh state is also callback
  • Add unfollowIndicator implement in Demo(Example3)
flutter_pulltorefresh - V1.1.1

Published by peng8350 over 6 years ago

  • Make triigerDistance be equally vaild for LoadWrapper
  • Add enableOverScroll attribute
flutter_pulltorefresh - V1.1.0

Published by peng8350 over 6 years ago

Notice: This version of the code changes much, Api too

  • Transfer state changes to Wrapper of indicator to reduce unnecessary interface refresh.
  • No longer using Refreshmode or LoadMode,replaced int because the state is hard to determine.
  • Now support the ScrollView in the reverse mode
  • The indicators are divided into two categories, loadIndicator and refreshIndicator, and the two support header and footer
  • provided a controller to invoke some essential operations inside.
  • Move triggerDistance,completeTime such props to Config
  • Add ClassicIndicator Convenient construction indicator
flutter_pulltorefresh - V1.0.8

Published by peng8350 over 6 years ago

  • Reproducing bottom indicator, no more manual drag to load more
  • Control property values change more,Mainly:1.onModeChange => onRefreshChange,onLoadChange, 2.Add enableAutoLoadMore,3.Remove bottomVisiableRange
flutter_pulltorefresh - V1.0.7

Published by peng8350 over 6 years ago

  • Fix Bug1: The use of ListView as a container to cause a fatal error (continuous sliding) when the bottom control is reclaimed, using the SingleChildScrollView instead of preventing the base control from recovering many times from the exception
  • Fix Bug2: When the user continues to call at the same time in the two states of pull-down and drop down, the animation has no callback problem when it enters or fails.