clean-code-dev / animated_splash_screen

The easiest way to create your animated splash screen in a fully customizable way.
MIT License
112 stars 25 forks source link

Image size is not working #8

Closed maylortaylor closed 3 years ago

maylortaylor commented 3 years ago

I can't seem to get my splash image to be any bigger.

splash: Image.asset("assets/images/splash.png",
                    height: 1200, width: 1200),

I'm using version ^1.0.1+2

maylortaylor commented 3 years ago

I finally got it working correctly (i think)

splash: Container(
                height: double.infinity,
                width: double.infinity,
                child: FittedBox(child: Image.asset("assets/images/splash.png"),
                fit: BoxFit.cover))
Bestfastfire commented 3 years ago

I finally got it working correctly (i think)

splash: Container(
                height: double.infinity,
                width: double.infinity,
                child: FittedBox(child: Image.asset("assets/images/splash.png"),
                fit: BoxFit.cover))

In fact, there is a field for this in the object itself:

AnimatedSplashScreen(
   splashIconSize: my_size,
   ...
)

I'm sorry for the delay in replying

Rizatzmi commented 3 years ago

I finally got it working correctly (i think)

splash: Container(
                height: double.infinity,
                width: double.infinity,
                child: FittedBox(child: Image.asset("assets/images/splash.png"),
                fit: BoxFit.cover))

is that can make splash screen to full screen? @maylortaylor