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

Image Size - Documentation Clarity #743

Closed
rjapenga opened this issue Oct 17, 2024 · 1 comment
Closed

Image Size - Documentation Clarity #743

rjapenga opened this issue Oct 17, 2024 · 1 comment

Comments

@rjapenga
Copy link

In your template for the yaml you say (similar in other places):

This should be 1152×1152 pixels, and fit within a circle 768 pixels in diameter.

I am not sure how you create an image that is (for example) 1152 x 1152 pixels and fit in circle 768 pixels in diameter.

Is what you are saying?
The image file should be 1152×1152 pixels, and the content in the image fit within a circle 768 pixels in diameter.

If that is true, then you should also say where the circle is located in that 1152 x 1152. I assume centered - but if you don't say it - it is not obvious.

Configuration
Not applicable

Paste the flutter_native_splash section of your yaml config.
Not applicable

Device (please complete the following information):
Not applicable
To Reproduce
Not applicable
Screenshots
Not applicable

Additional context
Not applicable

@rjapenga
Copy link
Author

I see that the Android documentation is equally vague:

" 288×288 dp and fit within a circle 192 dp"

They should change their documentation as well - but no need to follow bad documentation with your own unclear documentation.

Here is what how a stack overflow entry words it:

"To fit a 288x288 dp image within a circle with a 192 dp diameter, simply ensure that the most important design elements of your image are placed within a circular area with a 192 dp diameter at the center of the 288x288 canvas" My emphasis on what is lacking in yours and their documentation.

This is a minor documentation change and would help people who have never created an app with Flutter. I have with React Native and it was much much simpler.

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

1 participant