flutter_swiper icon indicating copy to clipboard operation
flutter_swiper copied to clipboard

异常

Open congni opened this issue 6 years ago • 5 comments

Performing hot reload... Syncing files to device iPhone XR... flutter: ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════ flutter: The following assertion was thrown during performResize(): flutter: Horizontal viewport was given unbounded height. flutter: Viewports expand in the cross axis to fill their container and constrain their children to match flutter: their extent in the cross axis. In this case, a horizontal viewport was given an unlimited amount of flutter: vertical space in which to expand. flutter: flutter: When the exception was thrown, this was the stack: flutter: #0 RenderViewport.performResize. (package:flutter/src/rendering/viewport.dart:1170:15) flutter: #1 RenderViewport.performResize (package:flutter/src/rendering/viewport.dart:1182:6) flutter: #2 RenderObject.layout (package:flutter/src/rendering/object.dart:1619:9) flutter: #3 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #4 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #5 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #6 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #7 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #8 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #9 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #10 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #11 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #12 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #13 RenderStack.performLayout (package:flutter/src/rendering/stack.dart:510:15) flutter: #14 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #15 RenderFlex.performLayout (package:flutter/src/rendering/flex.dart:738:15) flutter: #16 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #17 RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:199:11) flutter: #18 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #19 _RenderSingleChildViewport.performLayout (package:flutter/src/widgets/single_child_scroll_view.dart:479:13) flutter: #20 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #21 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #22 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #23 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #24 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #25 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #26 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #27 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #28 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #29 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #30 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #31 MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:142:11) flutter: #32 _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:339:7) flutter: #33 MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:212:7) flutter: #34 RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:356:14) flutter: #35 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #36 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #37 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #38 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #39 _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1203:11) flutter: #40 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #41 MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:142:11) flutter: #42 _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:339:7) flutter: #43 MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:212:7) flutter: #44 RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:356:14) flutter: #45 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #46 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #47 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #48 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #49 _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1203:11) flutter: #50 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #51 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #52 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #53 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #54 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #55 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #56 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #57 RenderStack.performLayout (package:flutter/src/rendering/stack.dart:510:15) flutter: #58 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #59 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #60 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #61 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #62 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #63 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #64 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #65 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #66 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #67 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #68 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #69 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #70 RenderOffstage.performLayout (package:flutter/src/rendering/proxy_box.dart:2900:13) flutter: #71 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #72 RenderStack.performLayout (package:flutter/src/rendering/stack.dart:510:15) flutter: #73 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #74 __RenderTheatre&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #75 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #76 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #77 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #78 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #79 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #80 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #81 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #82 _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:104:13) flutter: #83 RenderObject.layout (package:flutter/src/rendering/object.dart:1634:7) flutter: #84 RenderView.performLayout (package:flutter/src/rendering/view.dart:147:13) flutter: #85 RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1509:7) flutter: #86 PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:768:18) flutter: #87 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:281:19) flutter: #88 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:677:13) flutter: #89 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:219:5) flutter: #90 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15) flutter: #91 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9) flutter: #92 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.scheduleWarmUpFrame. (package:flutter/src/scheduler/binding.dart:751:7) flutter: #94 _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19) flutter: #95 _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5) flutter: #96 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12) flutter: (elided one frame from package dart:async) flutter: flutter: The following RenderObject was being processed when the exception was fired: flutter: RenderViewport#5a6c0 NEEDS-LAYOUT NEEDS-PAINT flutter: creator: Viewport ← _ScrollableScope ← IgnorePointer-[GlobalKey#56e75] ← Semantics ← Listener ← flutter: _GestureSemantics ← RawGestureDetector-[LabeledGlobalKey<RawGestureDetectorState>#def13] ← flutter: _ScrollSemantics-[GlobalKey#7e946] ← Scrollable ← NotificationListener<ScrollNotification> ← flutter: PageView ← TransformerPageView ← ⋯ flutter: parentData: (can use size) flutter: constraints: BoxConstraints(0.0<=w<=414.0, 0.0<=h<=Infinity) flutter: size: MISSING flutter: axisDirection: right flutter: crossAxisDirection: down flutter: offset: _PagePosition#8ec34(offset: null, range: null..null, viewport: null, ScrollableState, flutter: PageScrollPhysics -> BouncingScrollPhysics, IdleScrollActivity#59401, ScrollDirection.idle) flutter: anchor: 0.0 flutter: This RenderObject had the following child: flutter: RenderSliverFillViewport#f5389 NEEDS-LAYOUT NEEDS-PAINT flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════ flutter: Another exception was thrown: RenderBox was not laid out: RenderViewport#5a6c0 NEEDS-LAYOUT NEEDS-PAINT flutter: Another exception was thrown: RenderBox was not laid out: RenderViewport#5a6c0 NEEDS-PAINT flutter: Another exception was thrown: RenderBox was not laid out: RenderIgnorePointer#cad1a relayoutBoundary=up17 NEEDS-PAINT Reloaded 2 of 462 libraries in 1,051ms. flutter: Another exception was thrown: RenderBox was not laid out: RenderSemanticsAnnotations#ff3ae relayoutBoundary=up16 NEEDS-PAINT flutter: Another exception was thrown: RenderBox was not laid out: RenderPointerListener#de652 relayoutBoundary=up15 NEEDS-PAINT flutter: Another exception was thrown: RenderBox was not laid out: RenderSemanticsGestureHandler#b7009 relayoutBoundary=up14 NEEDS-PAINT flutter: Another exception was thrown: RenderBox was not laid out: _RenderScrollSemantics#d3f87 relayoutBoundary=up13 NEEDS-PAINT flutter: Another exception was thrown: RenderBox was not laid out: RenderStack#d6290 relayoutBoundary=up12 NEEDS-PAINT flutter: Another exception was thrown: RenderBox was not laid out: RenderViewport#5a6c0 NEEDS-PAINT flutter: Another exception was thrown: 'package:flutter/src/widgets/scroll_position.dart': Failed assertion: line 683 pos 12: 'pixels != null': is not true. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null. flutter: Another exception was thrown: NoSuchMethodError: The method 'toDouble' was called on null.

