pawlik92 / flutter_whirlpool

Flutter UI challenge (with Box2D physic)- Smart washing machine app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RenderBox was not laid out: RenderClipOval#734c9

saurabhchalke opened this issue · comments

Hi, thanks for this wonderful App! but the washing machine drum doesn't seem to be rendering for me, and I seem to be facing an exception.
I am running it on an Android 10 device with Flutter 2.0.1

Error:
════════ Exception caught by rendering library ═════════════════════════════════
RenderBox was not laid out: RenderClipOval#370c4
'package:flutter/src/rendering/box.dart':
Failed assertion: line 1940 pos 12: 'hasSize'

The relevant error-causing widget was
ClipOval
lib\…\washing_machine\washing_machine_case.dart:89
The following RenderObject was being processed when the exception was fired: RenderClipOval#370c4
RenderObject: RenderClipOval#370c4
needs compositing
parentData: (can use size)
constraints: BoxConstraints(w=217.0, h=217.0)
size: MISSING
child: _WhirlpoolRenderObject#a64b9 NEEDS-PAINT
needs compositing
parentData: (can use size)
constraints: BoxConstraints(w=217.0, h=217.0)
size: MISSING
════════════════════════════════════════════════════════════════════════════════

Please let me know if this is a known bug or a fix exists?
Thanks!