-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflutter_native_splash.yaml
93 lines (86 loc) · 4.34 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
flutter_native_splash:
# color is the only required parameter. It sets the background color of your splash screen.
color: "#42a5f5"
# 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/splash.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: "#042a49"
#image_dark: assets/splash-invert.png
# 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 hide the notification bar on Android, use the android_fullscreen parameter. Defaults to
# false.
#android_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'flutter_native_splash:
# # color is the only required parameter. It sets the background color of your splash screen.
# color: "#42a5f5"
#
# # 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/splash.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: "#042a49"
# #image_dark: assets/splash-invert.png
#
# # 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 hide the notification bar on Android, use the android_fullscreen parameter. Defaults to
# # false.
# #android_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'