Dialog in flutter won't work

135 views
Skip to first unread message

Sherif Hassan

unread,
May 15, 2019, 6:20:38 PM5/15/19
to Flutter Dev
I want to make something like dialog because dialog won't showing in some mobile devices 
any help in that

Sherif Hassan

unread,
May 15, 2019, 7:02:16 PM5/15/19
to Flutter Dev
This the exception I got

Exception
I/flutter (10721): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter (10721): The following assertion was thrown during performLayout():
I/flutter (10721): RenderShrinkWrappingViewport does not support returning intrinsic dimensions.
I/flutter (10721): Calculating the intrinsic dimensions would require instantiating every child of the viewport, which
I/flutter (10721): defeats the point of viewports being lazy.
I/flutter (10721): If you are merely trying to shrink-wrap the viewport in the main axis direction, you should be able
I/flutter (10721): to achieve that effect by just giving the viewport loose constraints, without needing to measure its
I/flutter (10721): intrinsic dimensions.
I/flutter (10721):

Battleaxes

unread,
May 16, 2019, 7:24:16 AM5/16/19
to Flutter Dev
Hi,

I'm not sure what you are attepting to do, but your error message gave quite alot of info. Have you read it?
Do you have some code to share?

Good luck
Reply all
Reply to author
Forward
0 new messages