error log

error al usar la lib flutter_chart
mail@pastecode.io avatar
unknown
dart
2 years ago
7.1 kB
22
Indexable
Never
Restarted application in 445ms.

════════ Exception caught by rendering library ═════════════════════════════════
The following _CastError was thrown during performLayout():
type 'List<ArcRendererElement<dynamic>>' is not a subtype of type 'List<ArcRendererElement<Object>>?' in type cast

The relevant error-causing widget was
PieChart<dynamic>
When the exception was thrown, this was the stack
#0      TypedRegistry.getAttr
#1      MutableSeries.getAttr
#2      ArcRenderer.update.<anonymous closure>
#3      List.forEach (dart:core-patch/growable_array.dart:403:8)
#4      ArcRenderer.update
#5      BaseChart.onPostLayout.<anonymous closure>
#6      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:400:8)
#7      BaseChart.onPostLayout
#8      BaseChart.layout
#9      ChartContainerRenderObject.performLayout
#10     RenderObject.layout
#11     RenderProxyBoxMixin.performLayout
#12     RenderObject.layout
#13     RenderProxyBoxMixin.performLayout
#14     RenderObject.layout
#15     MultiChildLayoutDelegate.layoutChild
#16     WidgetLayoutDelegate.performLayout
#17     MultiChildLayoutDelegate._callPerformLayout
#18     RenderCustomMultiChildLayoutBox.performLayout
#19     RenderObject.layout
#20     ChildLayoutHelper.layoutChild
#21     RenderFlex._computeSizes
#22     RenderFlex.performLayout
#23     RenderObject.layout
#24     MultiChildLayoutDelegate.layoutChild
#25     _ScaffoldLayout.performLayout
#26     MultiChildLayoutDelegate._callPerformLayout
#27     RenderCustomMultiChildLayoutBox.performLayout
#28     RenderObject.layout
#29     RenderProxyBoxMixin.performLayout
#30     RenderObject.layout
#31     RenderProxyBoxMixin.performLayout
#32     _RenderCustomClip.performLayout
#33     RenderObject.layout
#34     RenderProxyBoxMixin.performLayout
#35     RenderObject.layout
#36     RenderProxyBoxMixin.performLayout
#37     RenderObject.layout
#38     RenderProxyBoxMixin.performLayout
#39     RenderObject.layout
#40     ChildLayoutHelper.layoutChild
#41     RenderStack._computeSize
#42     RenderStack.performLayout
#43     RenderObject.layout
#44     RenderProxyBoxMixin.performLayout
#45     RenderObject.layout
#46     RenderProxyBoxMixin.performLayout
#47     RenderObject.layout
#48     RenderProxyBoxMixin.performLayout
#49     RenderObject.layout
#50     RenderProxyBoxMixin.performLayout
#51     RenderObject.layout
#52     RenderProxyBoxMixin.performLayout
#53     RenderObject.layout
#54     RenderProxyBoxMixin.performLayout
#55     RenderObject.layout
#56     RenderOffstage.performLayout
#57     RenderObject.layout
#58     RenderProxyBoxMixin.performLayout
#59     RenderObject.layout
#60     _RenderTheatre.performLayout
#61     RenderObject._layoutWithoutResize
#62     PipelineOwner.flushLayout
#63     RendererBinding.drawFrame
#64     WidgetsBinding.drawFrame
#65     RendererBinding._handlePersistentFrameCallback
#66     SchedulerBinding._invokeFrameCallback
#67     SchedulerBinding.handleDrawFrame
#68     SchedulerBinding._handleDrawFrame
#72     _invoke (dart:ui/hooks.dart:166:10)
#73     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:270:5)
#74     _drawFrame (dart:ui/hooks.dart:129:31)
(elided 3 frames from dart:async)
The following RenderObject was being processed when the exception was fired: ChartContainerRenderObject<dynamic>#f56b7 NEEDS-LAYOUT NEEDS-PAINT
RenderObject: ChartContainerRenderObject<dynamic>#f56b7 NEEDS-LAYOUT NEEDS-PAINT
    parentData: <none> (can use size)
    constraints: BoxConstraints(w=390.0, h=741.0)
    semantic boundary
    size: MISSING
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
RenderBox was not laid out: ChartContainerRenderObject<dynamic>#f56b7 NEEDS-PAINT
'package:flutter/src/rendering/box.dart':
Failed assertion: line 1929 pos 12: 'hasSize'

The relevant error-causing widget was
PieChart<dynamic>
The following RenderObject was being processed when the exception was fired: RenderPointerListener#1f023 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
RenderObject: RenderPointerListener#1f023 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
    parentData: <none> (can use size)
    constraints: BoxConstraints(w=390.0, h=741.0)
    size: MISSING
    behavior: deferToChild
    listeners: down
    child: ChartContainerRenderObject<dynamic>#f56b7 NEEDS-PAINT
        parentData: <none> (can use size)
        constraints: BoxConstraints(w=390.0, h=741.0)
        semantic boundary
        size: MISSING
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
RenderBox was not laid out: RenderPointerListener#1f023 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
'package:flutter/src/rendering/box.dart':
Failed assertion: line 1929 pos 12: 'hasSize'

The relevant error-causing widget was
PieChart<dynamic>
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
RenderBox was not laid out: RenderSemanticsGestureHandler#0acd7 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
'package:flutter/src/rendering/box.dart':
Failed assertion: line 1929 pos 12: 'hasSize'

The relevant error-causing widget was
PieChart<dynamic>
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by rendering library ═════════════════════════════════
RenderBox was not laid out: ChartContainerRenderObject<dynamic>#f56b7
'package:flutter/src/rendering/box.dart':
Failed assertion: line 1929 pos 12: 'hasSize'

The relevant error-causing widget was
PieChart<dynamic>
════════════════════════════════════════════════════════════════════════════════