The default values is bottom if not specified or specified something else. ![]() #branding_dark: assets/dart_dark.png # To position the branding image at the bottom of the screen you can use bottom, bottomRight, # and bottomLeft. branding: assets/dart.png # Specify your branding image for dark mode. Currently, it is only supported for Android and iOS. #image: assets/splash.png # This property allows you to specify an image used as branding in the splash screen. It must be a # png file and should be sized for 4x pixel density. # The image parameter allows you to specify an image used in the splash screen. To enable a parameter, uncomment the line by removing # the leading # character. color: "#42a5f5 " #background_image: "assets/background.png" # Optional parameters are listed below. ![]() Only one parameter can be used, color and background_image cannot both be set. The image will be stretch to the # size of the app. ![]() Use background_image to set the background of your # splash screen to a png image. Use color to set the background # of your splash screen to a solid color. ![]() # Customize the parameters below, and run the following command in the terminal: # flutter pub run flutter_native_splash:create # To restore Flutter's default white splash screen, run the following command in the terminal: # flutter pub run flutter_native_splash:remove # color or background_image is the only required parameter. # This package generates native code to customize Flutter's default white native splash screen # with background color and splash image.
0 Comments
Leave a Reply. |