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

Refactor 008: Error Handling #534

Merged
merged 7 commits into from
Sep 17, 2024
Merged

Refactor 008: Error Handling #534

merged 7 commits into from
Sep 17, 2024

Conversation

violet-dev
Copy link
Member

No description provided.

══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═════════════════════════════════════════════════════led during build.
This Obx widget cannot be marked══════
The following assertion was thrown building LayoutBuilder:
setState() or markNeedsBuild() cal as needing to build because the framework is already in the process
of building widgets. A widget can be marked as needing to be built during the build phase only if
one of its ancestors is currently building. This exception is allowed because the framework builds
parent widgets before children, which means a dirty descendant will always be built. Otherwise, the
framework might not visit this widget during this build phase.
The widget on which setState() or markNeedsBuild() was called was:
  Obx
The widget which was currently being built when the offending call was made was:
  LayoutBuilder

The relevant error-causing widget was:
  OrientationBuilder
  OrientationBuilder:file:///G:/Dev2/violet-project/violet/lib/pages/viewer/horizontal_viewer_page.dart:94:20
@violet-dev violet-dev marked this pull request as ready for review September 17, 2024 07:29
@violet-dev violet-dev added this pull request to the merge queue Sep 17, 2024
Merged via the queue into dev with commit 2af468b Sep 17, 2024
5 checks passed
@violet-dev violet-dev deleted the err-handles branch September 17, 2024 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant