getNestedScrollViewInner function
Implementation
ScrollController? getNestedScrollViewInner(BuildContext context) {
final PrimaryScrollController? primaryScrollController =
context.dependOnInheritedWidgetOfExactType<PrimaryScrollController>();
if (primaryScrollController == null) {
throw ("未找到NestedScrollView");
} else {
return primaryScrollController.controller;
}
}