Open tmpsantos opened 7 months ago
Hi @tmpsantos - Thanks for submitting the issue. Using the toggle icon inside a container is the best option to achieve what you are expecting, I hope that can help you. However, I can flag this for technical review to check if this can be considered for enhancements.
This issue is stale because it has been open for 7 days with no activity. If there are no further updates, a team member will close the issue.
Hi @tmpsantos, thanks for the bug report. While it is typically best practice to wrap the toggle icon within a container, I can confirm that this is not the intended behavior. Thanks
Has your issue been reported?
Current Behavior
When you set the icon size of a ToggleIcon, the widget layout looks correct in the editor but not when you deploy.
Expected Behavior
The parent layout box respects the widget size and layout is done accordingly.
Steps to Reproduce
Reproducible from Blank
Bug Report Code (Required)
IT4ohs/lvIpNobhe+KqJccdFmSQ7Qlh7bJJJlcpBby0bfb7wPJkQRfSkP1dUOL2lS2xffE20rzsX/MrqvfzXJ/IDC0ycR6JazrVyFjvjfH+jVpCPDL63b3wlJ+5UN36M3MGnrxFAXbdoW3gk62amI9nLQhLbHu/JNjASRua4XdeK2SrDX1iXc2URm05KZDPz
Context
This seems to be a known issue, I proposed a simple workaround too: https://community.flutterflow.io/widgets-and-design/post/can-we-change-the-toggleicon-dimensions-oObs192FDNCVXeP?highlight=uU95z4yasqBdFvO
Visual documentation
Left is the editor, right is runtime.
Additional Info
No response
Environment