Error!: Cannot get size during build.|| 'hasSize' is not true ||

Опубликовано: 09 Май 2026
на канале: 69 Code
59
5

github link : https://github.com/Laxmanlc
**********************************************************************
glassmorphism UI :    • Glassmorphism UI in #flutter || Beautiful ...  


flutter error series :    • 100 days of error solving in flutter  

flutter animation series :    • Diwali wish Idea in Flutter Web || Diwali ...  


flutter responsive portfolio :    • Flutter Neumorphic Portfolio website UI De...  


flutter pdf reader :    • How to create PDF reader application in #f...  


flutter Ai chat app :    • AI image chat app in #flutter  || Ask anyt...  

************************************************************************
Exception has occurred.
FlutterError (Cannot get size during build.
The size of this render object has not yet been determined because the framework is still in the process of building widgets, which means the render tree for this frame has not yet been determined. The size getter should only be called from paint callbacks or interaction event handlers (e.g. gesture callbacks).

If you need some sizing information during build to decide which widgets to build, consider using a LayoutBuilder widget, which can tell you the layout constraints at a given location in the tree. See https://api.flutter.dev/flutter/widge... for more details.

The size getter was called for the following element:
Day12)
***********************************************************************
tags :
#code #day1 #error #errorspotting #flutter #flutterapp #app #app #kotlin #java #cprogramming #coding #codinglife #youtube #developer #appdevelopment #developement #pdf #tutorial #education #learn #dart #dartprogramming #vscode #web #webdevelopment #website #html #css #portfolio #neumorphism #javascript #websites #youtubevideo #trending