We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
需要增加一个参数:bodyIsFillRemaining来决定是否使用_ExtendedSliverFillRemainingWithScrollable
List _buildSlivers(BuildContext context, ScrollController innerController, bool bodyIsScrolled) { return [ ...headerSliverBuilder(context, bodyIsScrolled), bodyIsFillRemaining ? _ExtendedSliverFillRemainingWithScrollable( child: PrimaryScrollController( automaticallyInheritForPlatforms: TargetPlatform.values.toSet(), controller: innerController, child: body, ), ) : SliverToBoxAdapter( child: PrimaryScrollController( automaticallyInheritForPlatforms: TargetPlatform.values.toSet(), controller: innerController, child: body, ), ), ]; }
The text was updated successfully, but these errors were encountered:
无所谓的。release 没影响。因为可以滚动,也不会真正溢出
Sorry, something went wrong.
zmtzawqlp
No branches or pull requests
Content
需要增加一个参数:bodyIsFillRemaining来决定是否使用_ExtendedSliverFillRemainingWithScrollable
List _buildSlivers(BuildContext context,
ScrollController innerController, bool bodyIsScrolled) {
return [
...headerSliverBuilder(context, bodyIsScrolled),
bodyIsFillRemaining ? _ExtendedSliverFillRemainingWithScrollable(
child: PrimaryScrollController(
automaticallyInheritForPlatforms: TargetPlatform.values.toSet(),
controller: innerController,
child: body,
),
) : SliverToBoxAdapter(
child: PrimaryScrollController(
automaticallyInheritForPlatforms: TargetPlatform.values.toSet(),
controller: innerController,
child: body,
),
),
];
}
The text was updated successfully, but these errors were encountered: