Describe the bug
I am using VStack() with Widget, and My Widget is calling from another dart file its bottomNavigationBar(). When i am using it and running my app i got error
════════ Exception caught by scheduler library ═════════════════════════════════
RenderBox was not laid out: RenderParagraph#49ab5 NEEDS-LAYOUT NEEDS-PAINT
'package:flutter/src/rendering/box.dart':
Failed assertion: line 1687 pos 12: 'hasSize'

Describe the bug
I am using VStack() with Widget, and My Widget is calling from another dart file its bottomNavigationBar(). When i am using it and running my app i got error
════════ Exception caught by scheduler library ═════════════════════════════════

RenderBox was not laid out: RenderParagraph#49ab5 NEEDS-LAYOUT NEEDS-PAINT
'package:flutter/src/rendering/box.dart':
Failed assertion: line 1687 pos 12: 'hasSize'