Skip to content
New issue

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

Add widget to header to working #134

Open
Inihood1 opened this issue Jun 3, 2022 · 2 comments
Open

Add widget to header to working #134

Inihood1 opened this issue Jun 3, 2022 · 2 comments

Comments

@Inihood1
Copy link

Inihood1 commented Jun 3, 2022

I get the following error when adding a widget to the "header"

======== Exception caught by widgets library =======================================================
The following assertion was thrown while rebuilding dirty elements:
'package:flutter/src/widgets/framework.dart': Failed assertion: line 4479 pos 14: 'owner!._debugCurrentBuildTarget == this': is not true.

@demanhamed
Copy link

you need to wrap your widget with SliverToBoxAdapter :)

@kiloki-official
Copy link

Worked for me, thanks Elhushiy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants