Skip to content

Support widget setters for flutter compatibility #619

Open
@anserwaseem

Description

@anserwaseem

Is your feature request related to a problem? Please describe.
Support setters of widgets like we do in flutter side.

Example:

View:
  body:
    Column:
      children:
        - Text:
            id: myText
            text: Initial Text
        - Button:
            label: Set text
            onTap:
              executeCode: myText.text = 'i am set'

Describe the solution you'd like
Support react way myText.setText('new Text') for backward compatibility and myText.text = 'new Text' for flutter compatibility

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

Labels

p1High priority

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions