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

Flutter Favorites Todos #133

Closed
8 of 9 tasks
brianegan opened this issue Nov 11, 2020 · 7 comments
Closed
8 of 9 tasks

Flutter Favorites Todos #133

brianegan opened this issue Nov 11, 2020 · 7 comments
Assignees

Comments

@brianegan
Copy link
Collaborator

brianegan commented Nov 11, 2020

@michaelspiss michaelspiss self-assigned this Nov 11, 2020
@michaelspiss
Copy link
Collaborator

Null safety changes are tracked in the null-safety branch

@michaelspiss
Copy link
Collaborator

I'm not sure what to do about #31. We could decrease the size of each icon by multiplying it with .75 to get comparably sized icons. This will however be a little strange/a breaking change for existing users. Would love to hear your opinion on this @brianegan

@brianegan
Copy link
Collaborator Author

Yah, that's definitely a tough one! From my perspective, I don't think we can truly solve this problem, which is why I initially closed the issue as a wontfix.

Why do I think that? Icon packs are designed with specific geometries and shapes in mind so that the icons within a specific Icon Pack are consistent with one another. Material Icons and FontAwesome Icons do not share a common geometry: All Material Icons are all set within a square of a particular size, FontAwesome are not -- they can be rectangles!

Now, you could say "Let's apply a 75% size ratio to make them look similar." However, there's still no way for the FontAwesome icons to follow that fundamental square geometry, so some will look correct at 75%, but some Icons that are a bit wide or tall may still look a bit big or even too small.

Therefore, I still consider it a wontfix, but if we want to do something there, then maybe we could add an option for folks to override? Such as "iconThemeRatio" that is default to 1 so we don't break backward compatibility, but for folks who want to they could adjust that number to 0.75?

@michaelspiss
Copy link
Collaborator

The different geometries are defenitely a wontfix, it's just part of how the icons are designed.

I really like your proposal of an override attribute. However as this is probably a niche requirement that can be solved with a wrapper widget as well and in the spirit of keeping the api clean, I agree it's better we leave it as a wontfix

@brianegan
Copy link
Collaborator Author

Agreed. Wrapper Widgets FTW here!

Really amazing work with all of this. Thanks again for all of your efforts :)

@michaelspiss
Copy link
Collaborator

Thanks! The only thing I couldn't figure out was how to fix the alignment issue, I'm definitely going to need your help there

@brianegan
Copy link
Collaborator Author

Sure thing! I'm wrapping up work this week from my side. Therefore, I'll have time to check it out early next week :)

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

No branches or pull requests

2 participants