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

feat: add builder addon #895

Merged
merged 1 commit into from
Sep 19, 2023
Merged

feat: add builder addon #895

merged 1 commit into from
Sep 19, 2023

Conversation

yousinix
Copy link
Member

@yousinix yousinix commented Sep 19, 2023

The UseCaseBuilderAddon was added in #880. It's now replaced with a simpler alternative called BuilderAddon that shows no fields on the side panel, compared to a boolean field for the UseCaseBuilderAddon.

The new addon can be used as follows:

BuilderAddon(
    name: 'Red',
    builder: (context, child) => ColoredBox(
        color: Colors.red,
        child: child,
    ),
)

@yousinix yousinix self-assigned this Sep 19, 2023
@yousinix yousinix merged commit 89e9069 into main Sep 19, 2023
5 checks passed
@yousinix yousinix deleted the feat/builder-addon branch September 19, 2023 11:12
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.

None yet

1 participant