mirror of
				https://github.com/Nioux/AideDeJeu.git
				synced 2025-10-31 07:26:09 +00:00 
			
		
		
		
	Flutter
This commit is contained in:
		
							parent
							
								
									1d71f18896
								
							
						
					
					
						commit
						24178f9b34
					
				
					 58 changed files with 1626 additions and 1 deletions
				
			
		
							
								
								
									
										30
									
								
								aidedejeu_flutter/android/app/src/main/AndroidManifest.xml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								aidedejeu_flutter/android/app/src/main/AndroidManifest.xml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,30 @@ | |||
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     package="com.nioux.aidedejeu_flutter"> | ||||
|     <!-- io.flutter.app.FlutterApplication is an android.app.Application that | ||||
|          calls FlutterMain.startInitialization(this); in its onCreate method. | ||||
|          In most cases you can leave this as-is, but you if you want to provide | ||||
|          additional functionality it is fine to subclass or reimplement | ||||
|          FlutterApplication and put your custom class here. --> | ||||
|     <application | ||||
|         android:name="io.flutter.app.FlutterApplication" | ||||
|         android:label="aidedejeu_flutter" | ||||
|         android:icon="@mipmap/ic_launcher"> | ||||
|         <activity | ||||
|             android:name=".MainActivity" | ||||
|             android:launchMode="singleTop" | ||||
|             android:theme="@style/LaunchTheme" | ||||
|             android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" | ||||
|             android:hardwareAccelerated="true" | ||||
|             android:windowSoftInputMode="adjustResize"> | ||||
|             <intent-filter> | ||||
|                 <action android:name="android.intent.action.MAIN"/> | ||||
|                 <category android:name="android.intent.category.LAUNCHER"/> | ||||
|             </intent-filter> | ||||
|         </activity> | ||||
|         <!-- Don't delete the meta-data below. | ||||
|              This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --> | ||||
|         <meta-data | ||||
|             android:name="flutterEmbedding" | ||||
|             android:value="2" /> | ||||
|     </application> | ||||
| </manifest> | ||||
|  | @ -0,0 +1,12 @@ | |||
| package com.nioux.aidedejeu_flutter | ||||
| 
 | ||||
| import androidx.annotation.NonNull; | ||||
| import io.flutter.embedding.android.FlutterActivity | ||||
| import io.flutter.embedding.engine.FlutterEngine | ||||
| import io.flutter.plugins.GeneratedPluginRegistrant | ||||
| 
 | ||||
| class MainActivity: FlutterActivity() { | ||||
|     override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) { | ||||
|         GeneratedPluginRegistrant.registerWith(flutterEngine); | ||||
|     } | ||||
| } | ||||
|  | @ -0,0 +1,12 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- Modify this file to customize your launch splash screen --> | ||||
| <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | ||||
|     <item android:drawable="@android:color/white" /> | ||||
| 
 | ||||
|     <!-- You can insert your own image assets here --> | ||||
|     <!-- <item> | ||||
|         <bitmap | ||||
|             android:gravity="center" | ||||
|             android:src="@mipmap/launch_image" /> | ||||
|     </item> --> | ||||
| </layer-list> | ||||
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 544 B | 
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 442 B | 
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 721 B | 
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 1 KiB | 
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 1.4 KiB | 
|  | @ -0,0 +1,8 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <resources> | ||||
|     <style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar"> | ||||
|         <!-- Show a splash screen on the activity. Automatically removed when | ||||
|              Flutter draws its first frame --> | ||||
|         <item name="android:windowBackground">@drawable/launch_background</item> | ||||
|     </style> | ||||
| </resources> | ||||
|  | @ -0,0 +1,7 @@ | |||
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     package="com.nioux.aidedejeu_flutter"> | ||||
|     <!-- Flutter needs it to communicate with the running application | ||||
|          to allow setting breakpoints, to provide hot reload, etc. | ||||
|     --> | ||||
|     <uses-permission android:name="android.permission.INTERNET"/> | ||||
| </manifest> | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yan Maniez
						Yan Maniez