SliverExtra<T extends SliverWithKeepAliveWidget> extension

直接从控件列表生成CustomScorllView >>> 滚动布局扩展

为Sliver控件列表提供快速创建自定义滚动视图的扩展方法 适用于需要复杂滚动布局的场景

on

Methods

scrollView({Key? key, Axis scrollDirection = Axis.vertical, bool reverse = false, ScrollController? controller, bool? primary, ScrollPhysics? physics, ScrollBehavior? scrollBehavior, bool shrinkWrap = false, Key? center, double anchor = 0.0, double? cacheExtent, int? semanticChildCount, DragStartBehavior dragStartBehavior = DragStartBehavior.start, ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.onDrag, String? restorationId, Clip clipBehavior = Clip.hardEdge}) CustomScrollView

Available on List<T>, provided by the SliverExtra extension

创建自定义滚动视图