{"id":29238,"date":"2023-11-06T18:05:14","date_gmt":"2023-11-06T12:35:14","guid":{"rendered":"https:\/\/mobisoftinfotech.com\/resources\/?p=29238"},"modified":"2026-04-22T11:33:07","modified_gmt":"2026-04-22T06:03:07","slug":"how-to-add-flutter-screens-to-android-app","status":"publish","type":"post","link":"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app","title":{"rendered":"How to Add Screens Designed in Flutter into Your Android App (Part 2)"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">In <a href=\"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-native-app\">Part 1<\/a>, we introduced the integration of Flutter modules in your iOS app. Now, in part 2, we\u2019re ready to take the next step in your <\/span><a href=\"https:\/\/mobisoftinfotech.com\/services\/flutter-app-development-company\"><span style=\"font-weight: 400;\">Flutter app development<\/span><\/a><span style=\"font-weight: 400;\"> journey. We will implement a simple demo Android application that will feature a few screens designed in Flutter. Our goal is to seamlessly embed the Flutter module into our Android app as an Android Archive (AAR).<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">If you haven&#8217;t already created a Flutter module, it&#8217;s crucial to follow the initial two steps outlined in our Part 1 series. This will provide the foundation for the integration we&#8217;re about to discuss.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">In this blog post, we will be focusing on the heart of the matter &#8211; Integrating a Flutter module into your Android project. So let\u2019s get started.&nbsp;<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"font-weight: 400;\"><strong>Step 1: Generate Android Archive from the Flutter Module<\/strong><\/span><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">The Flutter documentation explains that there are a couple of ways to <\/span><span style=\"font-weight: 400;\">add the Flutter module as a dependency of your existing app in Gradle. <\/span><span style=\"font-weight: 400;\">However, we&#8217;ll be focusing on Option 1 mentioned there, which is called &#8220;<\/span><b>Android Archive<\/b><span style=\"font-weight: 400;\">&#8220;.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Before generating the Android Archive, we need to make sure that we have defined an entry point function to be invoked by the native app.&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">In our main.dart file located under mi_flutter_module\/lib folder, add the following entry point function. This function will be called from the Android app.<\/span><\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">@pragma(<span class=\"hljs-string\">\"vm:entry-point\"<\/span>)\n<span class=\"hljs-keyword\">void<\/span> loadFromNative() <span class=\"hljs-keyword\">async<\/span> {\nWidgetsFlutterBinding.ensureInitialized();\nrunApp(<span class=\"hljs-keyword\">const<\/span> MyApp());\n}\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p><span style=\"font-weight: 400;\">To generate the Android Archive (AAR), run the following command in your mi_flutter_module directory. This command will generate 3 frameworks for Debug, Profile, and Release.<\/span><\/p>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">flutter build aar<\/code><\/span><\/pre>\n\n\n<h2 class=\"wp-block-heading\">Step 2: Configuring and Integrating Android Archive (AAR) in Android Project<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create an Android application and make sure the Build Configuration language is Kotlin DSL (build.gradle.kts)<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><noscript><img decoding=\"async\" width=\"855\" height=\"644\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step02-1.png\" alt=\"Create an Android application and make sure the Build Configuration language is Kotlin DS\" class=\"wp-image-29246\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step02-1.png 855w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step02-1-300x226.png 300w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step02-1-768x578.png 768w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step02-1-640x482.png 640w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step02-1-150x113.png 150w\" sizes=\"(max-width: 855px) 100vw, 855px\"><\/noscript><img decoding=\"async\" width=\"855\" height=\"644\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20855%20644%22%3E%3C%2Fsvg%3E\" alt=\"Create an Android application and make sure the Build Configuration language is Kotlin DS\" class=\"wp-image-29246 lazyload\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20855%20644%22%3E%3C%2Fsvg%3E 855w\" sizes=\"(max-width: 855px) 100vw, 855px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step02-1.png 855w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step02-1-300x226.png 300w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step02-1-768x578.png 768w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step02-1-640x482.png 640w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step02-1-150x113.png 150w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step02-1.png\"><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create a lib folder in your Android project directory. After that copy and paste your AAR directory inside it.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><noscript><img decoding=\"async\" width=\"839\" height=\"1024\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step02-2-839x1024.png\" alt=\"Create a lib folder \" class=\"wp-image-29247\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step02-2-839x1024.png 839w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step02-2-246x300.png 246w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step02-2-768x938.png 768w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step02-2-640x781.png 640w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step02-2-150x183.png 150w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step02-2.png 855w\" sizes=\"(max-width: 839px) 100vw, 839px\"><\/noscript><img decoding=\"async\" width=\"839\" height=\"1024\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20839%201024%22%3E%3C%2Fsvg%3E\" alt=\"Create a lib folder \" class=\"wp-image-29247 lazyload\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20839%201024%22%3E%3C%2Fsvg%3E 839w\" sizes=\"(max-width: 839px) 100vw, 839px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step02-2-839x1024.png 839w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step02-2-246x300.png 246w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step02-2-768x938.png 768w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step02-2-640x781.png 640w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step02-2-150x183.png 150w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step02-2.png 855w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step02-2-839x1024.png\"><\/figure>\n\n\n\n<p><strong>Note: Please make sure the folder structure of the AAR library should be lib\/build\/host\/.. <\/strong><strong>for the host app to find these files.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Ensure you have the repositories configured for the host app to find the AAR files and add the following code to app level build.gradle (&lt;host&gt;\/app\/build.gradle)<\/li>\n<\/ul>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">repositories{\n    val storageUrl = System.getenv(<span class=\"hljs-string\">\"FLUTTER_STORAGE_BASE_URL\"<\/span>) ?: <span class=\"hljs-string\">\"https:\/\/storage.googleapis.com\"<\/span>\n    repositories {\n        google()\n        mavenCentral()\n        maven {\n            setUrl(<span class=\"hljs-string\">\"..\/lib\/build\/host\/outputs\/repo\"<\/span>)\n        }\n        maven {\n            setUrl(<span class=\"hljs-string\">\"$storageUrl\/download.flutter.io\"<\/span>)\n        }\n    }\n}\n\n\ndependencies {\n  debugImplementation (<span class=\"hljs-string\">\"com.mobisoft.mi_flutter_module:flutter_debug:1.0\"<\/span>)\n  profileImplementation (<span class=\"hljs-string\">\"com.mobisoft.mi_flutter_module:flutter_profile:1.0\"<\/span>)\n  releaseImplementation (<span class=\"hljs-string\">\"com.mobisoft.mi_flutter_module:flutter_release:1.0\"<\/span>)\n}\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<ul class=\"wp-block-list\">\n<li>Update the settings.gradle.kts file dependencyResolutionManagement to fix the compile issue.<\/li>\n<\/ul>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">dependencyResolutionManagement {\n    repositories {\n        google()\n        mavenCentral()\n        maven { url = uri(<span class=\"hljs-string\">\"jitpack.io\"<\/span>) }\n    }\n}\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p><span style=\"font-weight: 400;\">If all the steps for generating the AAR and configuring the gradle and settings files are correct, you should be able to build the project successfully.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"font-weight: 400;\"><strong>Step 3: &nbsp; Open the Flutter View<\/strong><\/span><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">To initiate a Flutter screen from an existing Android interface, we&#8217;ll use the FlutterEngine.<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span style=\"font-weight: 400;\">Create an instance of the Flutter Engine in the MainActivity class.<\/span><\/li>\n<\/ul>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">package com.example.fluttermodulenativeapp\nimport io.flutter.embedding.android.FlutterActivity\nimport io.flutter.embedding.engine.FlutterEngine\nimport io.flutter.embedding.engine.FlutterEngineCache\nimport io.flutter.embedding.engine.dart.DartExecutor\n\n\nconst val FLUTTER_ENGINE_NAME = \"mi_flutter_engine\"\n\n\nclass MainActivity : ComponentActivity() {\n    override fun onCreate(savedInstanceState: Bundle?) {\n        super.onCreate(savedInstanceState)\n        val flutterEngine = FlutterEngine(this)\n        flutterEngine.dartExecutor.executeDartEntrypoint(\n            DartExecutor.DartEntrypoint.createDefault()\n        )\n        FlutterEngineCache.getInstance().put(FLUTTER_ENGINE_NAME, flutterEngine)\n\n\n       ...\n    }\n}\n\n\nval flutterEngine = FlutterEngine(this)\n\n<\/code><\/span><\/pre>\n\n\n<p><span style=\"font-weight: 400;\">This line creates a new instance of a Flutter Engine named flutterEngine. A Flutter Engine is responsible for running Flutter code within an Android application.<\/span><\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-4\" data-shcb-language-name=\"CSS\" data-shcb-language-slug=\"css\"><span><code class=\"hljs language-css\"><span class=\"hljs-selector-tag\">flutterEngine<\/span><span class=\"hljs-selector-class\">.dartExecutor<\/span><span class=\"hljs-selector-class\">.executeDartEntrypoint<\/span>(<span class=\"hljs-selector-tag\">DartExecutor<\/span><span class=\"hljs-selector-class\">.DartEntrypoint<\/span><span class=\"hljs-selector-class\">.createDefault<\/span>())\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-4\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">CSS<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">css<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p><span style=\"font-weight: 400;\">This line of code sets up the Flutter Engine to execute the default Dart entry point. It starts running the Flutter code within the engine effectively.<\/span><\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-5\" data-shcb-language-name=\"CSS\" data-shcb-language-slug=\"css\"><span><code class=\"hljs language-css\"><span class=\"hljs-selector-tag\">FlutterEngineCache<\/span><span class=\"hljs-selector-class\">.getInstance<\/span>()<span class=\"hljs-selector-class\">.put<\/span>(<span class=\"hljs-selector-tag\">FLUTTER_ENGINE_NAME<\/span>, <span class=\"hljs-selector-tag\">flutterEngine<\/span>)<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-5\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">CSS<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">css<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p><span style=\"font-weight: 400;\">This line stores the flutterEngine instance in the FlutterEngineCache with the name defined by FLUTTER_ENGINE_NAME. It is used for caching and managing Flutter engines within the application.<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Add the below-mentioned activity tag in your AndroidManifest.xml file:<\/li>\n<\/ul>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-6\" data-shcb-language-name=\"HTML, XML\" data-shcb-language-slug=\"xml\"><span><code class=\"hljs language-xml\"> <span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">activity<\/span>\n  <span class=\"hljs-attr\">android:name<\/span>=<span class=\"hljs-string\">\"io.flutter.embedding.android.FlutterActivity\"<\/span>\n  <span class=\"hljs-attr\">android:configChanges<\/span>=<span class=\"hljs-string\">\"orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode\"<\/span>\n  <span class=\"hljs-attr\">android:hardwareAccelerated<\/span>=<span class=\"hljs-string\">\"true\"<\/span>\n  <span class=\"hljs-attr\">android:windowSoftInputMode<\/span>=<span class=\"hljs-string\">\"adjustResize\"<\/span>\n\/&gt;<\/span>\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-6\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">HTML, XML<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">xml<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p><span style=\"font-weight: 400;\">The &lt;activity&gt; element we have provided is configuring an Android activity named FlutterActivity from the Flutter framework. It specifies how this activity should handle certain configuration changes, enables hardware acceleration for improved graphics performance, and sets the soft input mode to adjust the window size when the soft keyboard is displayed. These settings are commonly employed when integrating Flutter-based UI components into an Android app.<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span style=\"font-weight: 400;\">Update your MainActivity class and add a button to open the Flutter module when it\u2019s clicked.<\/span><\/li>\n<\/ul>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">const val FLUTTER_ENGINE_NAME = \"mi_flutter_engine\"\n\n\nclass MainActivity : ComponentActivity() {\n    override fun onCreate(savedInstanceState: Bundle?) {\n        super.onCreate(savedInstanceState)\n        val flutterEngine = FlutterEngine(this)\n        flutterEngine.dartExecutor.executeDartEntrypoint(\n            DartExecutor.DartEntrypoint.createDefault()\n        )\n        FlutterEngineCache.getInstance().put(FLUTTER_ENGINE_NAME, flutterEngine)\n        setContent {\n                \/\/ A surface container using the 'background' color from the theme\n                Surface(\n                    modifier = Modifier.fillMaxSize(),\n                    color = MaterialTheme.colorScheme.background\n                ) {\n                    LaunchFlutterModuleButton()\n                }\n        }\n    }\n}\n@Composable\nfun LaunchFlutterModuleButton() {\n    val context = LocalContext.current\n    Column(\n        modifier = Modifier.fillMaxSize(),\n        verticalArrangement = Arrangement.Center,\n        horizontalAlignment = Alignment.CenterHorizontally\n    ) {\n        ElevatedButton(onClick = {\n            context.startActivity(\n                FlutterActivity.withCachedEngine(FLUTTER_ENGINE_NAME).build(context))\n        }) {\n            Text(text = \"MI Flutter Module\")\n        }\n    }\n}\n<\/code><\/span><\/pre>\n\n\n<p><strong>Note: Please ensure that you modify the compileSdk version to 34 in the app level build.gradle file.<\/strong><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">When the ElevatedButton is clicked, it triggers the creation and launch of a FlutterActivity using a cached Flutter engine named FLUTTER_ENGINE_NAME created within our MainActivity class. This allows the app to run Flutter code within the context of this activity.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Quite straightforward, wouldn&#8217;t you agree?&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">We\u2019re all set! You can now run the application and Voila!<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><noscript><img decoding=\"async\" width=\"855\" height=\"644\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step03.png\" alt=\"integrating Flutter screen into Android app step\" class=\"wp-image-29248\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step03.png 855w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step03-300x226.png 300w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step03-768x578.png 768w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step03-640x482.png 640w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step03-150x113.png 150w\" sizes=\"(max-width: 855px) 100vw, 855px\"><\/noscript><img decoding=\"async\" width=\"855\" height=\"644\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20855%20644%22%3E%3C%2Fsvg%3E\" alt=\"integrating Flutter screen into Android app step\" class=\"wp-image-29248 lazyload\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20855%20644%22%3E%3C%2Fsvg%3E 855w\" sizes=\"(max-width: 855px) 100vw, 855px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step03.png 855w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step03-300x226.png 300w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step03-768x578.png 768w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step03-640x482.png 640w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step03-150x113.png 150w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/Step03.png\"><\/figure>\n\n\n\n<p><span style=\"font-weight: 400;\">We have now successfully integrated the Flutter screens into your Native Android application.&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">But wait, how can you come back to your native application? To achieve this, we need to update your Flutter Module to close the FlutterActivity.&nbsp;<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"font-weight: 400;\"><strong>Step 4: Create a Helper Class called CloseFlutterModuleHelper in Your Flutter Module<\/strong><\/span><\/h2>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-7\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\"><span class=\"hljs-class\"><span class=\"hljs-keyword\">class<\/span> <span class=\"hljs-title\">CloseFlutterModuleHelper<\/span> <\/span>{\n  <span class=\"hljs-comment\">\/\/ Create a static constant MethodChannel instance with a specific channel name.<\/span>\n  <span class=\"hljs-keyword\">static<\/span> <span class=\"hljs-keyword\">const<\/span> methodChannel = MethodChannel(<span class=\"hljs-string\">'com.mobisoft.FlutterNativeModuleApp'<\/span>);\n  <span class=\"hljs-comment\">\/\/ Private constructor to prevent direct instantiation of the class.<\/span>\n  CloseFlutterModuleHelper._privateConstructor();\n\n\n  <span class=\"hljs-comment\">\/\/ A static method to close a Flutter screen using platform-specific code.<\/span>\n  <span class=\"hljs-keyword\">static<\/span> Future&lt;<span class=\"hljs-keyword\">void<\/span>&gt; closeFlutterScreen() <span class=\"hljs-keyword\">async<\/span> {\n\n\n    <span class=\"hljs-keyword\">try<\/span> {\n<span class=\"hljs-keyword\">if<\/span> (Platform.isAndroid) {\n<span class=\"hljs-comment\">\/\/ Close the FlutterActivity started from Android application<\/span>\n  SystemNavigator.pop(); \n} <span class=\"hljs-keyword\">else<\/span> {\n <span class=\"hljs-comment\">\/\/ Invoke a method named 'dismissFlutterModule' on the MethodChannel of iOS.<\/span>\n      <span class=\"hljs-keyword\">await<\/span> methodChannel.invokeListMethod(<span class=\"hljs-string\">'dismissFlutterModule'<\/span>);\n}\n\n\n      \n    } on PlatformException <span class=\"hljs-keyword\">catch<\/span> (e) {\n      <span class=\"hljs-comment\">\/\/ If an exception occurs during method invocation, print the error.<\/span>\n      debugPrint(e.toString());\n    }\n  }\n}\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-7\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p><span style=\"font-weight: 400;\">Here&#8217;s what the above code does:<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span style=\"font-weight: 400;\">We have created a CloseFlutterModuleHelper class. Its purpose is to close the Flutter screen.<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">MethodChannel instance named <\/span><b>methodChannel<\/b><span style=\"font-weight: 400;\"> is created. This channel is used for communication between Dart code and platform-specific code. The channel name &#8216;<\/span><b>com.mobisoft.FlutterNativeModuleApp<\/b><span style=\"font-weight: 400;\">&#8216; identifies the channel and should match the channel set up on the platform side.<\/span><\/li>\n\n\n\n<li><span style=\"font-weight: 400;\">The closeFlutterScreen method is defined as a static method. It is responsible for initiating the process to close a Flutter screen using platform-specific code. Inside the closeFlutterScreen method, there&#8217;s a try block. Within this block, the methodChannel is used to invoke a method named <\/span><b>&#8216;dismissFlutterModule&#8217;<\/b><span style=\"font-weight: 400;\">. If the platform is Android, it uses SystemNavigator.pop() to close the current screen. This is an Android-specific way of closing the current screen or activity. If the platform is not Android (implying it&#8217;s another platform like iOS), the code within the other block is executed.<\/span><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"font-weight: 400;\"><strong>Step 5: Generate the AAR file again following Step 1 and update it in your Android Project.<\/strong><\/span><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">After implementing the modifications described in Step 4, please remember to regenerate the Android Archive file (AAR). Afterward, integrate this updated AAR into your Android project. Once this is done, you should be able to successfully close the Flutter module when the user clicks on the close button.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span style=\"font-weight: 400;\"><strong>Summing It Up<\/strong><\/span><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">I hope you enjoyed this tutorial on How to add screens designed in Flutter into Your Android App. To download the code for this app, <a href=\"https:\/\/cdn.mobisoftinfotech.com\/assets\/images\/blog\/flutter-app\/source-code.zip\">please click here<\/a>.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Parts 1 and 2 of this tutorial series aim to provide you with valuable insights and guidance for crafting exceptional apps. The combination of Flutter and Android enables you to build visually appealing and highly functional applications. Please feel free to contact me if you have any questions or feedback.&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">If you need expert assistance in your app development initiatives or want to bring your unique app idea to life, our <\/span><a href=\"https:\/\/mobisoftinfotech.com\/services\/flutter-app-development-company\"><span style=\"font-weight: 400;\">Flutter app development services<\/span><\/a><span style=\"font-weight: 400;\"> are at your disposal. Our team of skilled <\/span><a href=\"https:\/\/mobisoftinfotech.com\/services\/hire-flutter-developers\"><span style=\"font-weight: 400;\">Flutter developers<\/span><\/a><span style=\"font-weight: 400;\"> and designers are knowledgeable in the latest trends and technologies, including Flutter layered architecture, Dart language, and language-specific functionalities. We are ready to collaborate with you and guide you through this transformative journey.<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/mobisoftinfotech.com\/contact-us?utm_source=blog&amp;utm_medium=referral&amp;utm_campaign=how-to-add-flutter-screens-to-android-app-cta1 \"><noscript><img decoding=\"async\" width=\"800\" height=\"340\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2025\/01\/cta2.jpg\" alt=\"Flutter app development services\" class=\"wp-image-37665\"><\/noscript><img decoding=\"async\" width=\"800\" height=\"340\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20800%20340%22%3E%3C%2Fsvg%3E\" alt=\"Flutter app development services\" class=\"wp-image-37665 lazyload\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2025\/01\/cta2.jpg\"><\/a><\/figure>\n\n\n<div class=\"modern-author-card\">\n    <div class=\"author-card-content\">\n        <div class=\"author-info-section\">\n            <div class=\"author-avatar\">\n                <noscript><img decoding=\"async\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/08\/prashant.png\" alt=\"Prashant Telangi\"><\/noscript><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"Prashant Telangi\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/08\/prashant.png\" class=\" lazyload\">\n            <\/div>\n            <div class=\"author-details\">\n                <h3 class=\"author-name\">Prashant Telangi<\/h3>\n                <p class=\"author-title\">Head of Technology, Mobile<\/p>\n                <a href=\"javascript:void(0);\" class=\"read-more-link read-more-btn\" onclick=\"toggleAuthorBio(this); return false;\">Read more <noscript><img decoding=\"async\" src=\"\/assets\/images\/blog\/Vector.png\" alt=\"expand\" class=\"read-more-arrow down-arrow\"><\/noscript><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"expand\" class=\"read-more-arrow down-arrow lazyload\" data-src=\"\/assets\/images\/blog\/Vector.png\"><\/a>\n                <div class=\"author-bio-expanded\">\n                    <p>Prashant Telangi brings over 15 years of experience in Mobile Technology, He is currently serving as Head of Technology, Mobile at <a href=\"https:\/\/mobisoftinfotech.com\" target=\"_blank\">Mobisoft Infotech<\/a>. With a proven history in IT and services, he is a skilled, passionate developer specializing in Mobile Applications. His strong engineering background underscores his commitment to crafting innovative solutions in the ever-evolving tech landscape.<\/p>\n                    <div class=\"author-social-links\"><div class=\"social-icon\"><a href=\"https:\/\/www.linkedin.com\/in\/prashant-telangi-83816918\/\" target=\"_blank\" rel=\"nofollow noopener\"><i class=\"icon-sprite linkedin\"><\/i><\/a>\n                     <a href=\"https:\/\/twitter.com\/PrashantAnna\" target=\"_blank\" rel=\"nofollow noopener\"><i class=\"icon-sprite twitter\"><\/i><\/a>\n                     <a href=\"https:\/\/www.facebook.com\/prashant.telangi\/\" target=\"_blank\" rel=\"nofollow noopener\"><i class=\"icon-sprite facebook\"><\/i><\/a><\/div><\/div>\n                    <a href=\"javascript:void(0);\" class=\"read-more-link read-less-btn\" onclick=\"toggleAuthorBio(this); return false;\" style=\"display: none;\">Read less <noscript><img decoding=\"async\" src=\"\/assets\/images\/blog\/Vector.png\" alt=\"collapse\" class=\"read-more-arrow up-arrow\"><\/noscript><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"collapse\" class=\"read-more-arrow up-arrow lazyload\" data-src=\"\/assets\/images\/blog\/Vector.png\"><\/a>\n                <\/div>\n            <\/div>\n        <\/div>\n        <div class=\"share-section\">\n            <span class=\"share-label\">Share Article<\/span>\n            <div class=\"social-share-buttons\">\n                <a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fmobisoftinfotech.com%2Fresources%2Fblog%2Fhow-to-add-flutter-screens-to-android-app\" target=\"_blank\" class=\"share-btn facebook-share\"><i class=\"fa fa-facebook-f\"><\/i><\/a>\n                <a href=\"https:\/\/www.linkedin.com\/sharing\/share-offsite\/?url=https%3A%2F%2Fmobisoftinfotech.com%2Fresources%2Fblog%2Fhow-to-add-flutter-screens-to-android-app\" target=\"_blank\" class=\"share-btn linkedin-share\"><i class=\"fa fa-linkedin\"><\/i><\/a>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In Part 1, we introduced the integration of Flutter modules in your iOS app. Now, in part 2, we\u2019re ready to take the next step in your Flutter app development journey. We will implement a simple demo Android application that will feature a few screens designed in Flutter. Our goal is to seamlessly embed the [&hellip;]<\/p>\n","protected":false},"author":15,"featured_media":29242,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"","footnotes":""},"categories":[286],"tags":[280,3979,3981,3980,1808,3072,3434],"class_list":["post-29238","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-android-app","tag-android-application","tag-android-interface","tag-android-project","tag-flutter-app-development","tag-flutter-app-development-services","tag-flutter-developers"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Add Flutter Screens into Your Android App (Part 2)<\/title>\n<meta name=\"description\" content=\"Integrate Flutter-designed screens into your Android app flawlessly with this step-by-step tutorial. Create visually stunning and fully functional apps.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Add Flutter Screens into Your Android App (Part 2)\" \/>\n<meta property=\"og:description\" content=\"Integrate Flutter-designed screens into your Android app flawlessly with this step-by-step tutorial. Create visually stunning and fully functional apps.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app\" \/>\n<meta property=\"og:site_name\" content=\"Mobisoft Infotech\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-06T12:35:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-22T06:03:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/og-how-to-add-screens-designed-in-flutter-into-your-android-app.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"525\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Prashant Telangi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/og-how-to-add-screens-designed-in-flutter-into-your-android-app.png\" \/>\n<meta name=\"twitter:creator\" content=\"@MobisoftInfo\" \/>\n<meta name=\"twitter:site\" content=\"@MobisoftInfo\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prashant Telangi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app#article\",\"isPartOf\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app\"},\"author\":{\"name\":\"Prashant Telangi\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/d7a32c3195dc5efe2829391045ffc070\"},\"headline\":\"How to Add Screens Designed in Flutter into Your Android App (Part 2)\",\"datePublished\":\"2023-11-06T12:35:14+00:00\",\"dateModified\":\"2026-04-22T06:03:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app\"},\"wordCount\":1105,\"image\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/how-to-add-screens-designed-in-flutter-into-your-android-app.png\",\"keywords\":[\"Android App\",\"Android application\",\"Android interface\",\"Android project\",\"Flutter app development\",\"flutter app development services\",\"flutter developers\"],\"articleSection\":[\"Blog\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app\",\"name\":\"How to Add Flutter Screens into Your Android App (Part 2)\",\"isPartOf\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app#primaryimage\"},\"image\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/how-to-add-screens-designed-in-flutter-into-your-android-app.png\",\"datePublished\":\"2023-11-06T12:35:14+00:00\",\"dateModified\":\"2026-04-22T06:03:07+00:00\",\"author\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/d7a32c3195dc5efe2829391045ffc070\"},\"description\":\"Integrate Flutter-designed screens into your Android app flawlessly with this step-by-step tutorial. Create visually stunning and fully functional apps.\",\"breadcrumb\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app#primaryimage\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/how-to-add-screens-designed-in-flutter-into-your-android-app.png\",\"contentUrl\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/how-to-add-screens-designed-in-flutter-into-your-android-app.png\",\"width\":855,\"height\":392,\"caption\":\"how to add screens designed in flutter into your android app\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/mobisoftinfotech.com\/resources\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Add Screens Designed in Flutter into Your Android App (Part 2)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#website\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/\",\"name\":\"Mobisoft Infotech\",\"description\":\"Discover Mobility\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/mobisoftinfotech.com\/resources\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/d7a32c3195dc5efe2829391045ffc070\",\"name\":\"Prashant Telangi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/cdde432a920f6002154a0769008dfecabe1f464d11187612020b889ad41808e7?s=96&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cdde432a920f6002154a0769008dfecabe1f464d11187612020b889ad41808e7?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cdde432a920f6002154a0769008dfecabe1f464d11187612020b889ad41808e7?s=96&r=g\",\"caption\":\"Prashant Telangi\"},\"sameAs\":[\"http:\/\/www.mobisoftinfotech.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Add Flutter Screens into Your Android App (Part 2)","description":"Integrate Flutter-designed screens into your Android app flawlessly with this step-by-step tutorial. Create visually stunning and fully functional apps.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app","og_locale":"en_US","og_type":"article","og_title":"How to Add Flutter Screens into Your Android App (Part 2)","og_description":"Integrate Flutter-designed screens into your Android app flawlessly with this step-by-step tutorial. Create visually stunning and fully functional apps.","og_url":"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app","og_site_name":"Mobisoft Infotech","article_published_time":"2023-11-06T12:35:14+00:00","article_modified_time":"2026-04-22T06:03:07+00:00","og_image":[{"width":1000,"height":525,"url":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/og-how-to-add-screens-designed-in-flutter-into-your-android-app.png","type":"image\/png"}],"author":"Prashant Telangi","twitter_card":"summary_large_image","twitter_image":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/og-how-to-add-screens-designed-in-flutter-into-your-android-app.png","twitter_creator":"@MobisoftInfo","twitter_site":"@MobisoftInfo","twitter_misc":{"Written by":"Prashant Telangi","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app#article","isPartOf":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app"},"author":{"name":"Prashant Telangi","@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/d7a32c3195dc5efe2829391045ffc070"},"headline":"How to Add Screens Designed in Flutter into Your Android App (Part 2)","datePublished":"2023-11-06T12:35:14+00:00","dateModified":"2026-04-22T06:03:07+00:00","mainEntityOfPage":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app"},"wordCount":1105,"image":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app#primaryimage"},"thumbnailUrl":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/how-to-add-screens-designed-in-flutter-into-your-android-app.png","keywords":["Android App","Android application","Android interface","Android project","Flutter app development","flutter app development services","flutter developers"],"articleSection":["Blog"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app","url":"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app","name":"How to Add Flutter Screens into Your Android App (Part 2)","isPartOf":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app#primaryimage"},"image":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app#primaryimage"},"thumbnailUrl":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/how-to-add-screens-designed-in-flutter-into-your-android-app.png","datePublished":"2023-11-06T12:35:14+00:00","dateModified":"2026-04-22T06:03:07+00:00","author":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/d7a32c3195dc5efe2829391045ffc070"},"description":"Integrate Flutter-designed screens into your Android app flawlessly with this step-by-step tutorial. Create visually stunning and fully functional apps.","breadcrumb":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app#primaryimage","url":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/how-to-add-screens-designed-in-flutter-into-your-android-app.png","contentUrl":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2023\/11\/how-to-add-screens-designed-in-flutter-into-your-android-app.png","width":855,"height":392,"caption":"how to add screens designed in flutter into your android app"},{"@type":"BreadcrumbList","@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/how-to-add-flutter-screens-to-android-app#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mobisoftinfotech.com\/resources\/"},{"@type":"ListItem","position":2,"name":"How to Add Screens Designed in Flutter into Your Android App (Part 2)"}]},{"@type":"WebSite","@id":"https:\/\/mobisoftinfotech.com\/resources\/#website","url":"https:\/\/mobisoftinfotech.com\/resources\/","name":"Mobisoft Infotech","description":"Discover Mobility","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mobisoftinfotech.com\/resources\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/d7a32c3195dc5efe2829391045ffc070","name":"Prashant Telangi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/cdde432a920f6002154a0769008dfecabe1f464d11187612020b889ad41808e7?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/cdde432a920f6002154a0769008dfecabe1f464d11187612020b889ad41808e7?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cdde432a920f6002154a0769008dfecabe1f464d11187612020b889ad41808e7?s=96&r=g","caption":"Prashant Telangi"},"sameAs":["http:\/\/www.mobisoftinfotech.com"]}]}},"_links":{"self":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/29238","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/comments?post=29238"}],"version-history":[{"count":12,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/29238\/revisions"}],"predecessor-version":[{"id":49147,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/29238\/revisions\/49147"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/media\/29242"}],"wp:attachment":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/media?parent=29238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/categories?post=29238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/tags?post=29238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}