Pullable constructor
const
Pullable({
- Key? key,
- required Widget child,
- PullableConfig config = const PullableConfig(),
- RefreshController? controller,
- @Deprecated('Use config.onRefresh instead') Future<
void> onRefresh()?, - @Deprecated('Use config.headerType instead') String? headerStyle,
- @Deprecated('Use config.physics instead') ScrollPhysics? physics,
Default constructor with full configuration options
Implementation
const Pullable({
super.key,
required this.child,
this.config = const PullableConfig(),
this.controller,
// Backwards compatibility parameters
@Deprecated('Use config.onRefresh instead') this.onRefresh,
@Deprecated('Use config.headerType instead') this.headerStyle,
@Deprecated('Use config.physics instead') this.physics,
});