fl_scroll_view library

Classes

AlignedGridView
BezierBackground
Bezier curve background.
BezierCircleHeader
Bezier circle footer. https://dribbble.com/shots/1797373-Pull-Down-To-Refresh
BezierFooter
Bezier footer.
BezierHeader
Bezier header.
BuilderFooter
Build footer widget use IndicatorBuilder.
BuilderHeader
Build header widget use IndicatorBuilder.
ClassicFooter
Classic footer.
ClassicHeader
Classic header.
CupertinoFooter
Cupertino footer. https://github.com/THEONE10211024/WaterDropListView
CupertinoHeader
Cupertino header. https://github.com/THEONE10211024/WaterDropListView
DeliveryFooter
Delivery footer. https://dribbble.com/shots/2753803-Refresh-your-delivery
DeliveryHeader
Delivery footer. https://dribbble.com/shots/2753803-Refresh-your-delivery
EasyRefresh
A flutter widget that provides pull-down refresh and pull-up load.
EasyRefreshController
Controls a EasyRefresh widget. Control refresh, loading and indicator states.
EasyRefreshData
EasyRefresh needs to share data
ERScrollBehavior
Define ScrollBehavior in the scope of EasyRefresh. Add support for web and PC.
FlEasyRefresh
FlEasyRefreshConfig
FlRefreshScrollView
可刷新的滚动组件 嵌套 sliver 家族组件
FlScrollListGrid
带下拉刷新的列表 / 网格滚动组件,内部组合 FlSliverListGrid。
FlSliverListGrid
组合 SliverList、SliverGrid、SliverFixedExtentList、SliverPrototypeExtentList、 SliverMasonryGrid、SliverAlignedGrid 以及 quilted / staired / woven 图案网格。
FlSliverPersistentHeader
初始化 delegate 参数
FlSliverPersistentHeaderDelegate
SliverPersistentHeader 固定
FlSliverPinnedToBoxAdapter
固定在视口顶部的 header,语义行为对齐 Flutter 的 PinnedHeaderSliver。
Footer indicator.
FooterLocator
Find Footer's Location Put the last item in the list it will smartly show Footer
FooterNotifier
Footer notifier Footer status and Notifications
Header indicator.
HeaderLocator
Find Header's Location Put the first item in the list it will smartly show Header
HeaderNotifier
Header notifier Header status and Notifications
Indicator
Refresh and loading indicator. Indicator configuration and widget builder.
IndicatorNotifier
Indicator data and trigger notification.
IndicatorState
Indicator properties and state.
IndicatorStateListenable
Indicator state listenable.
ListenerFooter
Listener footer. Listen to the indicator state and respond anywhere.
ListenerHeader
Listener header. Listen to the indicator state and respond anywhere.
ListGridAlignedLayout
ListGridLayout.aligned 的具体类型,可用于 switch (layout) 分支。
ListGridGridLayout
ListGridLayout.grid 的具体类型,可用于 switch (layout) 分支。
ListGridLayout
FlSliverListGrid / FlScrollListGrid 的布局配置(密封类)。
ListGridListLayout
ListGridLayout.list 的具体类型,可用于 switch (layout) 分支。
ListGridMasonryLayout
ListGridLayout.masonry 的具体类型,可用于 switch (layout) 分支。
ListGridQuiltedLayout
ListGridLayout.quilted 的具体类型,可用于 switch (layout) 分支。
ListGridStairedLayout
ListGridLayout.staired 的具体类型,可用于 switch (layout) 分支。
ListGridWovenLayout
ListGridLayout.woven 的具体类型,可用于 switch (layout) 分支。
MasonryGridView
MaterialFooter
Material footer.
MaterialHeader
Material header.
NoScrollBehavior
NotLoadFooter
Parameters when EasyRefresh.onLoad is null. Overscroll behavior of ScrollView.
NotRefreshHeader
Parameters when EasyRefresh.onRefresh is null. Overscroll behavior of ScrollView.
OverrideFooter
Override the Footer parameter. First of all you have to make it clear that this is feasible, otherwise please don't use it.
OverrideHeader
Override the Header parameter. First of all you have to make it clear that this is feasible, otherwise please don't use it.
PhoenixFooter
Phoenix footer. https://github.com/Yalantis/Phoenix
PhoenixHeader
Phoenix header. https://github.com/Yalantis/Phoenix
QuiltedGridRepeatPattern
QuiltedGridTile
SecondaryBuilderFooter
Secondary builder footer.
SecondaryBuilderHeader
Secondary builder header.
SecondaryFooter
Secondary footer. Combine existing Footer with secondary.
SecondaryHeader
Secondary header. Combine existing Header with secondary.
SliverAlignedGrid
SliverMasonryGrid
SliverQuiltedGridDelegate
SliverSimpleGridDelegate
SliverSimpleGridDelegateWithFixedCrossAxisCount
SliverSimpleGridDelegateWithMaxCrossAxisExtent
SliverStairedGridDelegate
SliverWovenGridDelegate
StaggeredGrid
StaggeredGridDelegate
StaggeredGridDelegateWithFixedCrossAxisCount
StaggeredGridDelegateWithMaxCrossAxisExtent
StaggeredGridTile
StairedGridTile
TaurusFooter
Taurus footer. https://github.com/Yalantis/Taurus
TaurusHeader
Taurus header. https://github.com/Yalantis/Taurus
WovenGridTile

