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

how to use it in the CustomScrollView? #89

Closed
lizhuoyuan opened this issue May 16, 2019 · 0 comments
Closed

how to use it in the CustomScrollView? #89

lizhuoyuan opened this issue May 16, 2019 · 0 comments

Comments

@lizhuoyuan
Copy link

lizhuoyuan commented May 16, 2019

html data:

<pre>this is html5
    this is html5
    this is html5
    this is html5
    this is html5
    this is html5
    this is html5
    this is html5
    this is html5
    this is html5
    this is html5
    this is html5
    </pre>
Container(
              color: Colors.white,
              child: CustomScrollView(
                controller: scrollController,
                slivers: <Widget>[
                  /* (newsData?.news?.type != null && newsData?.news?.type == 2)
                      ? SliverToBoxAdapter(
                          child: Column(
                          crossAxisAlignment: CrossAxisAlignment.start,
                          children: <Widget>[
                            Stack(children: <Widget>[
                              swiperContainer(context),
                              bakIconButton(context),
                            ]),
                            topTitle()
                          ],
                        ))
                      : */
                  SliverToBoxAdapter(
                    child: Container(
                      height: 200,
                      child: Html(
                        data: newsData?.news?.abstract,
                        useRichText: true,
                      ),
                    ),
                  ),
_newsWidgets()
.....

newsWidgets is a sliverList.
I think problem is about it.

2019-05-16 13:52:16.165 13456-13820/com.cari.promo.diskon I/flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
2019-05-16 13:52:16.173 13456-13820/com.cari.promo.diskon I/flutter: The following assertion was thrown building
2019-05-16 13:52:16.173 13456-13820/com.cari.promo.diskon I/flutter: RawGestureDetector-[LabeledGlobalKey<RawGestureDetectorState>#af2b6](state:
2019-05-16 13:52:16.173 13456-13820/com.cari.promo.diskon I/flutter: RawGestureDetectorState#093d5(gestures: <none>, behavior: opaque)):
2019-05-16 13:52:16.173 13456-13820/com.cari.promo.diskon I/flutter: A RenderSliverToBoxAdapter expected a child of type RenderBox but received a child of type
2019-05-16 13:52:16.173 13456-13820/com.cari.promo.diskon I/flutter: RenderSliverToBoxAdapter.
2019-05-16 13:52:16.173 13456-13820/com.cari.promo.diskon I/flutter: RenderObjects expect specific types of children because they coordinate with their children during
2019-05-16 13:52:16.173 13456-13820/com.cari.promo.diskon I/flutter: layout and paint. For example, a RenderSliver cannot be the child of a RenderBox because a
2019-05-16 13:52:16.173 13456-13820/com.cari.promo.diskon I/flutter: RenderSliver does not understand the RenderBox layout protocol.
2019-05-16 13:52:16.173 13456-13820/com.cari.promo.diskon I/flutter: The RenderSliverToBoxAdapter that expected a RenderBox child was created by:
2019-05-16 13:52:16.173 13456-13820/com.cari.promo.diskon I/flutter:   SliverToBoxAdapter ← Viewport ← IgnorePointer-[GlobalKey#677fb] ← Semantics ← Listener ←
2019-05-16 13:52:16.173 13456-13820/com.cari.promo.diskon I/flutter:   _GestureSemantics ← RawGestureDetector-[LabeledGlobalKey<RawGestureDetectorState>#af2b6] ←
2019-05-16 13:52:16.173 13456-13820/com.cari.promo.diskon I/flutter:   Listener ← _ScrollableScope ← _ScrollSemantics-[GlobalKey#9f8bd] ← RepaintBoundary ← CustomPaint ←
2019-05-16 13:52:16.173 13456-13820/com.cari.promo.diskon I/flutter:   ⋯
2019-05-16 13:52:16.173 13456-13820/com.cari.promo.diskon I/flutter: The RenderSliverToBoxAdapter that did not match the expected child type was created by:
2019-05-16 13:52:16.173 13456-13820/com.cari.promo.diskon I/flutter:   SliverToBoxAdapter ← SliverToBoxAdapter ← Viewport ← IgnorePointer-[GlobalKey#677fb] ← Semantics ←
2019-05-16 13:52:16.173 13456-13820/com.cari.promo.diskon I/flutter:   Listener ← _GestureSemantics ←
2019-05-16 13:52:16.173 13456-13820/com.cari.promo.diskon I/flutter:   RawGestureDetector-[LabeledGlobalKey<RawGestureDetectorState>#af2b6] ← Listener ← _ScrollableScope
2019-05-16 13:52:16.173 13456-13820/com.cari.promo.diskon I/flutter:   ← _ScrollSemantics-[GlobalKey#9f8bd] ← RepaintBoundary ← ⋯
2019-05-16 13:52:16.177 13456-13820/com.cari.promo.diskon I/flutter: When the exception was thrown, this was the stack:
2019-05-16 13:52:16.186 13456-13820/com.cari.promo.diskon I/flutter: #0      _RenderSliverSingleBoxAdapter&RenderSliver&RenderObjectWithChildMixin.debugValidateChild.<anonymous closure> (package:flutter/src/rendering/object.dart:2731:9)
2019-05-16 13:52:16.186 13456-13820/com.cari.promo.diskon I/flutter: #1      _RenderSliverSingleBoxAdapter&RenderSliver&RenderObjectWithChildMixin.debugValidateChild (package:flutter/src/rendering/object.dart:2748:6)
2019-05-16 13:52:16.186 13456-13820/com.cari.promo.diskon I/flutter: #2      SingleChildRenderObjectElement.insertChildRenderObject (package:flutter/src/widgets/framework.dart:4890:25)
2019-05-16 13:52:16.186 13456-13820/com.cari.promo.diskon I/flutter: #3      RenderObjectElement.attachRenderObject (package:flutter/src/widgets/framework.dart:4735:35)
2019-05-16 13:52:16.186 13456-13820/com.cari.promo.diskon I/flutter: #4      RenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4501:5)
2019-05-16 13:52:16.186 13456-13820/com.cari.promo.diskon I/flutter: #5      SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4875:11)
2019-05-16 13:52:16.186 13456-13820/com.cari.promo.diskon I/flutter: #6      Element.inflateWidget (package:flutter/src/widgets/framework.dart:2961:14)
2019-05-16 13:52:16.186 13456-13820/com.cari.promo.diskon I/flutter: #7      Element.updateChild (package:flutter/src/widgets/framework.dart:2764:12)
2019-05-16 13:52:16.186 13456-13820/com.cari.promo.diskon I/flutter: #8      SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4876:14)
2019-05-16 13:52:16.186 13456-13820/com.cari.promo.diskon I/flutter: #9      Element.inflateWidget (package:flutter/src/widgets/framework.dart:2961:14)
2019-05-16 13:52:16.186 13456-13820/com.cari.promo.diskon I/flutter: #10     MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4982:32)
2019-05-16 13:52:16.186 13456-13820/com.cari.promo.diskon I/flutter: #11     _ViewportElement.mount (package:flutter/src/widgets/viewport.dart:186:11)
2019-05-16 13:52:16.186 13456-13820/com.cari.promo.diskon I/flutter: #12     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2961:14)
2019-05-16 13:52:16.186 13456-13820/com.cari.promo.diskon I/flutter: #13     Element.updateChild (package:flutter/src/widgets/framework.dart:2764:12)
2019-05-16 13:52:16.186 13456-13820/com.cari.promo.diskon I/flutter: #14     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4876:14)
2019-05-16 13:52:16.186 13456-13820/com.cari.promo.diskon I/flutter: #15     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2961:14)
2019-05-16 13:52:16.186 13456-13820/com.cari.promo.diskon I/flutter: #16     Element.updateChild (package:flutter/src/widgets/framework.dart:2764:12)
2019-05-16 13:52:16.186 13456-13820/com.cari.promo.diskon I/flutter: #17     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4876:14)
2019-05-16 13:52:16.186 13456-13820/com.cari.promo.diskon I/flutter: #18     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2961:14)
2019-05-16 13:52:16.186 13456-13820/com.cari.promo.diskon I/flutter: #19     Element.updateChild (package:flutter/src/widgets/framework.dart:2764:12)
2019-05-16 13:52:16.186 13456-13820/com.cari.promo.diskon I/flutter: #20     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4876:14)
2019-05-16 13:52:16.187 13456-13820/com.cari.promo.diskon I/flutter: #21     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2961:14)
2019-05-16 13:52:16.187 13456-13820/com.cari.promo.diskon I/flutter: #22     Element.updateChild (package:flutter/src/widgets/framework.dart:2764:12)
2019-05-16 13:52:16.187 13456-13820/com.cari.promo.diskon I/flutter: #23     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4876:14)
2019-05-16 13:52:16.187 13456-13820/com.cari.promo.diskon I/flutter: #24     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2961:14)
2019-05-16 13:52:16.187 13456-13820/com.cari.promo.diskon I/flutter: #25     Element.updateChild (package:flutter/src/widgets/framework.dart:2764:12)
2019-05-16 13:52:16.187 13456-13820/com.cari.promo.diskon I/flutter: #26     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3750:16)
2019-05-16 13:52:16.187 13456-13820/com.cari.promo.diskon I/flutter: #27     Element.rebuild (package:flutter/src/widgets/framework.dart:3565:5)
2019-05-16 13:52:16.187 13456-13820/com.cari.promo.diskon I/flutter: #28     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3722:5)
2019-05-16 13:52:16.187 13456-13820/com.cari.promo.diskon I/flutter: #29     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3864:11)
2019-05-16 13:52:16.187 13456-13820/com.cari.promo.diskon I/flutter: #30     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3717:5)
2019-05-16 13:52:16.187 13456-13820/com.cari.promo.diskon I/flutter: #31     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2961:14)
2019-05-16 13:52:16.187 13456-13820/com.cari.promo.diskon I/flutter: #32     Element.updateChild (package:flutter/src/widgets/framework.dart:2764:12)
2019-05-16 13:52:16.187 13456-13820/com.cari.promo.diskon I/flutter: #33     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4876:14)
2019-05-16 13:52:16.187 13456-13820/com.cari.promo.diskon I/flutter: #34     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2961:14)
2019-05-16 13:52:16.187 13456-13820/com.cari.promo.diskon I/flutter: #35     Element.updateChild (package:flutter/src/widgets/framework.dart:2764:12)
2019-05-16 13:52:16.187 13456-13820/com.cari.promo.diskon I/flutter: #36     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3750:16)
2019-05-16 13:52:16.187 13456-13820/com.cari.promo.diskon I/flutter: #37     Element.rebuild (package:flutter/src/widgets/framework.dart:3565:5)
2019-05-16 13:52:16.187 13456-13820/com.cari.promo.diskon I/flutter: #38     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3722:5)
2019-05-16 13:52:16.187 13456-13820/com.cari.promo.diskon I/flutter: #39     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3717:5)
2019-05-16 13:52:16.187 13456-13820/com.cari.promo.diskon I/flutter: #40     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2961:14)
2019-05-16 13:52:16.187 13456-13820/com.cari.promo.diskon I/flutter: #41     Element.updateChild (package:flutter/src/widgets/framework.dart:2764:12)
2019-05-16 13:52:16.187 13456-13820/com.cari.promo.diskon I/flutter: #42     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4876:14)
2019-05-16 13:52:16.188 13456-13820/com.cari.promo.diskon I/flutter: #43     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2961:14)
2019-05-16 13:52:16.188 13456-13820/com.cari.promo.diskon I/flutter: #44     Element.updateChild (package:flutter/src/widgets/framework.dart:2764:12)
2019-05-16 13:52:16.188 13456-13820/com.cari.promo.diskon I/flutter: #45     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4876:14)
2019-05-16 13:52:16.188 13456-13820/com.cari.promo.diskon I/flutter: #46     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2961:14)
2019-05-16 13:52:16.188 13456-13820/com.cari.promo.diskon I/flutter: #47     Element.updateChild (package:flutter/src/widgets/framework.dart:2764:12)
2019-05-16 13:52:16.188 13456-13820/com.cari.promo.diskon I/flutter: #48     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4876:14)
2019-05-16 13:52:16.188 13456-13820/com.cari.promo.diskon I/flutter: #49     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2961:14)
2019-05-16 13:52:16.188 13456-13820/com.cari.promo.diskon I/flutter: #50     Element.updateChild (package:flutter/src/widgets/framework.dart:2764:12)
2019-05-16 13:52:16.188 13456-13820/com.cari.promo.diskon I/flutter: #51     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4876:14)
2019-05-16 13:52:16.188 13456-13820/com.cari.promo.diskon I/flutter: #52     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2961:14)
2019-05-16 13:52:16.188 13456-13820/com.cari.promo.diskon I/flutter: #53     Element.updateChild (package:flutter/src/widgets/framework.dart:2764:12)
2019-05-16 13:52:16.188 13456-13820/com.cari.promo.diskon I/flutter: #54     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3750:16)
2019-05-16 13:52:16.188 13456-13820/com.cari.promo.diskon I/flutter: #55     Element.rebuild (package:flutter/src/widgets/framework.dart:3565:5)
2019-05-16 13:52:16.188 13456-13820/com.cari.promo.diskon I/flutter: #56     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3722:5)
2019-05-16 13:52:16.188 13456-13820/com.cari.promo.diskon I/flutter: #57     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3717:5)
2019-05-16 13:52:16.188 13456-13820/com.cari.promo.diskon I/flutter: #58     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2961:14)
2019-05-16 13:52:16.188 13456-13820/com.cari.promo.diskon I/flutter: #59     Element.updateChild (package:flutter/src/widgets/framework.dart:2764:12)
2019-05-16 13:52:16.188 13456-13820/com.cari.promo.diskon I/flutter: #60     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3750:16)
2019-05-16 13:52:16.188 13456-13820/com.cari.promo.diskon I/flutter: #61     Element.rebuild (package:flutter/src/widgets/framework.dart:3565:5)
2019-05-16 13:52:16.188 13456-13820/com.cari.promo.diskon I/flutter: #62     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3722:5)
2019-05-16 13:52:16.188 13456-13820/com.cari.promo.diskon I/flutter: #63     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3864:11)
2019-05-16 13:52:16.188 13456-13820/com.cari.promo.diskon I/flutter: #64     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3717:5)
2019-05-16 13:52:16.188 13456-13820/com.cari.promo.diskon I/flutter: #65     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2961:14)
2019-05-16 13:52:16.188 13456-13820/com.cari.promo.diskon I/flutter: #66     Element.updateChild (package:flutter/src/widgets/framework.dart:2764:12)
2019-05-16 13:52:16.189 13456-13820/com.cari.promo.diskon I/flutter: #67     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3750:16)
2019-05-16 13:52:16.189 13456-13820/com.cari.promo.diskon I/flutter: #68     Element.rebuild (package:flutter/src/widgets/framework.dart:3565:5)
2019-05-16 13:52:16.189 13456-13820/com.cari.promo.diskon I/flutter: #69     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3722:5)
2019-05-16 13:52:16.189 13456-13820/com.cari.promo.diskon I/flutter: #70     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3864:11)
2019-05-16 13:52:16.189 13456-13820/com.cari.promo.diskon I/flutter: #71     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3717:5)
2019-05-16 13:52:16.189 13456-13820/com.cari.promo.diskon I/flutter: #72     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2961:14)
2019-05-16 13:52:16.189 13456-13820/com.cari.promo.diskon I/flutter: #73     Element.updateChild (package:flutter/src/widgets/framework.dart:2764:12)
2019-05-16 13:52:16.189 13456-13820/com.cari.promo.diskon I/flutter: #74     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3750:16)
2019-05-16 13:52:16.189 13456-13820/com.cari.promo.diskon I/flutter: #75     Element.rebuild (package:flutter/src/widgets/framework.dart:3565:5)
2019-05-16 13:52:16.189 13456-13820/com.cari.promo.diskon I/flutter: #76     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3722:5)
2019-05-16 13:52:16.189 13456-13820/com.cari.promo.diskon I/flutter: #77     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3717:5)
2019-05-16 13:52:16.189 13456-13820/com.cari.promo.diskon I/flutter: #78     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2961:14)
2019-05-16 13:52:16.189 13456-13820/com.cari.promo.diskon I/flutter: #79     Element.updateChild (package:flutter/src/widgets/framework.dart:2764:12)
2019-05-16 13:52:16.189 13456-13820/com.cari.promo.diskon I/flutter: #80     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4876:14)
2019-05-16 13:52:16.189 13456-13820/com.cari.promo.diskon I/flutter: #81     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2961:14)
2019-05-16 13:52:16.189 13456-13820/com.cari.promo.diskon I/flutter: #82     Element.updateChild (package:flutter/src/widgets/framework.dart:2764:12)
2019-05-16 13:52:16.189 13456-13820/com.cari.promo.diskon I/flutter: #83     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3750:16)
2019-05-16 13:52:16.189 13456-13820/com.cari.promo.diskon I/flutter: #84     Element.rebuild (package:flutter/src/widgets/framework.dart:3565:5)
2019-05-16 13:52:16.189 13456-13820/com.cari.promo.diskon I/flutter: #85     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3722:5)
2019-05-16 13:52:16.189 13456-13820/com.cari.promo.diskon I/flutter: #86     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3717:5)
2019-05-16 13:52:16.189 13456-13820/com.cari.promo.diskon I/flutter: #87     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2961:14)
2019-05-16 13:52:16.189 13456-13820/com.cari.promo.diskon I/flutter: #88     Element.updateChild (package:flutter/src/widgets/framework.dart:2764:12)
2019-05-16 13:52:16.189 13456-13820/com.cari.promo.diskon I/flutter: #89     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3750:16)
2019-05-16 13:52:16.189 13456-13820/com.cari.promo.diskon I/flutter: #90     Element.rebuild (package:flutter/src/widgets/framework.dart:3565:5)
2019-05-16 13:52:16.190 13456-13820/com.cari.promo.diskon I/flutter: #91     ProxyElement.update (package:flutter/src/widgets/framework.dart:4006:5)
2019-05-16 13:52:16.190 13456-13820/com.cari.promo.diskon I/flutter: #92     Element.updateChild (package:flutter/src/widgets/framework.dart:2753:15)
2019-05-16 13:52:16.190 13456-13820/com.cari.promo.diskon I/flutter: #93     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3750:16)
2019-05-16 13:52:16.190 13456-13820/com.cari.promo.diskon I/flutter: #94     Element.rebuild (package:flutter/src/widgets/framework.dart:3565:5)
2019-05-16 13:52:16.190 13456-13820/com.cari.promo.diskon I/flutter: #95     ProxyElement.update (package:flutter/src/widgets/framework.dart:4006:5)
2019-05-16 13:52:16.190 13456-13820/com.cari.promo.diskon I/flutter: #96     Element.updateChild (package:flutter/src/widgets/framework.dart:2753:15)
2019-05-16 13:52:16.190 13456-13820/com.cari.promo.diskon I/flutter: #97     RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4601:32)
2019-05-16 13:52:16.190 13456-13820/com.cari.promo.diskon I/flutter: #98     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4992:17)
2019-05-16 13:52:16.190 13456-13820/com.cari.promo.diskon I/flutter: #99     Element.updateChild (package:flutter/src/widgets/framework.dart:2753:15)
2019-05-16 13:52:16.190 13456-13820/com.cari.promo.diskon I/flutter: #100    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3750:16)
2019-05-16 13:52:16.190 13456-13820/com.cari.promo.diskon I/flutter: #101    Element.rebuild (package:flutter/src/widgets/framework.dart:3565:5)
2019-05-16 13:52:16.190 13456-13820/com.cari.promo.diskon I/flutter: #102    StatefulElement.update (package:flutter/src/widgets/framework.dart:3894:5)
2019-05-16 13:52:16.190 13456-13820/com.cari.promo.diskon I/flutter: #103    Element.updateChild (package:flutter/src/widgets/framework.dart:2753:15)
2019-05-16 13:52:16.190 13456-13820/com.cari.promo.diskon I/flutter: #104    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3750:16)
2019-05-16 13:52:16.190 13456-13820/com.cari.promo.diskon I/flutter: #105    Element.rebuild (package:flutter/src/widgets/framework.dart:3565:5)
2019-05-16 13:52:16.190 13456-13820/com.cari.promo.diskon I/flutter: #106    ProxyElement.update (package:flutter/src/widgets/framework.dart:4006:5)
2019-05-16 13:52:16.190 13456-13820/com.cari.promo.diskon I/flutter: #107    Element.updateChild (package:flutter/src/widgets/framework.dart:2753:15)
2019-05-16 13:52:16.190 13456-13820/com.cari.promo.diskon I/flutter: #108    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3750:16)
2019-05-16 13:52:16.190 13456-13820/com.cari.promo.diskon I/flutter: #109    Element.rebuild (package:flutter/src/widgets/framework.dart:3565:5)
2019-05-16 13:52:16.190 13456-13820/com.cari.promo.diskon I/flutter: #110    StatefulElement.update (package:flutter/src/widgets/framework.dart:3894:5)
2019-05-16 13:52:16.190 13456-13820/com.cari.promo.diskon I/flutter: #111    Element.updateChild (package:flutter/src/widgets/framework.dart:2753:15)
2019-05-16 13:52:16.190 13456-13820/com.cari.promo.diskon I/flutter: #112    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4883:14)
2019-05-16 13:52:16.190 13456-13820/com.cari.promo.diskon I/flutter: #113    Element.updateChild (package:flutter/src/widgets/framework.dart:2753:15)
2019-05-16 13:52:16.191 13456-13820/com.cari.promo.diskon I/flutter: #114    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3750:16)
2019-05-16 13:52:16.191 13456-13820/com.cari.promo.diskon I/flutter: #115    Element.rebuild (package:flutter/src/widgets/framework.dart:3565:5)
2019-05-16 13:52:16.191 13456-13820/com.cari.promo.diskon I/flutter: #116    StatelessElement.update (package:flutter/src/widgets/framework.dart:3796:5)
2019-05-16 13:52:16.191 13456-13820/com.cari.promo.diskon I/flutter: #117    Element.updateChild (package:flutter/src/widgets/framework.dart:2753:15)
2019-05-16 13:52:16.191 13456-13820/com.cari.promo.diskon I/flutter: #118    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4883:14)
2019-05-16 13:52:16.191 13456-13820/com.cari.promo.diskon I/flutter: #119    Element.updateChild (package:flutter/src/widgets/framework.dart:2753:15)
2019-05-16 13:52:16.191 13456-13820/com.cari.promo.diskon I/flutter: #120    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3750:16)
2019-05-16 13:52:16.191 13456-13820/com.cari.promo.diskon I/flutter: #121    Element.rebuild (package:flutter/src/widgets/framework.dart:3565:5)
2019-05-16 13:52:16.191 13456-13820/com.cari.promo.diskon I/flutter: #122    StatefulElement.update (package:flutter/src/widgets/framework.dart:3894:5)
2019-05-16 13:52:16.191 13456-13820/com.cari.promo.diskon I/flutter: #123    Element.updateChild (package:flutter/src/widgets/framework.dart:2753:15)
2019-05-16 13:52:16.191 13456-13820/com.cari.promo.diskon I/flutter: #124    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3750:16)
2019-05-16 13:52:16.191 13456-13820/com.cari.promo.diskon I/flutter: #125    Element.rebuild (package:flutter/src/widgets/framework.dart:3565:5)
2019-05-16 13:52:16.191 13456-13820/com.cari.promo.diskon I/flutter: #126    StatefulElement.update (package:flutter/src/widgets/framework.dart:3894:5)
2019-05-16 13:52:16.321 13456-13820/com.cari.promo.diskon I/flutter: -------e:DioError [DioErrorType.RESPONSE]: Http status error [500]
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: #127    Element.updateChild (package:flutter/src/widgets/framework.dart:2753:15)
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: #128    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3750:16)
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: #129    Element.rebuild (package:flutter/src/widgets/framework.dart:3565:5)
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: #130    ProxyElement.update (package:flutter/src/widgets/framework.dart:4006:5)
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: #131    Element.updateChild (package:flutter/src/widgets/framework.dart:2753:15)
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: #132    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3750:16)
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: #133    Element.rebuild (package:flutter/src/widgets/framework.dart:3565:5)
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: #134    ProxyElement.update (package:flutter/src/widgets/framework.dart:4006:5)
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: #135    Element.updateChild (package:flutter/src/widgets/framework.dart:2753:15)
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: #136    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3750:16)
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: #137    Element.rebuild (package:flutter/src/widgets/framework.dart:3565:5)
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: #138    StatefulElement.update (package:flutter/src/widgets/framework.dart:3894:5)
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: #139    Element.updateChild (package:flutter/src/widgets/framework.dart:2753:15)
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: #140    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3750:16)
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: #141    Element.rebuild (package:flutter/src/widgets/framework.dart:3565:5)
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: #142    BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2278:33)
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: #143    _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:700:20)
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: #144    _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:286:5)
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: #145    _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1012:15)
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: #146    _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:952:9)
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: #147    _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:864:5)
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: #151    _invoke (dart:ui/hooks.dart:219:10)
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: #152    _drawFrame (dart:ui/hooks.dart:178:3)
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: (elided 3 frames from package dart:async)
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 4869 pos 12: 'child == _child': is not true.
2019-05-16 13:52:17.195 13456-13820/com.cari.promo.diskon I/flutter: Another exception was thrown: Duplicate GlobalKey detected in widget tree.

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