RefresherBuilder typedef

RefresherBuilder = Widget Function(BuildContext context, RefreshPhysics physics)

用于将刷新功能与物理效果关联的构建函数类型

参数:

  • context:构建上下文
  • physics:滚动物理效果
  • 返回值:构建的刷新组件

Implementation

typedef RefresherBuilder = Widget Function(BuildContext context, RefreshPhysics physics);