ScrollViewCustom constructor

ScrollViewCustom({
  1. required ScrollViewProperties properties,
  2. Key? key,
  3. ScrollPhysics? physics,
  4. ScrollBehavior? scrollBehavior,
  5. bool shrinkWrap = false,
  6. Key? center,
  7. double anchor = 0.0,
  8. double? cacheExtent,
  9. int? semanticChildCount,
  10. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  11. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  12. String? restorationId,
  13. Clip clipBehavior = Clip.hardEdge,
})

Implementation

ScrollViewCustom({
  required ScrollViewProperties properties,
  Key? key,
  ScrollPhysics? physics,
  ScrollBehavior? scrollBehavior,
  bool shrinkWrap = false,
  Key? center,
  double anchor = 0.0,
  double? cacheExtent,
  int? semanticChildCount,
  DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  ScrollViewKeyboardDismissBehavior keyboardDismissBehavior =
      ScrollViewKeyboardDismissBehavior.manual,
  String? restorationId,
  Clip clipBehavior = Clip.hardEdge,
})  : scrollStateKey = properties.scrollStateKey,
      super(
          key: key,
          primary: properties.primary,
          anchor: anchor,
          cacheExtent: cacheExtent,
          center: center,
          clipBehavior: clipBehavior,
          controller: properties.scrollController,
          dragStartBehavior: dragStartBehavior,
          keyboardDismissBehavior: keyboardDismissBehavior,
          physics: physics,
          restorationId: restorationId,
          reverse: properties.reverse,
          scrollBehavior: scrollBehavior,
          scrollDirection: properties.scrollDirection,
          semanticChildCount: semanticChildCount,
          shrinkWrap: shrinkWrap);