congni avatar Feb 20 '19 02:02 congni

可以尝试将flutter切换到stable版本。

sma2lbao avatar Feb 22 '19 10:02 sma2lbao

可以尝试将flutter切换到stable版本。

切换到stable无效

zhuzheng1991 avatar Feb 25 '19 09:02 zhuzheng1991

Column( children: <Widget>[ Container( height: 200, child: Swiper( itemBuilder: (BuildContext context, int index) { return images[index]; }, autoplay: false, itemCount: images.length, ), ), Table( children: <TableRow>[ TableRow(children: <Widget>[ Container( color: menuBorderColor, margin: EdgeInsets.all(menuBorderPadding), padding: EdgeInsets.all(0.2), child: Image( image: AssetImage("assets/nine_point_nine.png"), height: menuHeight, fit: BoxFit.fill)), Container( color: menuBorderColor, margin: EdgeInsets.all(menuBorderPadding), padding: EdgeInsets.all(0.2), child: Image( image: AssetImage("assets/twenty_top.png"), height: menuHeight, fit: BoxFit.fill, )), Container( color: menuBorderColor, margin: EdgeInsets.all(menuBorderPadding), padding: EdgeInsets.all(0.2), child: Image( image: AssetImage("assets/big_payback.png"), height: menuHeight, fit: BoxFit.fill, )), ]), TableRow(children: <Widget>[ Container( color: menuBorderColor, margin: EdgeInsets.all(menuBorderPadding), padding: EdgeInsets.all(0.2), child: Image( image: AssetImage("assets/specail_price.png"), height: menuHeight, fit: BoxFit.fill)), Container( color: menuBorderColor, margin: EdgeInsets.all(menuBorderPadding), padding: EdgeInsets.all(0.2), child: Image( image: AssetImage("assets/other.png"), height: menuHeight, fit: BoxFit.fill, )), Container( color: menuBorderColor, margin: EdgeInsets.all(menuBorderPadding), padding: EdgeInsets.all(0.2), child: Image( image: AssetImage("assets/other.png"), height: menuHeight, fit: BoxFit.fill, )), ]), ], ), ], ),

我将Swiper放在Column下面会出现这个错误,如果在他们之间加一个Container,设置下高度,就不会出现这个问题了 感觉是Swiper和Column的组合存在问题

