You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are a tool to turn docs and examples of your library into a code generation AI agent which helps devs directly generate code for your library as per their requirements.
Our team came across Flutter Fluent UI and figured it could be helpful for new developers building on it to have one such agent. It's ready and is accessible on: Web (Try here!) | VSCode Extension
I will let @bdlukaa give an answer to you. But I tried and honestly I'm impressed.
I give it that prompt:
How to create a button with a background red (while keeping the hover and pressing effects with a darker red) and a blue border. The text inside the button should be "Confirm".
And here is the result:
To create a button with a red background, a darker red hover and pressing effect, a blue border, and the text "Confirm" using the fluent_ui package, you can customize the ButtonStyle accordingly. Here's how you can achieve this:
backgroundColor is set using WidgetStateProperty.resolveWith to provide different colors based on the button's state (pressed, hovered, or default).
foregroundColor is set to white to ensure the text is visible against the red background.
shape is set to a RoundedRectangleBorder with a blue border.
padding is added to give some space around the text inside the button.
This will create a button with the specified styles and the text "Confirm". The button will have a red background, a darker red color when hovered or pressed, and a blue border.
Dear maintainers, greetings from CommandDash!
We are a tool to turn docs and examples of your library into a code generation AI agent which helps devs directly generate code for your library as per their requirements.
Our team came across Flutter Fluent UI and figured it could be helpful for new developers building on it to have one such agent. It's ready and is accessible on: Web (Try here!) | VSCode Extension
You can link this in your readme as a badge:
Please feel free to mention it if you believe this could be helpful for new users. Or, close the issue if not. 🙏🏻
The agent is free to use, fully safe (no data retained) and auto-refreshes to stay upto date.
Best wishes!
The text was updated successfully, but these errors were encountered: