Skip to content
Discussion options

You must be logged in to vote

Here you go: MasterA5/flet-widget-error-test#1
"Bubble" control should have been converted to a component to work in declarative app. In general, whatever has control property assignment, e.g. some_control.some_roperty = something won't work in declarative app. Declarative UI is basically a complete re-creation of control tree on state change.

Don't be confused though, you don't necessary need to convert your app to a "new", declarative API. Using familiar imperative style is and will be supported by Flet, always.

Btw, I converted your user control to a declarative component using Codex :) - worked like a charm. Give it a try.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@MasterA5
Comment options

@MasterA5
Comment options

@FeodorFitsner
Comment options

Answer selected by MasterA5
@MasterA5
Comment options

@MasterA5
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed
2 participants