lowezheng avatar Mar 03 '19 12:03 lowezheng

Column( children: <Widget>[ Container( height: 200, child: Swiper( itemBuilder: (BuildContext context, int index) { return images[index]; }, autoplay: false, itemCount: images.length, ), ), Table( children: <TableRow>[ TableRow(children: <Widget>[ Container( color: menuBorderColor, margin: EdgeInsets.all(menuBorderPadding), padding: EdgeInsets.all(0.2), child: Image( image: AssetImage("assets/nine_point_nine.png"), height: menuHeight, fit: BoxFit.fill)), Container( color: menuBorderColor, margin: EdgeInsets.all(menuBorderPadding), padding: EdgeInsets.all(0.2), child: Image( image: AssetImage("assets/twenty_top.png"), height: menuHeight, fit: BoxFit.fill, )), Container( color: menuBorderColor, margin: EdgeInsets.all(menuBorderPadding), padding: EdgeInsets.all(0.2), child: Image( image: AssetImage("assets/big_payback.png"), height: menuHeight, fit: BoxFit.fill, )), ]), TableRow(children: <Widget>[ Container( color: menuBorderColor, margin: EdgeInsets.all(menuBorderPadding), padding: EdgeInsets.all(0.2), child: Image( image: AssetImage("assets/specail_price.png"), height: menuHeight, fit: BoxFit.fill)), Container( color: menuBorderColor, margin: EdgeInsets.all(menuBorderPadding), padding: EdgeInsets.all(0.2), child: Image( image: AssetImage("assets/other.png"), height: menuHeight, fit: BoxFit.fill, )), Container( color: menuBorderColor, margin: EdgeInsets.all(menuBorderPadding), padding: EdgeInsets.all(0.2), child: Image( image: AssetImage("assets/other.png"), height: menuHeight, fit: BoxFit.fill, )), ]), ], ), ], ),

我将Swiper放在Column下面会出现这个错误,如果在他们之间加一个Container,设置下高度,就不会出现这个问题了 感觉是Swiper和Column的组合存在问题 感谢,已解决

Flipped199 avatar Jun 08 '20 07:06 Flipped199

Column( children: <Widget>[ Container( height: 200, child: Swiper( itemBuilder: (BuildContext context, int index) { return images[index]; }, autoplay: false, itemCount: images.length, ), ), Table( children: <TableRow>[ TableRow(children: <Widget>[ Container( color: menuBorderColor, margin: EdgeInsets.all(menuBorderPadding), padding: EdgeInsets.all(0.2), child: Image( image: AssetImage("assets/nine_point_nine.png"), height: menuHeight, fit: BoxFit.fill)), Container( color: menuBorderColor, margin: EdgeInsets.all(menuBorderPadding), padding: EdgeInsets.all(0.2), child: Image( image: AssetImage("assets/twenty_top.png"), height: menuHeight, fit: BoxFit.fill, )), Container( color: menuBorderColor, margin: EdgeInsets.all(menuBorderPadding), padding: EdgeInsets.all(0.2), child: Image( image: AssetImage("assets/big_payback.png"), height: menuHeight, fit: BoxFit.fill, )), ]), TableRow(children: <Widget>[ Container( color: menuBorderColor, margin: EdgeInsets.all(menuBorderPadding), padding: EdgeInsets.all(0.2), child: Image( image: AssetImage("assets/specail_price.png"), height: menuHeight, fit: BoxFit.fill)), Container( color: menuBorderColor, margin: EdgeInsets.all(menuBorderPadding), padding: EdgeInsets.all(0.2), child: Image( image: AssetImage("assets/other.png"), height: menuHeight, fit: BoxFit.fill, )), Container( color: menuBorderColor, margin: EdgeInsets.all(menuBorderPadding), padding: EdgeInsets.all(0.2), child: Image( image: AssetImage("assets/other.png"), height: menuHeight, fit: BoxFit.fill, )), ]), ], ), ], ), 我将Swiper放在Column下面会出现这个错误,如果在他们之间加一个Container,设置下高度,就不会出现这个问题了 感觉是Swiper和Column的组合存在问题 感谢,已解决

这里正解!

moneyBreak avatar Apr 10 '23 12:04 moneyBreak