Menu
Who Do Is
  • Home
  • What
  • How
  • Is
  • Can
  • Are
  • Does
  • Do
  • Why
  • Who
  • Where
  • Which
  • Which
  • Should
  • Will
  • When
  • What’s
  • Did
Who Do Is

[ANSWERED] android – Not able to change the size of the default splash screen icon in flutter

Posted on November 14, 2022

Solution 1 :

Inside your main function, use home as SplashScreen(_), the parameters are as follows and change the logo size.

runApp(MaterialApp(
    home: CustomSplash(
    imagePath: '@drawable/dev_icon',
    backGroundColor: Colors.deepOrange,
    animationEffect: 'zoom-in',
    logoSize: 200,
    home: MyApp(),
    customFunction: duringSplash,
    duration: 2500,
    type: CustomSplashType.StaticDuration,
    outputAndHome: op,
),

Problem :

I am using the default splash screen provided by flutter. The app icon shows in the middle of the screen. But it appears very small. If I go to the launch_background.xml , I am not able to change the size properties of the bitmap. How to change the size of the bitmap ?

The launch_background.xml looks like this:

<?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns_android="http://schemas.android.com/apk/res/android">
    <item android_drawable="@android:color/white" />

    <!-- You can insert your own image assets here -->
     <item>
         <bitmap
            android_gravity="center"
            android_src="@drawable/dev_icon" />

    </item>
</layer-list>

I referred to this, but of no use.

Any help is appreciated. I am a complete beginner in flutter.

READ  [ANSWERED] android - When to use Internal app sharing vs. Internal testing (google play)?
Powered by Inline Related Posts

Recent Posts

  • How can I play with my cat without toys?
  • What is a bag pipe band called?
  • Are Honda Civics actually fast?
  • Are Yankee candles toxic?
  • How do I pair my Michael Kors smartwatch with my Android?

Recent Comments

No comments to show.

Archives

  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022

Categories

  • ¿Cómo
  • ¿Cuál
  • ¿Cuántas
  • ¿Cuánto
  • ¿Que
  • ¿Quién
  • 90” and 108” so you may have to round up to the nearest size.
  • and delete any Spotify folders from it. Once this is done
  • Android
  • Are
  • At
  • Bei
  • blink
  • C'est
  • Can
  • carbs
  • Comment
  • Did
  • Do
  • Does
  • During
  • For
  • Has
  • How
  • In
  • Is
  • Ist
  • Kann
  • Können
  • nouveau
  • On
  • or 108 inches.2020-08-03
  • Où
  • owning
  • Pourquoi
  • Puis-je
  • Quand
  • Quante
  • Quel
  • Quelle
  • Quelles
  • Quels
  • Qui
  • Should
  • Sind
  • Sollte
  • spiritual
  • tap the downward-facing arrow on the top left. A downward-facing arrow will appear underneath each song in the album; they'll turn green as the download completes.2020-07-28
  • Uncategorized
  • Wann
  • Warum
  • Was
  • Welche
  • Welcher
  • Welches
  • Welke
  • Wer
  • Were
  • What
  • What's
  • When
  • Where
  • Which
  • Who
  • Whose
  • Why
  • Wie
  • Will
  • Wo
  • Woher
  • you will receive two curtains each with the same measurements of width 66"" (168cm) x drop 54""(137cm).
  • you'll see a green downward-facing arrow next to each song.2021-02-26
©2023 Who Do Is | Powered by SuperbThemes & WordPress