这是indexloc提供的服务,不要输入任何密码
Skip to content

macos bug: Unhandled Exception: Failed assertion (negative padding) #90

@vrescobar

Description

@vrescobar

Compiling the example on Macos 14.5

Open the example, resize the window however you want, see console output, you will see:

[ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: 'package:flutter/src/rendering/object.dart': Failed assertion: line 3590 pos 12: 'attached': is not true.
#0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:67:4)
#1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:49:5)
#2      RenderObject.getTransformTo (package:flutter/src/rendering/object.dart:3590:12)
#3      RenderBox.localToGlobal (package:flutter/src/rendering/box.dart:3094:39)
#4      _VisualEffectSubviewContainerWithGlobalKeyState._updateVisualEffectSubview (package:flutter_acrylic/widgets/visual_effect_subview_container/visual_effect_subview_container_with_global_key.dart:155:35)
#5      _VisualEffectSubviewContainerWithGlobalKeyState._updateVisualEffectSubviewFromBuildMethodIfPermitted.<anonymous closure> (package:flutter_acrylic/widgets/visual_effect_subview_container/visual_effect_subview_container_with_global_key.dart:189:7)
#6      Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:18:15)
#7      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:410:19)
#8      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:441:5)
#9      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:193:12)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions