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

════════ Exception caught by widgets library ═════════════════════════════════════════════════ #35

Open
pojoba02 opened this issue Jan 30, 2020 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@pojoba02
Copy link

pojoba02 commented Jan 30, 2020

Simulator Screen Shot - iPhone 11 Pro Max - 2020-01-29 at 19 54 37
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.
Simulator Screen Shot - iPhone 11 Pro Max - 2020-01-29 at 19 54 37

@miquelbeltran miquelbeltran added the help wanted Extra attention is needed label Feb 7, 2020
fheinfling added a commit that referenced this issue Feb 21, 2020
When there is only one event we don't
need an offset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants