primaryScrollController property
ScrollController?
primaryScrollController
Returns the scroll controller from the closest widgets.PrimaryScrollController ancestor.
context.primaryScrollController
is equivalent to
widgets.PrimaryScrollController.of.
Implementation
widgets.ScrollController? get primaryScrollController {
return widgets.PrimaryScrollController.of(this);
}