Enums

FlEasyRefreshResult
刷新操作结果,可从 FlEasyRefreshConfig.onRefresh / onLoad 返回, 由库自动调用 EasyRefreshController.call;也可在回调内自行 controller.finishRefresh(...)。
IndicatorMode
The current state of the indicator (Header or Footer).
IndicatorPosition
The position of the indicator.
IndicatorResult
The status returned after the task is completed.
IndicatorTriggerMode
Defines how a Header or Footer can be triggered by a user drag.

Constants

kBezierBackgroundDisappearDuration → const Duration
Default disappear animation duration.
kBezierCircleDisappearDuration → const Duration
kDefaultSecondaryCloseTriggerOffset → const double
The default secondary close trigger offset.
kDefaultSecondaryVelocity → const double
The default opening speed of the secondary.
kDeliveryDisappearDuration → const Duration
Delivery indicator disappear animation duration.
kDeliveryTriggerOffset → const double
Delivery indicator trigger offset.
kMaterialSpring → const SpringDescription
Spring description used by material when bezier background animation is true.
kTaurusDisappearDuration → const Duration
Taurus indicator disappear animation duration.

Functions

kBezierFrictionFactor(double overscrollFraction) → double
Friction factor used by bezier curves.
kBezierHorizontalFrictionFactor(double overscrollFraction) → double
Horizontal friction factor used by bezier curves.
kBezierSpringBuilder({required IndicatorMode mode, required double offset, required double actualTriggerOffset, required double velocity}) → SpringDescription
Spring used by bezier curves. Creates a rubber band-like bouncing effect with gradual damping.
kCupertinoFrictionFactor(double overscrollFraction) → double
kCupertinoHorizontalFrictionFactor(double overscrollFraction) → double
kMaterialFrictionFactor(double overscrollFraction) → double
Friction factor used by material.
kMaterialHorizontalFrictionFactor(double overscrollFraction) → double
Friction factor used by material horizontal.
kMaterialReadySpringBuilder({required IndicatorMode mode, required double offset, required double actualTriggerOffset, required double velocity}) → SpringDescription
Spring description used by material.

Typedefs

BezierSpinBuilder = Widget Function(BuildContext context, double value)
A builder that builds a spin widget. context BuildContext. value Animation value.
CanProcessCallBack = bool Function()
Indicator widget builder.
CIMessageBuilder = Widget Function(BuildContext context, IndicatorState state, String text, DateTime dateTime)
Message widget builder.
CIPullIconBuilder = Widget Function(BuildContext context, IndicatorState state, double animation)
Pull icon widget builder.
CITextBuilder = Widget Function(BuildContext context, IndicatorState state, String text)
Text widget builder.
ERChildBuilder = Widget Function(BuildContext context, ScrollPhysics physics)
EasyRefresh child builder. Provide ScrollPhysics, and use it in your ScrollView. ScrollPhysics will not be scoped.
ERScrollBehaviorBuilder = ScrollBehavior Function(ScrollPhysics? physics)
FlEasyRefreshCallback = FutureOr Function(EasyRefreshController controller)
FlEasyRefreshConfig.onRefresh / onLoad 回调。
FrictionFactor = double Function(double overscrollFraction)
The multiple applied to overscroll to make it appear that scrolling past the edge of the scrollable contents is harder than scrolling the list. This is done by reducing the ratio of the scroll effect output vs the scroll gesture input.
IndicatorBuilder = Widget Function(BuildContext context, IndicatorState state)
Indicator widget builder.
ModeChangeListener = void Function(IndicatorMode mode, double offset)
Mode change listener.
SecondaryIndicatorBuilder = Widget Function(BuildContext context, IndicatorState state, Indicator indicator)
Secondary indicator widget builder.
SpringBuilder = SpringDescription Function({required double actualTriggerOffset, required IndicatorMode mode, required double offset, required double velocity})
Build spring with IndicatorMode and offset. mode Indicator mode. offset Indicator offset. actualTriggerOffset Indicator actual trigger offset. velocity Indicator actual trigger offset.