Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add argument type #9

Merged
merged 15 commits into from
Mar 30, 2023
Merged

Add argument type #9

merged 15 commits into from
Mar 30, 2023

Conversation

danielmolnar
Copy link
Collaborator

This PR adds the possibility to separate between configurators that affect the actual widget on the stage and configurators that change properties "around" such widget (e.g. widget count, if the widget should be placed on the stage as a list).

Bildschirmaufnahme.2023-03-29.um.15.01.19.mov

Copy link
Collaborator

@Dev-dfm Dev-dfm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bottom: BorderSide(color: Colors.grey.shade400),
),
),
width: double.infinity,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The infinite width can be removed

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, that would result in a line that is as wide as the title instead of being as wide as the configuration bar.

example/lib/stage_data/my_list_tile_widget_stage.dart Outdated Show resolved Hide resolved
);

@override
List<FieldConfigurator> get fieldConfigurators {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of marking every FieldConfigurator i would prefer to have two lists here instead. Like widgetFieldConfigurators and stageFieldConfiguators.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done b684705

@robiness
Copy link
Owner

@danielmolnar I refactored the configuration list a bit, i hope thats fine.

Copy link
Owner

@robiness robiness left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

@danielmolnar danielmolnar merged commit ba84143 into main Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants