PrimaryScrollControllerModifier constructor

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

Creates a widget that associates a ScrollController with a subtree.

Implementation

const PrimaryScrollControllerModifier({
  super.key,
  super.child,
  super.modifierKey,
  this.controller,
  this.automaticallyInheritForPlatforms = _kMobilePlatforms,
  this.scrollDirection = Axis.vertical,
});