PrimaryScrollController constructor

const PrimaryScrollController({
  1. Key? key,
  2. required ScrollController controller,
  3. Set<TargetPlatform> automaticallyInheritForPlatforms = _kMobilePlatforms,
  4. Axis? scrollDirection = Axis.vertical,
  5. required Widget child,
})

Creates a widget that associates a ScrollController with a subtree.

Implementation

const PrimaryScrollController({
  super.key,
  required ScrollController this.controller,
  this.automaticallyInheritForPlatforms = _kMobilePlatforms,
  this.scrollDirection = Axis.vertical,
  required super.child,
});