Message when I run 'flet main.py' #4
Replies: 2 comments
-
It's just a warning due to the way certain things are done in the framework currently (try not to use the related controls in contextmanager a.k.a with statements, or else you will get unpredictable behavior). Using those controls in a with as long as you manually append however is fine, so e.g. (psuedocode) with YOUR_CONTROL_HERE as A:
A.controls.append(YOUR_OTHER_CONTROL_HERE) #or wherever else it takes subcontrols |
Beta Was this translation helpful? Give feedback.
-
I am using it this way: ... @fb.view("/despesas") |
Beta Was this translation helpful? Give feedback.
-
I would like to know if this is a warning or a problem:
(.venv) C:\src\flet\copahospeda>flet main.py
AlertDialog matched [2c 1u] possible subcontrol kwargs.
Banner matched [2c 0u] possible subcontrol kwargs.
Beta Was this translation helpful? Give feedback.
All reactions