-
Notifications
You must be signed in to change notification settings - Fork 7
/
flutter_native_splash.yaml
52 lines (43 loc) · 2.16 KB
/
flutter_native_splash.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
flutter_native_splash:
# color is the only required parameter. It sets the background color of your splash screen.
color: "#fffbff"
# Optional parameters are listed below. To enable a parameter, uncomment the line by removing
# the leading # character.
# The image parameter allows you to specifiy an image used in the splash screen. It must be a
# png file.
image: assets/launcher_icon.png
# The color_dark and image_dark are parameters that set the color and image when the device is
# in dark mode. If they are not specified, the app will use the color and image above.
# If the image_dark parameter is specified, color_dark must be specified.
color_dark: "#000000"
image_dark: assets/launcher_icon.png
android_12:
color: "#fffbff"
color_dark: "#000000"
icon_background_color_dark: "#fffbff"
# The android and ios parameters can be used to disable generating a splash screen on a given
# platform.
#android: false
#ios: false
# The position of the splash image can be set with android_gravity and ios_content_mode
# parameters. Both default to center.
#
# android_gravity can be one of the following Android Gravity (see
# https://developer.android.com/reference/android/view/Gravity): bottom, center,
# center_horizontal, center_vertical, clip_horizontal, clip_vertical, end, fill, fill_horizontal,
# fill_vertical, left, right, start, or top.
#android_gravity: center
#
# ios_content_mode can be one of the following iOS UIView.ContentMode (see
# https://developer.apple.com/documentation/uikit/uiview/contentmode): scaleToFill,
# scaleAspectFit, scaleAspectFill, center, top, bottom, left, right, topLeft, topRight,
# bottomLeft, or bottomRight.
#ios_content_mode: center
# To display the notification bar on Android, use the android_disable_fullscreen parameter.
#android_disable_fullscreen: true
# If you have changed the name(s) of your info.plist file(s), you can specify the filename(s)
# with the info_plist_files parameter. Remove only the # characters in the three lines below,
# do not remove any spaces:
#info_plist_files:
# - 'ios/Runner/Info-Debug.plist'
# - 'ios/Runner/Info-Release.plist'