Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I/flutter ( 9105): [2024-11-21 14:29:55.024187 | Catcher 2 | INFO] ---------- ERROR ----------
I/flutter ( 9105): [2024-11-21 14:29:55.025009 | Catcher 2 | INFO] A RenderViewport expected a child of type RenderSliver but received a child of type RenderErrorBox.
I/flutter ( 9105): RenderObjects expect specific types of children because they coordinate with their children during layout and paint. For example, a RenderSliver cannot be the child of a RenderBox because a RenderSliver does not understand the RenderBox layout protocol.
I/flutter ( 9105):
I/flutter ( 9105): The RenderViewport that expected a RenderSliver child was created by:
I/flutter ( 9105): Viewport ← IgnorePointer-[GlobalKey#56717] ← Semantics ← Listener ← _GestureSemantics ← RawGestureDetector-[LabeledGlobalKey#4bdea] ← Listener ← _ScrollableScope ← _ScrollSemantics-[GlobalKey#a2f4a] ← NotificationListener ← Transform ← ClipRect ← ⋯
I/flutter ( 9105):
I/flutter ( 9105): The RenderErrorBox that did not match the expected child type was created by:
I/flutter ( 9105): ErrorWidget-[#fc8b5] ← FutureBuilder ← Viewport ← IgnorePointer-[GlobalKey#56717] ← Semantics ← Listener ← _GestureSema
if (_videoReplyController.replyList.isNotEmpty || (data && data['status'])) 这句代码由于data类型是Map 而不是bool 导致错误 返回ErrorRenderBox 与CustomScrollView需要的SliverRenderBox不一致 进而引发上述错误 该问题在ios上会直接导致页面无法响应手势 只能杀进程 当前flutter版本 3.24.5