1
- String androidResFolder (String ? flavor) => "android/app/src/${flavor ?? 'main' }/res/" ;
2
- String androidColorsFile (String ? flavor) => "android/app/src/${flavor ?? 'main' }/res/values/colors.xml" ;
1
+ String androidResFolder (String ? flavor) =>
2
+ "android/app/src/${flavor ?? 'main' }/res/" ;
3
+ String androidColorsFile (String ? flavor) =>
4
+ "android/app/src/${flavor ?? 'main' }/res/values/colors.xml" ;
3
5
const String androidManifestFile = 'android/app/src/main/AndroidManifest.xml' ;
4
6
const String androidGradleFile = 'android/app/build.gradle' ;
7
+ const String androidLocalPropertiesFile = 'android/local.properties' ;
5
8
const String androidFileName = 'ic_launcher.png' ;
6
9
const String androidAdaptiveForegroundFileName = 'ic_launcher_foreground.png' ;
7
10
const String androidAdaptiveBackgroundFileName = 'ic_launcher_background.png' ;
8
- String androidAdaptiveXmlFolder (String ? flavor) => androidResFolder (flavor) + 'mipmap-anydpi-v26/' ;
11
+ String androidAdaptiveXmlFolder (String ? flavor) =>
12
+ androidResFolder (flavor) + 'mipmap-anydpi-v26/' ;
9
13
const String androidDefaultIconName = 'ic_launcher' ;
10
14
11
15
const String iosDefaultIconFolder =
@@ -21,6 +25,9 @@ const String errorMissingPlatform =
21
25
const String errorMissingRegularAndroid =
22
26
'Adaptive icon config found but no regular Android config. '
23
27
'Below API 26 the regular Android config is required' ;
28
+ const String errorMissingMinSdk =
29
+ 'Cannot not find minSdk from android/app/build.gradle or android/local.properties'
30
+ 'Specify minSdk in either android/app/build.gradle or android/local.properties' ;
24
31
const String errorIncorrectIconName =
25
32
'The icon name must contain only lowercase a-z, 0-9, or underscore: '
26
33
'E.g. "ic_my_new_icon"' ;
0 commit comments