The GUI doesn't crush, but in the terminal this error appears when the app is running:
File "d:\flet-projects\flet-project-manager\main.py", line 49, in route_change [sidebar(), main_area], vertical_alignment=CrossAxisAlignment.START ^^^^^^^^^ NameError: cannot access free variable 'main_area' where it is not associated with a value in enclosing scope. Did you mean: 'safe_area'?
The GUI doesn't crush, but in the terminal this error appears when the app is running:
File "d:\flet-projects\flet-project-manager\main.py", line 49, in route_change [sidebar(), main_area], vertical_alignment=CrossAxisAlignment.START ^^^^^^^^^ NameError: cannot access free variable 'main_area' where it is not associated with a value in enclosing scope. Did you mean: 'safe_area'?