We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, I need to add trailing icon into Button. I found, for button you support only leading icon:
Can you support also trailing icons or widgets same as other design packages? Thank you
ShadButton( onPressed: () {}, trailing: const Icon(Icons.add), child: const Text('Add'), ),
ShadButton( onPressed: () {}, child: const Text('Login with Email'), icon: const Icon(LucideIcons.mail), ),
0.19.3
MacOS
[Paste your code here]
[Upload media here]
[Paste your logs here]
[Paste your output here]
The text was updated successfully, but these errors were encountered:
There is an open discussion about this here #283
See the current way to move the icon on the trailing side https://flutter-shadcn-ui.mariuti.com/utils/order_policy/
Sorry, something went wrong.
closed by #295
nank1ro
No branches or pull requests
Steps to reproduce
Hello, I need to add trailing icon into Button.
I found, for button you support only leading icon:
Can you support also trailing icons or widgets same as other design packages?
Thank you
Expected results
Actual results
shadcn_ui version
0.19.3
Platform
MacOS
Code sample
Code sample
[Paste your code here]
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
[Paste your output here]
The text was updated successfully, but these errors were encountered: