-
Notifications
You must be signed in to change notification settings - Fork 271
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
leftIconConfig OnClick error and rightIconConfig Widget Error #432
Comments
Hi @AndreLuizNogueira ExampleRefer this snippet to provide change default icon
Preview |
Hello. Sorry about the first one, I just migrated from version 1.2.0 without testing, where all I had was the widget customization. I believe this deserves a breaking change notice, because I was using version 1.3.0 for months without ontap working, I only noticed the problem recently because I migrated to material 3 and had to check everywhere. |
…n_config fix: Fixes issue #432: 🐛 Fixes right icon always shows default icon
I Just Tested Version 1.3.0 and found 2 possible errors.
leftIconConfig: IconDataConfig(
icon: (context) => Icon(Icons.arrow_back_ios, color: Colors.white),
),
rightIconConfig: IconDataConfig(
icon: (context) =>
Icon(Icons.arrow_forward_ios, color: Colors.white),
),
1 - leftIconConfig: When you set this property, onclick is disabled;
2 - rightIconConfig. This property is not changing the icon. It is always using the default icon.
I went back to 1.2.0 and leftIcon and rightIcon worked fine;
leftIcon: const Icon(Icons.arrow_back_ios, color: Colors.white),
rightIcon: const Icon(Icons.arrow_forward_ios, color: Colors.white),
The text was updated successfully, but these errors were encountered: