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

Unexpected null value on Flutter Web #2343

Open
1 task done
noacavalcante opened this issue Oct 31, 2024 · 0 comments
Open
1 task done

Unexpected null value on Flutter Web #2343

noacavalcante opened this issue Oct 31, 2024 · 0 comments
Labels
bug Something isn't working minor Minimal impact or cosmetic issue. Can be resolved at a later time without affecting overall function

Comments

@noacavalcante
Copy link

noacavalcante commented Oct 31, 2024

Is there an existing issue for this?

Flutter Quill version

10.8.5

Steps to reproduce

  1. Flutter Version
    Flutter 3.24.3 for Web built in Canvas kit

  2. My implementation

AlertDialog(
  ...,
  content: Column(
    mainAxisSize: MainAxisSize.min,
    children: [
      ...,
      Expanded(
        child: Container(
          decoration: BoxDecoration(
            color: Colors.white,
            border: Border.fromBorderSide(
              BorderSide(color: Colors.black.withOpacity(0.25)),
            ),
            borderRadius: const BorderRadius.all(Radius.circular(10)),
          ),
          child: Column(
            children: [
              QuillSimpleToolbar(
                controller: _controller,
                configurations: const QuillSimpleToolbarConfigurations(
                  multiRowsDisplay: false,  // <----- set this, removing it fixes the issue
                  // showFontFamily: false,    <----- tried to reactivate them all
                  // showInlineCode: false,
                  // showSuperscript: false,
                  // showSubscript: false,
                  // showColorButton: false,
                  // showListCheck: false,
                  // showCodeBlock: false,
                  // showSearchButton: false,
                  // showClipboardCut: false,
                  // showClipboardCopy: false,
                  // showClipboardPaste: false,
                ),
              ),
              Divider(
                thickness: 1,
                color: Colors.black.withOpacity(0.25),
              ),
              Expanded(
                child: QuillEditor.basic(
                  controller: _controller,
                  configurations: QuillEditorConfigurations(),
                ),
              ),
            ],
          ),
        ),
      ),
    ],
  ),
  actions: [
    ...,
  ],
),

Expected results

Toolbar icons display on one line, I don't want the 3 extra icons on the second line.
Screenshot 2024-10-31 at 11 28 35

Actual results

Unexpected null value + layout crash.
See logs for more informations.

Additional Context

Logs
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ #0   packages/../init.dart 157:7                                 <fn>
├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
│ ⛔ [
│ ⛔   "Unexpected null value.",
│ ⛔   "dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 296:3
throw_\ndart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 606:18
nullCheck\npackages/flutter/src/widgets/scroll_position.dart 224:49
get minScrollExtent\npackages/flutter_quill/src/toolbar/buttons/arrow_indicated_list_button.dart 78:48
<fn>\npackages/flutter/src/widgets/framework.dart 1203:30
setState\npackages/flutter_quill/src/toolbar/buttons/arrow_indicated_list_button.dart 76:5
[_handleScroll]\ndart-sdk/lib/async/zone.dart 1391:47
_rootRun\ndart-sdk/lib/async/zone.dart 1301:19
run\ndart-sdk/lib/async/zone.dart 1209:7
runGuarded\ndart-sdk/lib/async/zone.dart 1249:23
<fn>\ndart-sdk/lib/async/zone.dart 1399:13
_rootRun\ndart-sdk/lib/async/zone.dart 1301:19
run\ndart-sdk/lib/async/zone.dart 1233:23
<fn>\ndart-sdk/lib/_internal/js_dev_runtime/private/isolate_helper.dart 48:11
internalCallback\n"
│ ⛔ ]
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

======== Exception caught by rendering library =====================================================
The following assertion was thrown during performLayout():
RenderViewport does not support returning intrinsic dimensions.

Calculating the intrinsic dimensions would require instantiating every child of the viewport, which defeats the point of viewports being lazy.

If you are merely trying to shrink-wrap the viewport in the main axis direction, consider a RenderShrinkWrappingViewport render object (ShrinkWrappingViewport widget), which achieves that effect without implementing the intrinsic dimension API.

