You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I downloaded the zip and ran the project
It was good but then I added something in pubspec.yaml and then this error popup.
======== Exception caught by rendering library =====================================================
The following assertion was thrown during performLayout():
Assertion failed: file:///H:/src/flutter/flutter/packages/flutter/lib/src/rendering/box.dart:2001:12
hasSize
"RenderBox was not laid out: RenderPointerListener#724c3 relayoutBoundary=up13 NEEDS-PAINT"
======== Exception caught by rendering library =====================================================
The following assertion was thrown during performLayout():
Assertion failed: file:///H:/src/flutter/flutter/packages/flutter/lib/src/rendering/box.dart:2001:12
hasSize
"RenderBox was not laid out: RenderSemanticsGestureHandler#c7b97 relayoutBoundary=up12 NEEDS-PAINT"
the solution is to add in this file : recent_ Files
you can find it in : lib/Screens/dashbord/components/recent_files.dart
this : height: 400, inside SizedBox
I downloaded the zip and ran the project
It was good but then I added something in pubspec.yaml and then this error popup.
======== Exception caught by rendering library =====================================================
The following assertion was thrown during performLayout():
Assertion failed: file:///H:/src/flutter/flutter/packages/flutter/lib/src/rendering/box.dart:2001:12
hasSize
"RenderBox was not laid out: RenderPointerListener#724c3 relayoutBoundary=up13 NEEDS-PAINT"
The relevant error-causing widget was:
SingleChildScrollView SingleChildScrollView:file:///H:/Flutter-Responsive-Admin-Panel-or-Dashboard-master/Flutter-Responsive-Admin-Panel-or-Dashboard-master/lib/screens/dashboard/dashboard_screen.dart:15:14
When the exception was thrown, this was the stack:
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/internal/js_dev_runtime/private/ddc_runtime/errors.dart 266:49 throw
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 29:3 assertFailed
packages/flutter/src/rendering/box.dart 2001:12 get size
packages/flutter/src/rendering/proxy_box.dart 121:14 performLayout
packages/flutter/src/rendering/object.dart 2135:7 layout
packages/flutter/src/rendering/box.dart 2418:11 layout
packages/flutter/src/rendering/proxy_box.dart 120:7 performLayout
packages/flutter/src/rendering/object.dart 2135:7 layout
packages/flutter/src/rendering/box.dart 2418:11 layout
packages/flutter/src/rendering/proxy_box.dart 120:7 performLayout
packages/flutter/src/rendering/object.dart 2135:7 layout
packages/flutter/src/rendering/box.dart 2418:11 layout
packages/flutter/src/rendering/proxy_box.dart 120:7 performLayout
packages/flutter/src/rendering/object.dart 2135:7 layout
packages/flutter/src/rendering/box.dart 2418:11 layout
packages/flutter/src/rendering/proxy_box.dart 120:7 performLayout
packages/flutter/src/rendering/custom_paint.dart 552:11 performLayout
packages/flutter/src/rendering/object.dart 2135:7 layout
packages/flutter/src/rendering/box.dart 2418:11 layout
packages/flutter/src/rendering/proxy_box.dart 120:7 performLayout
packages/flutter/src/rendering/object.dart 2135:7 layout
packages/flutter/src/rendering/box.dart 2418:11 layout
packages/flutter/src/rendering/proxy_box.dart 120:7 performLayout
packages/flutter/src/rendering/object.dart 2135:7 layout
packages/flutter/src/rendering/box.dart 2418:11 layout
packages/flutter/src/rendering/proxy_box.dart 120:7 performLayout
packages/flutter/src/rendering/object.dart 2135:7 layout
packages/flutter/src/rendering/box.dart 2418:11 layout
packages/flutter/src/rendering/proxy_box.dart 120:7 performLayout
packages/flutter/src/rendering/object.dart 2135:7 layout
packages/flutter/src/rendering/box.dart 2418:11 layout
packages/flutter/src/rendering/shifted_box.dart 249:5 performLayout
packages/flutter/src/rendering/object.dart 2135:7 layout
packages/flutter/src/rendering/box.dart 2418:11 layout
packages/flutter/src/rendering/layout_helper.dart 56:10 layoutChild
packages/flutter/src/rendering/flex.dart 903:45 [_computeSizes]
packages/flutter/src/rendering/flex.dart 938:32 performLayout
packages/flutter/src/rendering/object.dart 2135:7 layout
packages/flutter/src/rendering/box.dart 2418:11 layout
packages/flutter/src/rendering/shifted_box.dart 249:5 performLayout
packages/flutter/src/rendering/object.dart 2135:7 layout
packages/flutter/src/rendering/box.dart 2418:11 layout
packages/flutter/src/rendering/custom_layout.dart 171:10 layoutChild
packages/flutter/src/material/scaffold.dart 1055:7 performLayout
packages/flutter/src/rendering/custom_layout.dart 240:7 [_callPerformLayout]
packages/flutter/src/rendering/custom_layout.dart 410:14 performLayout
packages/flutter/src/rendering/object.dart 1973:7 [_layoutWithoutResize]
packages/flutter/src/rendering/object.dart 999:17 flushLayout
packages/flutter/src/rendering/binding.dart 513:19 drawFrame
packages/flutter/src/widgets/binding.dart 884:13 drawFrame
packages/flutter/src/rendering/binding.dart 378:5 [_handlePersistentFrameCallback]
packages/flutter/src/scheduler/binding.dart 1175:15 [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1104:9 handleDrawFrame
packages/flutter/src/scheduler/binding.dart 1015:5 [_handleDrawFrame]
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/platform_dispatcher.dart 1168:13 invoke
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/platform_dispatcher.dart 219:5 invokeOnDrawFrame
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/initialization.dart 195:45
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 334:14 _checkAndCall
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 339:39 dcall
The following RenderObject was being processed when the exception was fired: RenderSemanticsGestureHandler#c7b97 relayoutBoundary=up12 NEEDS-LAYOUT NEEDS-PAINT
... needs compositing
... parentData: (can use size)
... constraints: BoxConstraints(w=1025.0, 0.0<=h<=594.0)
... size: MISSING
... behavior: opaque
... gestures:
RenderObject: RenderSemanticsGestureHandler#c7b97 relayoutBoundary=up12 NEEDS-LAYOUT NEEDS-PAINT
needs compositing
parentData: (can use size)
constraints: BoxConstraints(w=1025.0, 0.0<=h<=594.0)
size: MISSING
behavior: opaque
gestures:
... child: RenderPointerListener#724c3 relayoutBoundary=up13 NEEDS-PAINT
... needs compositing
... parentData: (can use size)
... constraints: BoxConstraints(w=1025.0, 0.0<=h<=594.0)
... size: MISSING
... behavior: opaque
... listeners: down, panZoomStart
... child: RenderSemanticsAnnotations#5f498 relayoutBoundary=up14 NEEDS-PAINT
... needs compositing
... parentData: (can use size)
... constraints: BoxConstraints(w=1025.0, 0.0<=h<=594.0)
... size: MISSING
... child: RenderIgnorePointer#2a10d relayoutBoundary=up15 NEEDS-PAINT
... needs compositing
... parentData: (can use size)
... constraints: BoxConstraints(w=1025.0, 0.0<=h<=594.0)
... size: MISSING
... ignoring: false
... ignoringSemantics: false
... child: _RenderSingleChildViewport#69f46 relayoutBoundary=up16 NEEDS-PAINT
... needs compositing
... parentData: (can use size)
... constraints: BoxConstraints(w=1025.0, 0.0<=h<=594.0)
... size: MISSING
... offset: Offset(0.0, -0.0)
======== Exception caught by rendering library =====================================================
The following assertion was thrown during performLayout():
Assertion failed: file:///H:/src/flutter/flutter/packages/flutter/lib/src/rendering/box.dart:2001:12
hasSize
"RenderBox was not laid out: RenderSemanticsGestureHandler#c7b97 relayoutBoundary=up12 NEEDS-PAINT"
The relevant error-causing widget was:
SingleChildScrollView SingleChildScrollView:file:///H:/Flutter-Responsive-Admin-Panel-or-Dashboard-master/Flutter-Responsive-Admin-Panel-or-Dashboard-master/lib/screens/dashboard/dashboard_screen.dart:15:14
When the exception was thrown, this was the stack:
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/internal/js_dev_runtime/private/ddc_runtime/errors.dart 266:49 throw
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 29:3 assertFailed
packages/flutter/src/rendering/box.dart 2001:12 get size
packages/flutter/src/rendering/proxy_box.dart 121:14 performLayout
packages/flutter/src/rendering/object.dart 2135:7 layout
packages/flutter/src/rendering/box.dart 2418:11 layout
packages/flutter/src/rendering/proxy_box.dart 120:7 performLayout
packages/flutter/src/rendering/object.dart 2135:7 layout
packages/flutter/src/rendering/box.dart 2418:11 layout
packages/flutter/src/rendering/proxy_box.dart 120:7 performLayout
packages/flutter/src/rendering/object.dart 2135:7 layout
packages/flutter/src/rendering/box.dart 2418:11 layout
packages/flutter/src/rendering/proxy_box.dart 120:7 performLayout
packages/flutter/src/rendering/custom_paint.dart 552:11 performLayout
packages/flutter/src/rendering/object.dart 2135:7 layout
packages/flutter/src/rendering/box.dart 2418:11 layout
packages/flutter/src/rendering/proxy_box.dart 120:7 performLayout
packages/flutter/src/rendering/object.dart 2135:7 layout
packages/flutter/src/rendering/box.dart 2418:11 layout
packages/flutter/src/rendering/proxy_box.dart 120:7 performLayout
packages/flutter/src/rendering/object.dart 2135:7 layout
packages/flutter/src/rendering/box.dart 2418:11 layout
packages/flutter/src/rendering/proxy_box.dart 120:7 performLayout
packages/flutter/src/rendering/object.dart 2135:7 layout
packages/flutter/src/rendering/box.dart 2418:11 layout
packages/flutter/src/rendering/proxy_box.dart 120:7 performLayout
packages/flutter/src/rendering/object.dart 2135:7 layout
packages/flutter/src/rendering/box.dart 2418:11 layout
packages/flutter/src/rendering/shifted_box.dart 249:5 performLayout
packages/flutter/src/rendering/object.dart 2135:7 layout
packages/flutter/src/rendering/box.dart 2418:11 layout
packages/flutter/src/rendering/layout_helper.dart 56:10 layoutChild
packages/flutter/src/rendering/flex.dart 903:45 [_computeSizes]
packages/flutter/src/rendering/flex.dart 938:32 performLayout
packages/flutter/src/rendering/object.dart 2135:7 layout
packages/flutter/src/rendering/box.dart 2418:11 layout
packages/flutter/src/rendering/shifted_box.dart 249:5 performLayout
packages/flutter/src/rendering/object.dart 2135:7 layout
packages/flutter/src/rendering/box.dart 2418:11 layout
packages/flutter/src/rendering/custom_layout.dart 171:10 layoutChild
packages/flutter/src/material/scaffold.dart 1055:7 performLayout
packages/flutter/src/rendering/custom_layout.dart 240:7 [_callPerformLayout]
packages/flutter/src/rendering/custom_layout.dart 410:14 performLayout
packages/flutter/src/rendering/object.dart 1973:7 [_layoutWithoutResize]
packages/flutter/src/rendering/object.dart 999:17 flushLayout
packages/flutter/src/rendering/binding.dart 513:19 drawFrame
packages/flutter/src/widgets/binding.dart 884:13 drawFrame
packages/flutter/src/rendering/binding.dart 378:5 [_handlePersistentFrameCallback]
packages/flutter/src/scheduler/binding.dart 1175:15 [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1104:9 handleDrawFrame
packages/flutter/src/scheduler/binding.dart 1015:5 [_handleDrawFrame]
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/platform_dispatcher.dart 1168:13 invoke
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/platform_dispatcher.dart 219:5 invokeOnDrawFrame
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/initialization.dart 195:45
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 334:14 _checkAndCall
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 339:39 dcall
The following RenderObject was being processed when the exception was fired: RenderPointerListener#f1414 relayoutBoundary=up11 NEEDS-LAYOUT NEEDS-PAINT
... needs compositing
... parentData: (can use size)
... constraints: BoxConstraints(w=1025.0, 0.0<=h<=594.0)
... size: MISSING
... behavior: deferToChild
... listeners: signal
RenderObject: RenderPointerListener#f1414 relayoutBoundary=up11 NEEDS-LAYOUT NEEDS-PAINT
needs compositing
parentData: (can use size)
constraints: BoxConstraints(w=1025.0, 0.0<=h<=594.0)
size: MISSING
behavior: deferToChild
listeners: signal
... child: RenderSemanticsGestureHandler#c7b97 relayoutBoundary=up12 NEEDS-PAINT
... needs compositing
... parentData: (can use size)
... constraints: BoxConstraints(w=1025.0, 0.0<=h<=594.0)
... size: MISSING
... behavior: opaque
... gestures:
... child: RenderPointerListener#724c3 relayoutBoundary=up13 NEEDS-PAINT
... needs compositing
... parentData: (can use size)
... constraints: BoxConstraints(w=1025.0, 0.0<=h<=594.0)
... size: MISSING
... behavior: opaque
... listeners: down, panZoomStart
... child: RenderSemanticsAnnotations#5f498 relayoutBoundary=up14 NEEDS-PAINT
... needs compositing
... parentData: (can use size)
... constraints: BoxConstraints(w=1025.0, 0.0<=h<=594.0)
... size: MISSING
... child: RenderIgnorePointer#2a10d relayoutBoundary=up15 NEEDS-PAINT
... needs compositing
... parentData: (can use size)
... constraints: BoxConstraints(w=1025.0, 0.0<=h<=594.0)
... size: MISSING
... ignoring: false
... ignoringSemantics: false
The text was updated successfully, but these errors were encountered: