ponnamkarthik / FlutterYoutube

Flutter Plugin to play youtube Videos
Apache License 2.0
126 stars 56 forks source link

Getting error on exiting the video #28

Open pavankumarmt opened 5 years ago

pavankumarmt commented 5 years ago

Whenever videos is exited from full screen getting this error, and app restarts, let me know how to resolve this issue.

Error Trace: D/FlutterNativeView(28944): FlutterView.send called on a detached view, channel=PonnamKarthik/flutter_youtube_stream I/flutter (28944): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════ I/flutter (28944): The following message was thrown during layout: I/flutter (28944): A RenderFlex overflowed by 74 pixels on the bottom. I/flutter (28944): I/flutter (28944): The overflowing RenderFlex has an orientation of Axis.vertical. I/flutter (28944): The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and I/flutter (28944): black striped pattern. This is usually caused by the contents being too big for the RenderFlex. I/flutter (28944): Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the I/flutter (28944): RenderFlex to fit within the available space instead of being sized to their natural size. I/flutter (28944): This is considered an error condition because it indicates that there is content that cannot be I/flutter (28944): seen. If the content is legitimately bigger than the available space, consider clipping it with a I/flutter (28944): ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex, I/flutter (28944): like a ListView. I/flutter (28944): The specific RenderFlex in question is: I/flutter (28944): RenderFlex#f7e41 relayoutBoundary=up1 OVERFLOWING I/flutter (28944): creator: Column ← Container ← Expanded ← Column ← Stack ← Listener ← _GestureSemantics ← I/flutter (28944): RawGestureDetector ← GestureDetector ← InkWell ← MediaQuery ← LayoutId-[<_ScaffoldSlot.body>] ← ⋯ I/flutter (28944): parentData: offset=Offset(190.0, 0.0); flex=2; fit=FlexFit.tight (can use size) I/flutter (28944): constraints: BoxConstraints(0.0<=w<=640.0, h=240.0) I/flutter (28944): size: Size(260.0, 240.0) I/flutter (28944): direction: vertical I/flutter (28944): mainAxisAlignment: center I/flutter (28944): mainAxisSize: max I/flutter (28944): crossAxisAlignment: center I/flutter (28944): verticalDirection: down I/flutter (28944): ◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