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

Center image #54

Open
Kotlin-GDE opened this issue Nov 24, 2020 · 5 comments
Open

Center image #54

Kotlin-GDE opened this issue Nov 24, 2020 · 5 comments

Comments

@Kotlin-GDE
Copy link

No description provided.

@ahmedmgh67
Copy link
Member

Hello @halimpuckjava
Can you tell us a little bit more about the issue you are facing?

@Kotlin-GDE
Copy link
Author

Kotlin-GDE commented Nov 26, 2020

@ahmedmgh67

i suggest

  1. center image or wrap it with expand widget to take all space available
  2. remove onclick callback (its s splashscreen so onclick has no sens)
  3. if you center image or wrap it in expand widget, remove photosize property

thanks

@kovacpetar
Copy link

kovacpetar commented Jan 4, 2021

Are there any news about this requirement?
Could the first and the third suggestion be priority as it's really annoying to see that the title is taking up space where it isn't even defined.
@ahmedmgh67
And also thank you so much for this amazing package!

@connelevalsam
Copy link

connelevalsam commented Feb 6, 2021

I don't understand you.

any example on how to do this?

I don't want to add anything, the image is all I want and I want it centered or just a background image

@ramism16
Copy link
Contributor

@connelevalsam this splashscreen package renders as a widget after the native splash and MaterialApp widget have finished rendering.

For your custom splash, you can add to native splash using the flutter_native_splash package which is a little tricky to set up but will work great for custom splash that renders before the widget tree starts building.

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

5 participants