jonbhanson / flutter_native_splash

Automatically generates native code for adding splash screens in Android and iOS. Customize with specific platform, background color and splash image.
https://pub.dev/packages/flutter_native_splash
MIT License
1.36k stars 215 forks source link

feat: support adjust padding bottom for branding image #709

Closed Lzyct closed 4 months ago

Lzyct commented 5 months ago

What it does

How to test

  1. follow this documentation to run and generate the native splash screen
  2. enable branding image
  3. add this config on your config yaml

    branding_bottom_padding: 24
    
    #branding_bottom_padding_ios: 24 #specific config for iOS
    #branding_bottom_padding_android: 24 #specific config for Android
  4. observe the branding image position

Screenshot

BEFORE

iPhone 15 Pro Max

image

iPhone SE

image

< Android 13

image

AFTER

iPhone 15 Pro Max

image

iPhone SE

image

< Android 13

image