════════ Exception caught by widgets library ═════════════════════════════════════════════════
#35 创建于 2020年1月30日
描述
The following NoSuchMethodError was thrown building LayoutBuilder:
The method 'toDouble' was called on null.
Receiver: null
Tried calling: toDouble()
The relevant error-causing widget was: LayoutBuilder file:///Users/lib/presentation/calendar/calendar_screen.dart:214:12 When the exception was thrown, this was the stack: #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:53:5) #1 double.* (dart:core-patch/double.dart:38:23) #2 CalendarScreen._buildCalendarList (package:circles_app/presentation/calendar/calendar_screen.dart:149:37) #3 CalendarScreen._calendar. (package:circles_app/presentation/calendar/calendar_screen.dart:221:20) #4 _LayoutBuilderElement._layout. (package:flutter/src/widgets/layout_builder.dart) ... ════════════════════════════════════════════════════════════════════════════════════════════════════
════════ (2) Exception caught by rendering library ═════════════════════════════════════════════════ A RenderFlex overflowed by 99768 pixels on the right. The relevant error-causing widget was: Row file:///Users/lib/presentation/home/circles_drawer.dart:54:14 ════════════════════════════════════════════════════════════════════════════════════════════════════ [VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: 'package:flutter/src/widgets/scroll_controller.dart': Failed assertion: line 110 pos 12: '_positions.isNotEmpty': ScrollController not attached to any scroll views. #0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:42:39) #1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:38:5) #2 ScrollController.position (package:flutter/src/widgets/scroll_controller.dart:110:12) #3 ScrollController.offset (package:flutter/src/widgets/scroll_controller.dart:118:24) #4 CalendarScreen.build.. (package:circles_app/presentation/calendar/calendar_screen.dart:313:35) #5 new Future.delayed. (dart:async/future.dart:316:39) #6 _rootRun (dart:async/zone.dart:1122:38) #7 _CustomZone.run (dart:async/zone.dart:1023:19) #8 _CustomZone.runGuarded (dart:async/zone.dart:925:7) #9 _CustomZone.bindCallbackGuarded. (dart:async/z<…>
NB!!!! And does the emoji reactions, do they work cos i can't still figured it out.
