Set application icons
| @@ -6,7 +6,7 @@ plugins { | ||||
| } | ||||
|  | ||||
| android { | ||||
|     namespace = "com.example.moneymgr_mobile" | ||||
|     namespace = "org.communiquons.moneymgr" | ||||
|     compileSdk = flutter.compileSdkVersion | ||||
|     // ndkVersion = flutter.ndkVersion | ||||
|     ndkVersion = "27.0.12077973" | ||||
| @@ -22,7 +22,7 @@ android { | ||||
|  | ||||
|     defaultConfig { | ||||
|         // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). | ||||
|         applicationId = "com.example.moneymgr_mobile" | ||||
|         applicationId = "org.communiquons.moneymgr" | ||||
|         // You can update the following values to match your application needs. | ||||
|         // For more information, see: https://flutter.dev/to/review-gradle-config. | ||||
|         minSdk = flutter.minSdkVersion | ||||
|   | ||||
| @@ -1,8 +1,8 @@ | ||||
| <manifest xmlns:android="http://schemas.android.com/apk/res/android"> | ||||
|     <application | ||||
|         android:label="moneymgr_mobile" | ||||
|         android:label="MoneyMgr" | ||||
|         android:name="${applicationName}" | ||||
|         android:icon="@mipmap/ic_launcher"> | ||||
|         android:icon="@mipmap/launcher_icon"> | ||||
|         <activity | ||||
|             android:name=".MainActivity" | ||||
|             android:exported="true" | ||||
|   | ||||
| After Width: | Height: | Size: 833 B | 
| After Width: | Height: | Size: 536 B | 
| After Width: | Height: | Size: 1.1 KiB | 
| After Width: | Height: | Size: 1.6 KiB | 
| After Width: | Height: | Size: 2.2 KiB | 
							
								
								
									
										
											BIN
										
									
								
								moneymgr_mobile/assets/icon/icon.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 3.2 KiB | 
							
								
								
									
										34
									
								
								moneymgr_mobile/flutter_launcher_icons.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,34 @@ | ||||
| # flutter pub run flutter_launcher_icons | ||||
| flutter_launcher_icons: | ||||
|   image_path: "assets/icon/icon.png" | ||||
|  | ||||
|   android: "launcher_icon" | ||||
|   # image_path_android: "assets/icon/icon.png" | ||||
|   min_sdk_android: 21 # android min sdk min:16, default 21 | ||||
|   # adaptive_icon_background: "assets/icon/background.png" | ||||
|   # adaptive_icon_foreground: "assets/icon/foreground.png" | ||||
|   # adaptive_icon_foreground_inset: 16 | ||||
|   # adaptive_icon_monochrome: "assets/icon/monochrome.png" | ||||
|  | ||||
|   ios: true | ||||
|   # image_path_ios: "assets/icon/icon.png" | ||||
|   remove_alpha_ios: true | ||||
|   # image_path_ios_dark_transparent: "assets/icon/icon_dark.png" | ||||
|   # image_path_ios_tinted_grayscale: "assets/icon/icon_tinted.png" | ||||
|   # desaturate_tinted_to_grayscale_ios: true | ||||
|   # background_color_ios: "#ffffff" | ||||
|  | ||||
| #  web: | ||||
| #    generate: true | ||||
| #    image_path: "path/to/image.png" | ||||
| #    background_color: "#hexcode" | ||||
| #    theme_color: "#hexcode" | ||||
|  | ||||
| #  windows: | ||||
| #    generate: true | ||||
| #    image_path: "path/to/image.png" | ||||
| #    icon_size: 48 # min:48, max:256, default: 48 | ||||
|  | ||||
| #  macos: | ||||
| #    generate: true | ||||
| #    image_path: "path/to/image.png" | ||||
| @@ -427,7 +427,7 @@ | ||||
| 			isa = XCBuildConfiguration; | ||||
| 			buildSettings = { | ||||
| 				ALWAYS_SEARCH_USER_PATHS = NO; | ||||
| 				ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; | ||||
| 				ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = AppIcon; | ||||
| 				CLANG_ANALYZER_NONNULL = YES; | ||||
| 				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | ||||
| 				CLANG_CXX_LIBRARY = "libc++"; | ||||
| @@ -484,7 +484,7 @@ | ||||
| 			isa = XCBuildConfiguration; | ||||
| 			buildSettings = { | ||||
| 				ALWAYS_SEARCH_USER_PATHS = NO; | ||||
| 				ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; | ||||
| 				ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = AppIcon; | ||||
| 				CLANG_ANALYZER_NONNULL = YES; | ||||
| 				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | ||||
| 				CLANG_CXX_LIBRARY = "libc++"; | ||||
|   | ||||
| @@ -1,122 +1 @@ | ||||
| { | ||||
|   "images" : [ | ||||
|     { | ||||
|       "size" : "20x20", | ||||
|       "idiom" : "iphone", | ||||
|       "filename" : "Icon-App-20x20@2x.png", | ||||
|       "scale" : "2x" | ||||
|     }, | ||||
|     { | ||||
|       "size" : "20x20", | ||||
|       "idiom" : "iphone", | ||||
|       "filename" : "Icon-App-20x20@3x.png", | ||||
|       "scale" : "3x" | ||||
|     }, | ||||
|     { | ||||
|       "size" : "29x29", | ||||
|       "idiom" : "iphone", | ||||
|       "filename" : "Icon-App-29x29@1x.png", | ||||
|       "scale" : "1x" | ||||
|     }, | ||||
|     { | ||||
|       "size" : "29x29", | ||||
|       "idiom" : "iphone", | ||||
|       "filename" : "Icon-App-29x29@2x.png", | ||||
|       "scale" : "2x" | ||||
|     }, | ||||
|     { | ||||
|       "size" : "29x29", | ||||
|       "idiom" : "iphone", | ||||
|       "filename" : "Icon-App-29x29@3x.png", | ||||
|       "scale" : "3x" | ||||
|     }, | ||||
|     { | ||||
|       "size" : "40x40", | ||||
|       "idiom" : "iphone", | ||||
|       "filename" : "Icon-App-40x40@2x.png", | ||||
|       "scale" : "2x" | ||||
|     }, | ||||
|     { | ||||
|       "size" : "40x40", | ||||
|       "idiom" : "iphone", | ||||
|       "filename" : "Icon-App-40x40@3x.png", | ||||
|       "scale" : "3x" | ||||
|     }, | ||||
|     { | ||||
|       "size" : "60x60", | ||||
|       "idiom" : "iphone", | ||||
|       "filename" : "Icon-App-60x60@2x.png", | ||||
|       "scale" : "2x" | ||||
|     }, | ||||
|     { | ||||
|       "size" : "60x60", | ||||
|       "idiom" : "iphone", | ||||
|       "filename" : "Icon-App-60x60@3x.png", | ||||
|       "scale" : "3x" | ||||
|     }, | ||||
|     { | ||||
|       "size" : "20x20", | ||||
|       "idiom" : "ipad", | ||||
|       "filename" : "Icon-App-20x20@1x.png", | ||||
|       "scale" : "1x" | ||||
|     }, | ||||
|     { | ||||
|       "size" : "20x20", | ||||
|       "idiom" : "ipad", | ||||
|       "filename" : "Icon-App-20x20@2x.png", | ||||
|       "scale" : "2x" | ||||
|     }, | ||||
|     { | ||||
|       "size" : "29x29", | ||||
|       "idiom" : "ipad", | ||||
|       "filename" : "Icon-App-29x29@1x.png", | ||||
|       "scale" : "1x" | ||||
|     }, | ||||
|     { | ||||
|       "size" : "29x29", | ||||
|       "idiom" : "ipad", | ||||
|       "filename" : "Icon-App-29x29@2x.png", | ||||
|       "scale" : "2x" | ||||
|     }, | ||||
|     { | ||||
|       "size" : "40x40", | ||||
|       "idiom" : "ipad", | ||||
|       "filename" : "Icon-App-40x40@1x.png", | ||||
|       "scale" : "1x" | ||||
|     }, | ||||
|     { | ||||
|       "size" : "40x40", | ||||
|       "idiom" : "ipad", | ||||
|       "filename" : "Icon-App-40x40@2x.png", | ||||
|       "scale" : "2x" | ||||
|     }, | ||||
|     { | ||||
|       "size" : "76x76", | ||||
|       "idiom" : "ipad", | ||||
|       "filename" : "Icon-App-76x76@1x.png", | ||||
|       "scale" : "1x" | ||||
|     }, | ||||
|     { | ||||
|       "size" : "76x76", | ||||
|       "idiom" : "ipad", | ||||
|       "filename" : "Icon-App-76x76@2x.png", | ||||
|       "scale" : "2x" | ||||
|     }, | ||||
|     { | ||||
|       "size" : "83.5x83.5", | ||||
|       "idiom" : "ipad", | ||||
|       "filename" : "Icon-App-83.5x83.5@2x.png", | ||||
|       "scale" : "2x" | ||||
|     }, | ||||
|     { | ||||
|       "size" : "1024x1024", | ||||
|       "idiom" : "ios-marketing", | ||||
|       "filename" : "Icon-App-1024x1024@1x.png", | ||||
|       "scale" : "1x" | ||||
|     } | ||||
|   ], | ||||
|   "info" : { | ||||
|     "version" : 1, | ||||
|     "author" : "xcode" | ||||
|   } | ||||
| } | ||||
| {"images":[{"size":"20x20","idiom":"iphone","filename":"Icon-App-20x20@2x.png","scale":"2x"},{"size":"20x20","idiom":"iphone","filename":"Icon-App-20x20@3x.png","scale":"3x"},{"size":"29x29","idiom":"iphone","filename":"Icon-App-29x29@1x.png","scale":"1x"},{"size":"29x29","idiom":"iphone","filename":"Icon-App-29x29@2x.png","scale":"2x"},{"size":"29x29","idiom":"iphone","filename":"Icon-App-29x29@3x.png","scale":"3x"},{"size":"40x40","idiom":"iphone","filename":"Icon-App-40x40@2x.png","scale":"2x"},{"size":"40x40","idiom":"iphone","filename":"Icon-App-40x40@3x.png","scale":"3x"},{"size":"57x57","idiom":"iphone","filename":"Icon-App-57x57@1x.png","scale":"1x"},{"size":"57x57","idiom":"iphone","filename":"Icon-App-57x57@2x.png","scale":"2x"},{"size":"60x60","idiom":"iphone","filename":"Icon-App-60x60@2x.png","scale":"2x"},{"size":"60x60","idiom":"iphone","filename":"Icon-App-60x60@3x.png","scale":"3x"},{"size":"20x20","idiom":"ipad","filename":"Icon-App-20x20@1x.png","scale":"1x"},{"size":"20x20","idiom":"ipad","filename":"Icon-App-20x20@2x.png","scale":"2x"},{"size":"29x29","idiom":"ipad","filename":"Icon-App-29x29@1x.png","scale":"1x"},{"size":"29x29","idiom":"ipad","filename":"Icon-App-29x29@2x.png","scale":"2x"},{"size":"40x40","idiom":"ipad","filename":"Icon-App-40x40@1x.png","scale":"1x"},{"size":"40x40","idiom":"ipad","filename":"Icon-App-40x40@2x.png","scale":"2x"},{"size":"50x50","idiom":"ipad","filename":"Icon-App-50x50@1x.png","scale":"1x"},{"size":"50x50","idiom":"ipad","filename":"Icon-App-50x50@2x.png","scale":"2x"},{"size":"72x72","idiom":"ipad","filename":"Icon-App-72x72@1x.png","scale":"1x"},{"size":"72x72","idiom":"ipad","filename":"Icon-App-72x72@2x.png","scale":"2x"},{"size":"76x76","idiom":"ipad","filename":"Icon-App-76x76@1x.png","scale":"1x"},{"size":"76x76","idiom":"ipad","filename":"Icon-App-76x76@2x.png","scale":"2x"},{"size":"83.5x83.5","idiom":"ipad","filename":"Icon-App-83.5x83.5@2x.png","scale":"2x"},{"size":"1024x1024","idiom":"ios-marketing","filename":"Icon-App-1024x1024@1x.png","scale":"1x"}],"info":{"version":1,"author":"xcode"}} | ||||
| Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 24 KiB | 
| Before Width: | Height: | Size: 295 B After Width: | Height: | Size: 345 B | 
| Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 504 B | 
| Before Width: | Height: | Size: 450 B After Width: | Height: | Size: 859 B | 
| Before Width: | Height: | Size: 282 B After Width: | Height: | Size: 488 B | 
| Before Width: | Height: | Size: 462 B After Width: | Height: | Size: 845 B | 
| Before Width: | Height: | Size: 704 B After Width: | Height: | Size: 1.2 KiB | 
| Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 504 B | 
| Before Width: | Height: | Size: 586 B After Width: | Height: | Size: 1.1 KiB | 
| Before Width: | Height: | Size: 862 B After Width: | Height: | Size: 1.7 KiB | 
| After Width: | Height: | Size: 777 B | 
| After Width: | Height: | Size: 1.4 KiB | 
| After Width: | Height: | Size: 811 B | 
| After Width: | Height: | Size: 1.6 KiB | 
| Before Width: | Height: | Size: 862 B After Width: | Height: | Size: 1.7 KiB | 
| Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 2.4 KiB | 
| After Width: | Height: | Size: 967 B | 
| After Width: | Height: | Size: 2.0 KiB | 
| Before Width: | Height: | Size: 762 B After Width: | Height: | Size: 1.0 KiB | 
| Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 2.0 KiB | 
| Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 2.2 KiB | 
| @@ -34,12 +34,14 @@ class BaseAuthPage extends StatelessWidget { | ||||
|               : Container(), | ||||
|         ], | ||||
|       ), | ||||
|       body: SeparatedColumn( | ||||
|         padding: EdgeInsets.all(context.gutter), | ||||
|         separatorBuilder: () => const Gutter(), | ||||
|         mainAxisAlignment: MainAxisAlignment.center, | ||||
|         crossAxisAlignment: CrossAxisAlignment.stretch, | ||||
|         children: children, | ||||
|       body: SingleChildScrollView( | ||||
|         child: SeparatedColumn( | ||||
|           padding: EdgeInsets.all(context.gutter), | ||||
|           separatorBuilder: () => const Gutter(), | ||||
|           mainAxisAlignment: MainAxisAlignment.center, | ||||
|           crossAxisAlignment: CrossAxisAlignment.stretch, | ||||
|           children: children, | ||||
|         ), | ||||
|       ), | ||||
|     ); | ||||
|   } | ||||
|   | ||||
| @@ -54,7 +54,13 @@ class _LoginChoice extends StatelessWidget { | ||||
|           EdgeInsetsGeometry.symmetric(vertical: 20.0, horizontal: 30.0), | ||||
|         ), | ||||
|       ), | ||||
|       child: Row(children: [Icon(icon, size: 25.0), Gutter(), Text(label)]), | ||||
|       child: Row( | ||||
|         children: [ | ||||
|           Icon(icon, size: 25.0), | ||||
|           Gutter(), | ||||
|           Flexible(child: Text(label)), | ||||
|         ], | ||||
|       ), | ||||
|     ); | ||||
|   } | ||||
| } | ||||
|   | ||||
| @@ -153,6 +153,14 @@ packages: | ||||
|       url: "https://pub.dev" | ||||
|     source: hosted | ||||
|     version: "2.0.4" | ||||
|   cli_util: | ||||
|     dependency: transitive | ||||
|     description: | ||||
|       name: cli_util | ||||
|       sha256: ff6785f7e9e3c38ac98b2fb035701789de90154024a75b6cb926445e83197d1c | ||||
|       url: "https://pub.dev" | ||||
|     source: hosted | ||||
|     version: "0.4.2" | ||||
|   clock: | ||||
|     dependency: transitive | ||||
|     description: | ||||
| @@ -334,6 +342,14 @@ packages: | ||||
|       url: "https://pub.dev" | ||||
|     source: hosted | ||||
|     version: "0.21.2" | ||||
|   flutter_launcher_icons: | ||||
|     dependency: "direct dev" | ||||
|     description: | ||||
|       name: flutter_launcher_icons | ||||
|       sha256: "10f13781741a2e3972126fae08393d3c4e01fa4cd7473326b94b72cf594195e7" | ||||
|       url: "https://pub.dev" | ||||
|     source: hosted | ||||
|     version: "0.14.4" | ||||
|   flutter_lints: | ||||
|     dependency: "direct dev" | ||||
|     description: | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| name: moneymgr_mobile | ||||
| description: "A new Flutter project." | ||||
| description: "Mobile application for MoneyMgr" | ||||
| # The following line prevents the package from being accidentally published to | ||||
| # pub.dev using `flutter pub publish`. This is preferred for private packages. | ||||
| publish_to: 'none' # Remove this line if you wish to publish to pub.dev | ||||
| @@ -84,6 +84,9 @@ dev_dependencies: | ||||
|   # rules and activating additional ones. | ||||
|   flutter_lints: ^5.0.0 | ||||
|  | ||||
|   # Manage app icon | ||||
|   flutter_launcher_icons: ^0.14.4 | ||||
|  | ||||
|   # Generate source code | ||||
|   build_runner: ^2.5.4 | ||||
|  | ||||
|   | ||||