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

Pagination widget not working in a column #9

Open
viratshukla opened this issue Nov 10, 2019 · 1 comment
Open

Pagination widget not working in a column #9

viratshukla opened this issue Nov 10, 2019 · 1 comment

Comments

@viratshukla
Copy link

viratshukla commented Nov 10, 2019

Hi, When I tried to use Pagination widget inside a column, then its throwing error. Can anyone provide me some pointer to fix this issue.

@viratshukla viratshukla changed the title Paging widget not working in a column Pagination widget not working in a column Nov 10, 2019
@viratshukla
Copy link
Author

I fixed it by putting my Pagination widget in ConstrainedBox. So its like -
SingleChildScrollView ( Column ( Widget1(), ConstraintBox (Pagination())),)

It has temporarily fixed the problem.
For now, I have I have placed maxHeight: MediaQuery.of(context).size.height - 236, for ConstraintBox.
Is there any specific method to find remaining height of screen

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

1 participant