The relevant error-causing widget was: 
  AlertDialog AlertDialog:file:///../email_composer_admin_dialog.dart:24:38
When the exception was thrown, this was the stack: 
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 296:3     throw_
packages/flutter/src/rendering/viewport.dart 491:9                              <fn>
packages/flutter/src/rendering/viewport.dart 504:14                             debugThrowIfNotCheckingIntrinsics
packages/flutter/src/rendering/viewport.dart 517:12                             computeMaxIntrinsicWidth
packages/flutter/src/rendering/box.dart 1052:49                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 195:23       putIfAbsent
packages/flutter/src/rendering/box.dart 1051:96                                 memoize
packages/flutter/src/rendering/box.dart 1549:31                                 [_computeWithTimeline]
packages/flutter/src/rendering/box.dart 1527:26                                 [_computeIntrinsics]
packages/flutter/src/rendering/box.dart 1732:12                                 getMaxIntrinsicWidth
packages/flutter/src/rendering/proxy_box.dart 78:19                             computeMaxIntrinsicWidth
packages/flutter/src/rendering/box.dart 1052:49                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 195:23       putIfAbsent
packages/flutter/src/rendering/box.dart 1051:96                                 memoize
packages/flutter/src/rendering/box.dart 1549:31                                 [_computeWithTimeline]
packages/flutter/src/rendering/box.dart 1527:26                                 [_computeIntrinsics]
packages/flutter/src/rendering/box.dart 1732:12                                 getMaxIntrinsicWidth
packages/flutter/src/rendering/proxy_box.dart 78:19                             computeMaxIntrinsicWidth
packages/flutter/src/rendering/box.dart 1052:49                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 195:23       putIfAbsent
packages/flutter/src/rendering/box.dart 1051:96                                 memoize
packages/flutter/src/rendering/box.dart 1549:31                                 [_computeWithTimeline]
packages/flutter/src/rendering/box.dart 1527:26                                 [_computeIntrinsics]
packages/flutter/src/rendering/box.dart 1732:12                                 getMaxIntrinsicWidth
packages/flutter/src/rendering/proxy_box.dart 78:19                             computeMaxIntrinsicWidth
packages/flutter/src/rendering/box.dart 1052:49                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 195:23       putIfAbsent
packages/flutter/src/rendering/box.dart 1051:96                                 memoize
packages/flutter/src/rendering/box.dart 1549:31                                 [_computeWithTimeline]
packages/flutter/src/rendering/box.dart 1527:26                                 [_computeIntrinsics]
packages/flutter/src/rendering/box.dart 1732:12                                 getMaxIntrinsicWidth
packages/flutter/src/rendering/proxy_box.dart 78:19                             computeMaxIntrinsicWidth
packages/flutter/src/rendering/box.dart 1052:49                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 195:23       putIfAbsent
packages/flutter/src/rendering/box.dart 1051:96                                 memoize
packages/flutter/src/rendering/box.dart 1549:31                                 [_computeWithTimeline]
packages/flutter/src/rendering/box.dart 1527:26                                 [_computeIntrinsics]
packages/flutter/src/rendering/box.dart 1732:12                                 getMaxIntrinsicWidth
packages/flutter/src/rendering/proxy_box.dart 78:19                             computeMaxIntrinsicWidth
packages/flutter/src/rendering/box.dart 1052:49                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 195:23       putIfAbsent
packages/flutter/src/rendering/box.dart 1051:96                                 memoize
packages/flutter/src/rendering/box.dart 1549:31                                 [_computeWithTimeline]
packages/flutter/src/rendering/box.dart 1527:26                                 [_computeIntrinsics]
packages/flutter/src/rendering/box.dart 1732:12                                 getMaxIntrinsicWidth
packages/flutter/src/rendering/proxy_box.dart 78:19                             computeMaxIntrinsicWidth
packages/flutter/src/rendering/box.dart 1052:49                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 195:23       putIfAbsent
packages/flutter/src/rendering/box.dart 1051:96                                 memoize
packages/flutter/src/rendering/box.dart 1549:31                                 [_computeWithTimeline]
packages/flutter/src/rendering/box.dart 1527:26                                 [_computeIntrinsics]
packages/flutter/src/rendering/box.dart 1732:12                                 getMaxIntrinsicWidth
packages/flutter/src/rendering/proxy_box.dart 78:19                             computeMaxIntrinsicWidth
packages/flutter/src/rendering/box.dart 1052:49                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 195:23       putIfAbsent
packages/flutter/src/rendering/box.dart 1051:96                                 memoize
packages/flutter/src/rendering/box.dart 1549:31                                 [_computeWithTimeline]
packages/flutter/src/rendering/box.dart 1527:26                                 [_computeIntrinsics]
packages/flutter/src/rendering/box.dart 1732:12                                 getMaxIntrinsicWidth
packages/flutter/src/rendering/proxy_box.dart 78:19                             computeMaxIntrinsicWidth
packages/flutter/src/rendering/custom_paint.dart 521:18                         computeMaxIntrinsicWidth
packages/flutter/src/rendering/box.dart 1052:49                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 195:23       putIfAbsent
packages/flutter/src/rendering/box.dart 1051:96                                 memoize
packages/flutter/src/rendering/box.dart 1549:31                                 [_computeWithTimeline]
packages/flutter/src/rendering/box.dart 1527:26                                 [_computeIntrinsics]
packages/flutter/src/rendering/box.dart 1732:12                                 getMaxIntrinsicWidth
packages/flutter/src/rendering/proxy_box.dart 78:19                             computeMaxIntrinsicWidth
packages/flutter/src/rendering/box.dart 1052:49                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 195:23       putIfAbsent
packages/flutter/src/rendering/box.dart 1051:96                                 memoize
packages/flutter/src/rendering/box.dart 1549:31                                 [_computeWithTimeline]
packages/flutter/src/rendering/box.dart 1527:26                                 [_computeIntrinsics]
packages/flutter/src/rendering/box.dart 1732:12                                 getMaxIntrinsicWidth
packages/flutter/src/rendering/proxy_box.dart 78:19                             computeMaxIntrinsicWidth
packages/flutter/src/rendering/box.dart 1052:49                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 195:23       putIfAbsent
packages/flutter/src/rendering/box.dart 1051:96                                 memoize
packages/flutter/src/rendering/box.dart 1549:31                                 [_computeWithTimeline]
packages/flutter/src/rendering/box.dart 1527:26                                 [_computeIntrinsics]
packages/flutter/src/rendering/box.dart 1732:12                                 getMaxIntrinsicWidth
packages/flutter/src/rendering/proxy_box.dart 78:19                             computeMaxIntrinsicWidth
packages/flutter/src/rendering/box.dart 1052:49                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 195:23       putIfAbsent
packages/flutter/src/rendering/box.dart 1051:96                                 memoize
packages/flutter/src/rendering/box.dart 1549:31                                 [_computeWithTimeline]
packages/flutter/src/rendering/box.dart 1527:26                                 [_computeIntrinsics]
packages/flutter/src/rendering/box.dart 1732:12                                 getMaxIntrinsicWidth
packages/flutter/src/rendering/proxy_box.dart 78:19                             computeMaxIntrinsicWidth
packages/flutter/src/rendering/box.dart 1052:49                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 195:23       putIfAbsent
packages/flutter/src/rendering/box.dart 1051:96                                 memoize
packages/flutter/src/rendering/box.dart 1549:31                                 [_computeWithTimeline]
packages/flutter/src/rendering/box.dart 1527:26                                 [_computeIntrinsics]
packages/flutter/src/rendering/box.dart 1732:12                                 getMaxIntrinsicWidth
packages/flutter/src/rendering/proxy_box.dart 78:19                             computeMaxIntrinsicWidth
packages/flutter/src/rendering/box.dart 1052:49                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 195:23       putIfAbsent
packages/flutter/src/rendering/box.dart 1051:96                                 memoize
packages/flutter/src/rendering/box.dart 1549:31                                 [_computeWithTimeline]
packages/flutter/src/rendering/box.dart 1527:26                                 [_computeIntrinsics]
packages/flutter/src/rendering/box.dart 1732:12                                 getMaxIntrinsicWidth
packages/flutter/src/rendering/flex.dart 661:59                                 <fn>
packages/flutter/src/rendering/flex.dart 611:48                                 [_getIntrinsicSize]
packages/flutter/src/rendering/flex.dart 658:12                                 computeMaxIntrinsicWidth
packages/flutter/src/rendering/box.dart 1052:49                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 195:23       putIfAbsent
packages/flutter/src/rendering/box.dart 1051:96                                 memoize
packages/flutter/src/rendering/box.dart 1549:31                                 [_computeWithTimeline]
packages/flutter/src/rendering/box.dart 1527:26                                 [_computeIntrinsics]
packages/flutter/src/rendering/box.dart 1732:12                                 getMaxIntrinsicWidth
packages/flutter/src/rendering/shifted_box.dart 173:14                          computeMaxIntrinsicWidth
packages/flutter/src/rendering/box.dart 1052:49                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 195:23       putIfAbsent
packages/flutter/src/rendering/box.dart 1051:96                                 memoize
packages/flutter/src/rendering/box.dart 1549:31                                 [_computeWithTimeline]
packages/flutter/src/rendering/box.dart 1527:26                                 [_computeIntrinsics]
packages/flutter/src/rendering/box.dart 1732:12                                 getMaxIntrinsicWidth
packages/flutter/src/rendering/proxy_box.dart 78:19                             computeMaxIntrinsicWidth
packages/flutter/src/rendering/box.dart 1052:49                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 195:23       putIfAbsent
packages/flutter/src/rendering/box.dart 1051:96                                 memoize
packages/flutter/src/rendering/box.dart 1549:31                                 [_computeWithTimeline]
packages/flutter/src/rendering/box.dart 1527:26                                 [_computeIntrinsics]
packages/flutter/src/rendering/box.dart 1732:12                                 getMaxIntrinsicWidth
packages/flutter/src/rendering/proxy_box.dart 78:19                             computeMaxIntrinsicWidth
packages/flutter/src/rendering/proxy_box.dart 248:32                            computeMaxIntrinsicWidth
packages/flutter/src/rendering/box.dart 1052:49                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 195:23       putIfAbsent
packages/flutter/src/rendering/box.dart 1051:96                                 memoize
packages/flutter/src/rendering/box.dart 1549:31                                 [_computeWithTimeline]
packages/flutter/src/rendering/box.dart 1527:26                                 [_computeIntrinsics]
packages/flutter/src/rendering/box.dart 1732:12                                 getMaxIntrinsicWidth
packages/flutter/src/rendering/proxy_box.dart 78:19                             computeMaxIntrinsicWidth
packages/flutter/src/rendering/box.dart 1052:49                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 195:23       putIfAbsent
packages/flutter/src/rendering/box.dart 1051:96                                 memoize
packages/flutter/src/rendering/box.dart 1549:31                                 [_computeWithTimeline]
packages/flutter/src/rendering/box.dart 1527:26                                 [_computeIntrinsics]
packages/flutter/src/rendering/box.dart 1732:12                                 getMaxIntrinsicWidth
packages/flutter/src/rendering/flex.dart 661:59                                 <fn>
packages/flutter/src/rendering/flex.dart 637:27                                 layoutChild
packages/flutter/src/rendering/flex.dart 985:73                                 [_computeSizes]
packages/flutter/src/rendering/flex.dart 643:9                                  [_getIntrinsicSize]
packages/flutter/src/rendering/flex.dart 658:12                                 computeMaxIntrinsicWidth
packages/flutter/src/rendering/box.dart 1052:49                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 195:23       putIfAbsent
packages/flutter/src/rendering/box.dart 1051:96                                 memoize
packages/flutter/src/rendering/box.dart 1549:31                                 [_computeWithTimeline]
packages/flutter/src/rendering/box.dart 1527:26                                 [_computeIntrinsics]
packages/flutter/src/rendering/box.dart 1732:12                                 getMaxIntrinsicWidth
packages/flutter/src/rendering/shifted_box.dart 173:14                          computeMaxIntrinsicWidth
packages/flutter/src/rendering/box.dart 1052:49                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 195:23       putIfAbsent
packages/flutter/src/rendering/box.dart 1051:96                                 memoize
packages/flutter/src/rendering/box.dart 1549:31                                 [_computeWithTimeline]
packages/flutter/src/rendering/box.dart 1527:26                                 [_computeIntrinsics]
packages/flutter/src/rendering/box.dart 1732:12                                 getMaxIntrinsicWidth
packages/flutter/src/rendering/proxy_box.dart 78:19                             computeMaxIntrinsicWidth
packages/flutter/src/rendering/box.dart 1052:49                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 195:23       putIfAbsent
packages/flutter/src/rendering/box.dart 1051:96                                 memoize
packages/flutter/src/rendering/box.dart 1549:31                                 [_computeWithTimeline]
packages/flutter/src/rendering/box.dart 1527:26                                 [_computeIntrinsics]
packages/flutter/src/rendering/box.dart 1732:12                                 getMaxIntrinsicWidth
packages/flutter/src/rendering/flex.dart 661:59                                 <fn>
packages/flutter/src/rendering/flex.dart 637:27                                 layoutChild
packages/flutter/src/rendering/flex.dart 1009:71                                [_computeSizes]
packages/flutter/src/rendering/flex.dart 643:9                                  [_getIntrinsicSize]
packages/flutter/src/rendering/flex.dart 658:12                                 computeMaxIntrinsicWidth
packages/flutter/src/rendering/box.dart 1052:49                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 195:23       putIfAbsent
packages/flutter/src/rendering/box.dart 1051:96                                 memoize
packages/flutter/src/rendering/box.dart 1549:31                                 [_computeWithTimeline]
packages/flutter/src/rendering/box.dart 1527:26                                 [_computeIntrinsics]
packages/flutter/src/rendering/box.dart 1732:12                                 getMaxIntrinsicWidth
packages/flutter/src/rendering/proxy_box.dart 78:19                             computeMaxIntrinsicWidth
packages/flutter/src/rendering/box.dart 1052:49                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 195:23       putIfAbsent
packages/flutter/src/rendering/box.dart 1051:96                                 memoize
packages/flutter/src/rendering/box.dart 1549:31                                 [_computeWithTimeline]
packages/flutter/src/rendering/box.dart 1527:26                                 [_computeIntrinsics]
packages/flutter/src/rendering/box.dart 1732:12                                 getMaxIntrinsicWidth
packages/flutter/src/rendering/shifted_box.dart 173:14                          computeMaxIntrinsicWidth
packages/flutter/src/rendering/box.dart 1052:49                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 195:23       putIfAbsent
packages/flutter/src/rendering/box.dart 1051:96                                 memoize
packages/flutter/src/rendering/box.dart 1549:31                                 [_computeWithTimeline]
packages/flutter/src/rendering/box.dart 1527:26                                 [_computeIntrinsics]
packages/flutter/src/rendering/box.dart 1732:12                                 getMaxIntrinsicWidth
packages/flutter/src/rendering/flex.dart 661:59                                 <fn>
packages/flutter/src/rendering/flex.dart 637:27                                 layoutChild
packages/flutter/src/rendering/flex.dart 1009:71                                [_computeSizes]
packages/flutter/src/rendering/flex.dart 643:9                                  [_getIntrinsicSize]
packages/flutter/src/rendering/flex.dart 658:12                                 computeMaxIntrinsicWidth
packages/flutter/src/rendering/box.dart 1052:49                                 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 195:23       putIfAbsent
packages/flutter/src/rendering/box.dart 1051:96                                 memoize
packages/flutter/src/rendering/box.dart 1549:31                                 [_computeWithTimeline]
packages/flutter/src/rendering/box.dart 1527:26                                 [_computeIntrinsics]
packages/flutter/src/rendering/box.dart 1732:12                                 getMaxIntrinsicWidth
packages/flutter/src/rendering/proxy_box.dart 715:65                            [_childConstraints]
packages/flutter/src/rendering/proxy_box.dart 722:70                            [_computeSize]
packages/flutter/src/rendering/proxy_box.dart 742:12                            performLayout
packages/flutter/src/rendering/object.dart 2608:7                               layout
packages/flutter/src/rendering/proxy_box.dart 111:21                            <fn>
packages/flutter/src/rendering/object.dart 2608:7                               layout
packages/flutter/src/rendering/proxy_box.dart 111:21                            <fn>
packages/flutter/src/rendering/custom_paint.dart 569:11                         performLayout
packages/flutter/src/rendering/object.dart 2608:7                               layout
packages/flutter/src/rendering/proxy_box.dart 111:21                            <fn>
packages/flutter/src/rendering/proxy_box.dart 1448:11                           performLayout
packages/flutter/src/rendering/object.dart 2608:7                               layout
packages/flutter/src/rendering/proxy_box.dart 291:7                             performLayout
packages/flutter/src/rendering/object.dart 2608:7                               layout
packages/flutter/src/rendering/shifted_box.dart 451:7                           performLayout
packages/flutter/src/rendering/object.dart 2608:7                               layout
packages/flutter/src/rendering/shifted_box.dart 234:5                           performLayout
packages/flutter/src/rendering/object.dart 2608:7                               layout
packages/flutter/src/rendering/shifted_box.dart 234:5                           performLayout
packages/flutter/src/rendering/object.dart 2608:7                               layout
packages/flutter/src/rendering/shifted_box.dart 234:5                           performLayout
packages/flutter/src/rendering/object.dart 2608:7                               layout
packages/flutter/src/rendering/proxy_box.dart 111:21                            <fn>
packages/flutter/src/rendering/object.dart 2608:7                               layout
packages/flutter/src/rendering/proxy_box.dart 111:21                            <fn>
packages/flutter/src/rendering/object.dart 2608:7                               layout
packages/flutter/src/rendering/proxy_box.dart 111:21                            <fn>
packages/flutter/src/rendering/object.dart 2608:7                               layout
packages/flutter/src/rendering/proxy_box.dart 111:21                            <fn>
packages/flutter/src/rendering/object.dart 2608:7                               layout
packages/flutter/src/rendering/proxy_box.dart 111:21                            <fn>
packages/flutter/src/rendering/object.dart 2608:7                               layout
packages/flutter/src/rendering/proxy_box.dart 111:21                            <fn>
packages/flutter/src/rendering/object.dart 2608:7                               layout
packages/flutter/src/rendering/proxy_box.dart 111:21                            <fn>
packages/flutter/src/rendering/proxy_box.dart 3728:13                           performLayout
packages/flutter/src/rendering/object.dart 2608:7                               layout
packages/flutter/src/rendering/proxy_box.dart 111:21                            <fn>
packages/flutter/src/rendering/object.dart 2608:7                               layout
packages/flutter/src/widgets/overlay.dart 1002:12                               layoutChild
packages/flutter/src/widgets/overlay.dart 1311:9                                performLayout
packages/flutter/src/rendering/object.dart 2446:7                               [_layoutWithoutResize]
packages/flutter/src/rendering/object.dart 1052:17                              flushLayout
packages/flutter/src/rendering/object.dart 1065:14                              flushLayout
packages/flutter/src/rendering/binding.dart 602:5                               drawFrame
packages/flutter/src/widgets/binding.dart 1164:13                               drawFrame
packages/flutter/src/rendering/binding.dart 468:5                               [_handlePersistentFrameCallback]
packages/flutter/src/scheduler/binding.dart 1397:7                              [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1318:9                              handleDrawFrame
packages/flutter/src/scheduler/binding.dart 1176:5                              [_handleDrawFrame]
dart-sdk/lib/async/zone.dart 1399:13                                            _rootRun
dart-sdk/lib/async/zone.dart 1301:19                                            run
dart-sdk/lib/async/zone.dart 1209:7                                             runGuarded
lib/_engine/engine/platform_dispatcher.dart 1410:9                              invoke
lib/_engine/engine/platform_dispatcher.dart 310:5                               invokeOnDrawFrame
lib/_engine/engine/initialization.dart 187:36                                   <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/js_allow_interop_patch.dart 188:27  _callDartFunctionFast1
The following RenderObject was being processed when the exception was fired: RenderIntrinsicWidth#0a4b6 relayoutBoundary=up5 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
...  parentData: <none> (can use size)
...  constraints: BoxConstraints(280.0<=w<=1840.0, 0.0<=h<=920.0)
...  size: MISSING
...  stepWidth: null
...  stepHeight: null
RenderObject: RenderIntrinsicWidth#0a4b6 relayoutBoundary=up5 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
  parentData: <none> (can use size)
  constraints: BoxConstraints(280.0<=w<=1840.0, 0.0<=h<=920.0)
  size: MISSING
  stepWidth: null
  stepHeight: null
...  child: RenderFlex#1089e NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
...    parentData: <none>
...    constraints: MISSING
...    size: MISSING
...    direction: vertical
...    mainAxisAlignment: start
...    mainAxisSize: min
...    crossAxisAlignment: stretch
...    verticalDirection: down
...    child 1: RenderPadding#e9af7 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
...      parentData: offset=Offset(0.0, 0.0); flex=null; fit=null
...      constraints: MISSING
...      size: MISSING
...      padding: EdgeInsets(24.0, 24.0, 24.0, 0.0)
...      textDirection: ltr
...      child: RenderSemanticsAnnotations#48902 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
...        parentData: offset=Offset(0.0, 0.0)
...        constraints: MISSING
...        semantic boundary
...        size: MISSING
...        child: RenderParagraph#707a0 NEEDS-LAYOUT NEEDS-PAINT
...          parentData: <none>
...          constraints: MISSING
...          size: MISSING
...          textAlign: start
...          textDirection: ltr
...          softWrap: wrapping at box width
...          overflow: clip
...          locale: fr
...          maxLines: unlimited
...    child 2: RenderPadding#98ab1 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
...      parentData: offset=Offset(0.0, 0.0); flex=1; fit=FlexFit.loose
...      constraints: MISSING
...      size: MISSING
...      padding: EdgeInsets(24.0, 16.0, 24.0, 24.0)
...      textDirection: ltr
...      child: RenderSemanticsAnnotations#61157 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
...        parentData: offset=Offset(0.0, 0.0)
...        constraints: MISSING
...        semantic boundary
...        size: MISSING
...        child: RenderFlex#e7d81 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
...          parentData: <none>
...          constraints: MISSING
...          size: MISSING
...          direction: vertical
...          mainAxisAlignment: start
...          mainAxisSize: min
...          crossAxisAlignment: center
...          verticalDirection: down
...    child 3: RenderPadding#244d5 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
...      parentData: offset=Offset(0.0, 0.0); flex=null; fit=null
...      constraints: MISSING
...      size: MISSING
...      padding: EdgeInsets(24.0, 0.0, 24.0, 24.0)
...      textDirection: ltr
...      child: _RenderOverflowBar#4bca1 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
...        parentData: offset=Offset(0.0, 0.0)
...        constraints: MISSING
...        size: MISSING
...        spacing: 8.0
...        overflowAlignment: end
...        textDirection: ltr
...        child 1: RenderSemanticsAnnotations#a4779 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
...          parentData: offset=Offset(0.0, 0.0)
...          constraints: MISSING
...          semantic boundary
...          size: MISSING
...        child 2: RenderSemanticsAnnotations#de4e3 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
...          parentData: offset=Offset(0.0, 0.0)
...          constraints: MISSING
...          semantic boundary
...          size: MISSING
====================================================================================================
@noacavalcante noacavalcante added the bug Something isn't working label Oct 31, 2024
@noacavalcante noacavalcante changed the title Unexpected null value Unexpected null value on Flutter Web Oct 31, 2024
@CatHood0 CatHood0 added the minor Minimal impact or cosmetic issue. Can be resolved at a later time without affecting overall function label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working minor Minimal impact or cosmetic issue. Can be resolved at a later time without affecting overall function
Projects
None yet
Development

No branches or pull requests

2 participants