<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>flutter &#8211; Best DevOps</title>
	<atom:link href="https://www.bestdevops.com/tag/flutter/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.bestdevops.com</link>
	<description>Lets Learn, Do it &#38; Share! Thats a Best DevOps!!!</description>
	<lastBuildDate>Thu, 10 Aug 2023 10:27:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.3</generator>
	<item>
		<title>Fundamental Tutorials of Flutter</title>
		<link>https://www.bestdevops.com/fundamental-tutorials-of-flutter/</link>
					<comments>https://www.bestdevops.com/fundamental-tutorials-of-flutter/#respond</comments>
		
		<dc:creator><![CDATA[vijaykr123]]></dc:creator>
		<pubDate>Thu, 10 Aug 2023 10:27:16 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<category><![CDATA[Applications]]></category>
		<category><![CDATA[flutter]]></category>
		<category><![CDATA[Fundamental]]></category>
		<category><![CDATA[Tutorials]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=28922</guid>

					<description><![CDATA[What is Flutter? Flutter is an open-source, cross-platform UI toolkit developed by Google. It is used to build native mobile, [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">What is Flutter?</h2>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="900" height="500" data-id="28924" src="https://www.bestdevops.com/wp-content/uploads/2023/08/what-is-flutter-new.jpg" alt="" class="wp-image-28924" srcset="https://www.bestdevops.com/wp-content/uploads/2023/08/what-is-flutter-new.jpg 900w, https://www.bestdevops.com/wp-content/uploads/2023/08/what-is-flutter-new-300x167.jpg 300w, https://www.bestdevops.com/wp-content/uploads/2023/08/what-is-flutter-new-768x427.jpg 768w" sizes="(max-width: 900px) 100vw, 900px" /></figure>
</figure>



<p class="wp-block-paragraph">Flutter is an open-source, cross-platform UI toolkit developed by Google. It is used to build native mobile, web, and desktop applications from a single codebase. Flutter is a powerful and versatile toolkit that can be used to build a variety of applications, including:</p>



<ul class="wp-block-list">
<li>Web applications: Flutter can be used to build web applications that are fast, responsive, and beautiful.</li>



<li>Mobile applications: Flutter can be used to build mobile applications for Android and iOS.</li>



<li>Desktop applications: Flutter can be used to build desktop applications for Windows, macOS, and Linux.</li>



<li>Embedded applications: Flutter can be used to build embedded applications for devices such as IoT devices and smart TVs.</li>
</ul>



<h2 class="wp-block-heading">What is the top use cases of Flutter?</h2>



<p class="wp-block-paragraph">Flutter, a UI toolkit developed by Google, is used to build natively compiled applications for mobile, web, and desktop from a single codebase. Its fast development cycle, expressive UI, and cross-platform capabilities make it suitable for a range of use cases. Here are some of the top use cases of Flutter:</p>



<p class="wp-block-paragraph"><strong>1. Mobile Apps:</strong><br>Flutter is primarily known for building high-quality, performant mobile applications for both Android and iOS platforms. It provides a consistent look and feel across devices and allows developers to create complex UIs with ease.</p>



<p class="wp-block-paragraph"><strong>2. Cross-Platform Apps:</strong><br>Flutter&#8217;s &#8220;write once, run anywhere&#8221; philosophy enables developers to build applications that work on multiple platforms using a single codebase. This reduces development time and effort compared to maintaining separate codebases for each platform.</p>



<p class="wp-block-paragraph"><strong>3. Startup MVPs:</strong><br>Flutter is a popular choice for startups looking to quickly build a Minimum Viable Product (MVP) for their app. Its fast development cycle allows for rapid iteration and testing of ideas.</p>



<p class="wp-block-paragraph"><strong>4.UI-Intensive Apps:</strong><br>Flutter&#8217;s customizable widgets and expressive UI framework make it suitable for apps that require complex and visually appealing user interfaces, such as e-commerce, social media, and multimedia apps.</p>



<p class="wp-block-paragraph"><strong>5.Custom Apps for Enterprises:</strong><br>Enterprises can use Flutter to build custom applications for internal use, such as project management tools, employee portals, and communication platforms.</p>



<p class="wp-block-paragraph">6. Games and Interactive Apps:<br>Flutter&#8217;s graphics capabilities and animation framework make it viable for building simple games, interactive educational apps, and interactive experiences.</p>



<p class="wp-block-paragraph"><strong>7. E-Commerce Apps:</strong><br>Flutter&#8217;s rich set of widgets and flexible design system allows developers to create feature-rich e-commerce apps with appealing product displays, shopping carts, and payment integrations.</p>



<p class="wp-block-paragraph"><strong>8. News and Content Apps:</strong><br>Flutter is suitable for building news, blogging, and content consumption apps with dynamic layouts, animations, and integration of multimedia content.</p>



<p class="wp-block-paragraph"><strong>9. Travel and Booking Apps:</strong><br>Flutter can be used to build travel booking and planning apps with interactive maps, itinerary creation, and integration of third-party services.</p>



<p class="wp-block-paragraph"><strong>10. Health and Fitness Apps:</strong><br>Flutter&#8217;s ability to access device sensors and its integration with Bluetooth and health-related APIs makes it useful for building health and fitness tracking applications.</p>



<h2 class="wp-block-heading">What are feature of Flutter?</h2>



<p class="wp-block-paragraph">Flutter is a popular choice for building cross-platform applications because it has many features that make it a powerful and versatile toolkit. Here are some of the key features of Flutter:</p>



<ul class="wp-block-list">
<li>Hot reload: Flutter supports hot reload, which means that you can make changes to your code and see the changes reflected in your app without having to rebuild the app. This makes Flutter a great choice for rapid development.</li>



<li>Declarative UI: Flutter uses a declarative UI, which means that you describe what your UI should look like, rather than how it should be implemented. This makes Flutter&#8217;s UI code more concise and easier to understand.</li>



<li>Custom widgets: Flutter provides a rich set of widgets, but you can also create your own custom widgets. This makes Flutter very flexible and allows you to create custom UIs that meet your specific needs.</li>



<li>Flutter community: The Flutter community is large and active, and there are many resources available to help you learn Flutter and build great apps.</li>
</ul>



<h2 class="wp-block-heading">What is the workflow of Flutter?</h2>



<p class="wp-block-paragraph">The workflow of Flutter is as follows:</p>



<ul class="wp-block-list">
<li>Create a project: The first step is to create a project. This can be done using the flutter create command.</li>



<li>Write your code: Once you have created a project, you can start writing your code. Flutter code is written in the Dart programming language.</li>



<li>Build your app: Once you have written your code, you can build your app. This can be done using the flutter build command.</li>



<li>Run your app: Once you have built your app, you can run it. This can be done using the flutter run command.</li>



<li>Deploy your app: Once you are happy with your app, you can deploy it to the App Store or Google Play.</li>
</ul>



<h2 class="wp-block-heading">How Flutter Works &amp; Architecture?</h2>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="363" data-id="28923" src="https://www.bestdevops.com/wp-content/uploads/2023/08/How-Flutter-Works-Architecture-1024x363.png" alt="" class="wp-image-28923" srcset="https://www.bestdevops.com/wp-content/uploads/2023/08/How-Flutter-Works-Architecture-1024x363.png 1024w, https://www.bestdevops.com/wp-content/uploads/2023/08/How-Flutter-Works-Architecture-300x106.png 300w, https://www.bestdevops.com/wp-content/uploads/2023/08/How-Flutter-Works-Architecture-768x272.png 768w, https://www.bestdevops.com/wp-content/uploads/2023/08/How-Flutter-Works-Architecture.png 1200w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
</figure>



<p class="wp-block-paragraph">Flutter is an open-source, cross-platform UI toolkit developed by Google. It is used to build native mobile, web, and desktop applications from a single codebase. Flutter works by first compiling your Dart code into machine code for the specific platform that you are targeting. This makes Flutter apps fast and efficient. Flutter then uses a custom rendering engine to render the UI of your app. The rendering engine is written in C++, which makes it very fast and efficient.</p>



<p class="wp-block-paragraph">Flutter also supports hot reload, which means that you can make changes to your code and see the changes reflected in your app without having to rebuild or restart your app. This makes Flutter a great choice for rapid development.</p>



<p class="wp-block-paragraph"><strong>The architecture of Flutter is divided into three layers:</strong></p>



<ul class="wp-block-list">
<li>The engine layer: The engine layer is responsible for rendering the UI of your app. It is written in C++ and is platform-independent.</li>



<li>The framework layer: The framework layer provides the widgets that you use to build your UI. It is written in Dart and is platform-specific.</li>



<li>The app layer: The app layer is where you write your Dart code. It is platform-specific.</li>
</ul>



<h2 class="wp-block-heading">How to Install and Configure Flutter?</h2>



<p class="wp-block-paragraph"><strong>To install and configure Flutter, you can follow these steps:</strong></p>



<ol class="wp-block-list">
<li>Install the Flutter SDK: You can download the Flutter SDK from the Flutter website.</li>



<li>Configure your environment variables: You need to configure your environment variables to point to the Flutter SDK.</li>



<li>Create a new Flutter project: You can create a new Flutter project using the Flutter create command.</li>



<li>Open your Flutter project in your IDE: You can open your Flutter project in your IDE of choice.</li>



<li>Run your Flutter project: You can run your Flutter project using the flutter run command.</li>
</ol>



<p class="wp-block-paragraph"><strong>Here are the detailed steps for each step:</strong></p>



<p class="wp-block-paragraph"><strong>1. Install the Flutter SDK:</strong> You can download the Flutter SDK from the Flutter website. The Flutter website has a variety of installers available for different operating systems. You can download the installer for your operating system from the website.</p>



<p class="wp-block-paragraph"><strong>2. Configure your environment variables:</strong> You need to configure your environment variables to point to the Flutter SDK. You can do this by adding the following lines to your .bashrc or .zshrc file:</p>


<pre class="wp-block-code"><span><code class="hljs language-javascript"><span class="hljs-keyword">export</span> PATH=<span class="hljs-string">"$PATH:$HOME/flutter/bin"</span>
<span class="hljs-keyword">export</span> FLUTTER_SDK=<span class="hljs-string">"$HOME/flutter"</span></code></span></pre>


<p class="wp-block-paragraph"><strong>3. Create a new Flutter project: </strong>You can create a new Flutter project using the flutter create command. This command will create a new project called my_app.</p>


<pre class="wp-block-code"><span><code class="hljs">flutter create my_app</code></span></pre>


<p class="wp-block-paragraph"><strong>4. Open your Flutter project in your IDE:</strong> You can open your Flutter project in your IDE of choice. If you are using Visual Studio Code, you can use the Flutter extension to open your Flutter project.</p>



<p class="wp-block-paragraph"><strong>5. Run your Flutter project: </strong>You can run your Flutter project using the flutter run command. This command will run your Flutter project on the device that you are currently connected to.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bestdevops.com/fundamental-tutorials-of-flutter/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[SOLVED] Flutter : Duplicate class com.google.common.util.concurrent.ListenableFuture found in modules guava-20.0.jar</title>
		<link>https://www.bestdevops.com/flutter-duplicate-class-com-google-common-util-concurrent-listenablefuture-found-in-modules-guava-20-0-jar/</link>
		
		<dc:creator><![CDATA[Sushant Kumar]]></dc:creator>
		<pubDate>Fri, 21 Jan 2022 06:33:10 +0000</pubDate>
				<category><![CDATA[Flutter]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[Android Gradle]]></category>
		<category><![CDATA[app:checkDebugDuplicateClasses]]></category>
		<category><![CDATA[Build failed with an exception.]]></category>
		<category><![CDATA[Duplicate class]]></category>
		<category><![CDATA[Execution failed for task]]></category>
		<category><![CDATA[flutter]]></category>
		<category><![CDATA[Gradle task assembleDebug failed]]></category>
		<category><![CDATA[guava-20.0.jar]]></category>
		<category><![CDATA[modules guava-20.0.jar]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=22885</guid>

					<description><![CDATA[Problem Solution Step 1. Added implementation &#8216;com.google.guava:guava:27.0.1-android&#8217; at the end of my android/app/build.gradle file and the error went away. Source:- Stackoverflow Step [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h1 class="has-text-align-center wp-block-heading"><span class="has-inline-color has-primary-color">Problem</span></h1>


<pre class="wp-block-code"><span><code class="hljs language-xml">Launching lib\main.dart on sdk gphone x86 in debug mode...
Parameter format not correct -
Note: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-1.2.1\android\src\main\java\io\flutter\plugins\firebase\core\FlutterFirebaseCorePlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-1.3.0\android\src\main\java\io\flutter\plugins\firebase\auth\FlutterFirebaseAuthPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_local_notifications-5.0.0+1\android\src\main\java\com\dexterous\flutterlocalnotifications\FlutterLocalNotificationsPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\google_maps_flutter-2.0.3\android\src\main\java\io\flutter\plugins\googlemaps\Convert.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\google_maps_flutter-2.0.3\android\src\main\java\io\flutter\plugins\googlemaps\TileProviderController.java uses unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.
Note: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\google_sign_in-4.5.9\android\src\main\java\io\flutter\plugins\googlesignin\GoogleSignInPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\image_cropper-1.4.1\android\src\main\java\vn\hunghd\flutter\plugins\imagecropper\ImageCropperPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\launch_review-3.0.1\android\src\main\java\com\iyaffle\launchreview\LaunchReviewPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkDebugDuplicateClasses'.
&gt; 1 exception was raised by workers:
  java.lang.RuntimeException: Duplicate class com.google.common.util.concurrent.ListenableFuture found in modules guava-20.0.jar (com.google.guava:guava:20.0) and listenablefuture-1.0.jar (com.google.guava:listenablefuture:1.0)

  Go to the documentation to learn how to <span class="hljs-tag">&lt;<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"d.android.com/r/tools/classpath-sync-errors"</span>&gt;</span>Fix dependency resolution errors<span class="hljs-tag">&lt;/<span class="hljs-name">a</span>&gt;</span>.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 48s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)</code></span></pre>


<h1 class="has-text-align-center wp-block-heading"><span class="has-inline-color has-primary-color">Solution</span></h1>



<p class="wp-block-paragraph"><strong><span class="has-inline-color has-primary-color">Step 1.</span></strong> Added <strong><span class="has-inline-color has-primary-color">implementation &#8216;com.google.guava:guava:27.0.1-android&#8217;</span></strong> at the end of my <strong><span class="has-inline-color has-primary-color">android/app/build.gradle</span></strong> file and the error went away.</p>



<p class="wp-block-paragraph">Source:- <a href="https://stackoverflow.com/a/56639924/12256830" target="_blank" rel="noreferrer noopener">Stackoverflow</a></p>



<p class="wp-block-paragraph"> <strong><span class="has-inline-color has-primary-color">Step 2.</span></strong>  Run <strong>flutter clean</strong>, <strong>flutter pub get</strong> and run your project.</p>



<p class="wp-block-paragraph">That&#8217;s all.</p>



<p class="wp-block-paragraph">I hope it fixed your error.</p>



<p class="wp-block-paragraph">Keep Coding.</p>



<figure class="wp-block-image size-full"><img decoding="async" width="300" height="300" src="http://www.bestdevops.com/wp-content/uploads/2021/09/Keep_coding.gif" alt="" class="wp-image-21547"/></figure>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>[SOLVED] Flutter : AAPT: error: unexpected element &#060;queries&#062; found in &#060;manifest&#062;.</title>
		<link>https://www.bestdevops.com/flutter-aapt-error-unexpected-element-queries-found-in-manifest/</link>
		
		<dc:creator><![CDATA[Sushant Kumar]]></dc:creator>
		<pubDate>Fri, 21 Jan 2022 05:50:01 +0000</pubDate>
				<category><![CDATA[Flutter]]></category>
		<category><![CDATA[Android Gradle]]></category>
		<category><![CDATA[Build failed with an exception.]]></category>
		<category><![CDATA[flutter]]></category>
		<category><![CDATA[unexpected element queries found in manifest]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=22853</guid>

					<description><![CDATA[The Android Gradle Plugin needs to know about new manifest elements, particularly for the manifest merger process. The plugin has [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">The Android Gradle Plugin needs to know about new manifest elements, particularly for the manifest merger process. The plugin has a tendency to get confused if it sees elements in the manifest merger that it does not recognize, tossing out build errors like the one in the question.</p>



<p class="wp-block-paragraph">In this case, Android 11 was introduced <strong><em>&lt;queries></em></strong> as a manifest element, and older versions of the Android Gradle Plugin do not know about that element.</p>



<h1 class="has-text-align-center wp-block-heading"><span class="has-inline-color has-primary-color">PROBLEM</span></h1>


<pre class="wp-block-code"><span><code class="hljs language-php">Launching lib\main.dart on sdk gphone x86 in debug mode...
Parameter format not correct -

FAILURE: Build failed with an <span class="hljs-keyword">exception</span>.

* What went wrong:
Execution failed <span class="hljs-keyword">for</span> task <span class="hljs-string">':app:processDebugResources'</span>.
&gt; A failure occurred <span class="hljs-keyword">while</span> executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   &gt; Android resource linking failed
     C:\Users\MyUserName\.gradle\daemon\<span class="hljs-number">6.5</span>\Apps\my\app-android\build\flutter_inappwebview\intermediates\library_manifest\debug\AndroidManifest.xml:<span class="hljs-number">7</span>:<span class="hljs-number">5</span><span class="hljs-number">-11</span>:<span class="hljs-number">15</span>: &lt;strong&gt;AAPT: error: unexpected element &lt;queries&gt; found in &lt;manifest&gt;.&lt;/strong&gt;


* <span class="hljs-keyword">Try</span>:
Run with --stacktrace option to get the stack trace. Run with --info <span class="hljs-keyword">or</span> --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https:<span class="hljs-comment">//help.gradle.org</span>
BUILD FAILED in <span class="hljs-number">41</span>s
<span class="hljs-keyword">Exception</span>: Gradle task assembleDebug failed with <span class="hljs-keyword">exit</span> code <span class="hljs-number">1</span>
Exited (sigterm)</code></span></pre>


<h1 class="has-text-align-center wp-block-heading"><span class="has-inline-color has-primary-color">SOLUTION</span></h1>



<p class="wp-block-paragraph">I had this issue in flutter but I believe this solution will work for both flutter and native android dev.</p>



<p class="wp-block-paragraph">Follow these steps</p>



<p class="wp-block-paragraph"><span class="has-inline-color has-primary-color"><strong>Step 1.</strong></span> Read this short blog to get some understanding: <a href="https://android-developers.googleblog.com/2020/07/preparing-your-build-for-package-visibility-in-android-11.html" target="_blank" rel="noreferrer noopener">click here</a></p>



<p class="wp-block-paragraph"><strong><span class="has-inline-color has-primary-color">Step 2.</span></strong> Delete the <strong>.gradle</strong> folder inside the android folder i.e., android <em>/</em> .gradle.</p>



<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://www.bestdevops.com/wp-content/uploads/2022/01/AGP-table-v3-1024x576.png" alt="" class="wp-image-22859" width="512" height="288" srcset="https://www.bestdevops.com/wp-content/uploads/2022/01/AGP-table-v3-1024x576.png 1024w, https://www.bestdevops.com/wp-content/uploads/2022/01/AGP-table-v3-300x169.png 300w, https://www.bestdevops.com/wp-content/uploads/2022/01/AGP-table-v3-768x432.png 768w, https://www.bestdevops.com/wp-content/uploads/2022/01/AGP-table-v3-1536x864.png 1536w, https://www.bestdevops.com/wp-content/uploads/2022/01/AGP-table-v3-375x210.png 375w, https://www.bestdevops.com/wp-content/uploads/2022/01/AGP-table-v3.png 1600w" sizes="auto, (max-width: 512px) 100vw, 512px" /></figure></div>



<p class="wp-block-paragraph"> <strong><span class="has-inline-color has-primary-color">Step 3.</span></strong>  See the above image from the step1 blog and upgrade the classpath in the <strong><span class="has-inline-color has-primary-color">android/build.gradle</span></strong> file. I&#8217;ve upgraded from <strong><span class="has-inline-color has-primary-color">classpath &#8216;com.android.tools.build:gradle:3.5.0&#8217;</span></strong>  to   <strong><span class="has-inline-color has-primary-color">classpath &#8216;com.android.tools.build:gradle:3.5.4&#8217; </span></strong> with the help of the above image.</p>



<p class="wp-block-paragraph"> <strong><span class="has-inline-color has-primary-color">Step 4.</span></strong>  You can invalidate caches and restart your android studio. Make sure you have a good internet connection because it will download the new Gradle files or just run <strong><span class="has-inline-color has-primary-color">flutter clean </span></strong>and <strong><span class="has-inline-color has-primary-color">flutter pub get</span></strong> and run your project.</p>



<p class="wp-block-paragraph"><strong><span class="has-inline-color has-primary-color">Note:-</span></strong>  if your error is not solved then look at this thread once,  <strong>Source:</strong> <a href="https://stackoverflow.com/a/64854044/12256830" target="_blank" rel="noreferrer noopener">StackOverflow</a>.</p>



<p class="wp-block-paragraph">After following the above 4 Steps, my error is gone but after running the project, I found a new error i.e., <strong><span class="has-inline-color has-primary-color"><a href="https://www.bestdevops.com/flutter-duplicate-class-com-google-common-util-concurrent-listenablefuture-found-in-modules-guava-20-0-jar/" target="_blank" rel="noreferrer noopener">Duplicate class com.google.common.util.concurrent.ListenableFuture found in modules guava-20.0.jar</a></span></strong> , have a look if you found it too.</p>



<p class="wp-block-paragraph">That&#8217;s all.</p>



<p class="wp-block-paragraph">I hope it fixed your Error.</p>



<p class="wp-block-paragraph">Keep Coding.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="300" height="300" src="http://www.bestdevops.com/wp-content/uploads/2021/09/Keep_coding.gif" alt="" class="wp-image-21547"/></figure>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Flutter Bottom Navigation Bar</title>
		<link>https://www.bestdevops.com/flutter-bottom-navigation-bar/</link>
		
		<dc:creator><![CDATA[pradeep]]></dc:creator>
		<pubDate>Thu, 05 Aug 2021 10:21:47 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<category><![CDATA[Flutter]]></category>
		<category><![CDATA[bottomNavigation]]></category>
		<category><![CDATA[dart]]></category>
		<category><![CDATA[flutter]]></category>
		<category><![CDATA[navigation]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=18714</guid>

					<description><![CDATA[In your main.dart First return a MaterialApp in your build method In the next page or on the same page [&#8230;]]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image is-resized"><img loading="lazy" decoding="async" src="http://www.androidcoding.in/wp-content/uploads/flutter_bottom_navigation-1024x1024.png" alt="Flutter Bottom Navigation View - AndroidCoding.in" width="353" height="353"/></figure>



<h3 class="wp-block-heading">In your main.dart First return a MaterialApp in your build method</h3>



<script src="https://gist.github.com/pradeeprjth/abf9c0b577df2408e7c731ab68f143e9.js"></script>



<h3 class="wp-block-heading">In the next page or on the same page initialize a new stateful widget with the same name you assigned in your body of the MaterialApp  </h3>



<script src="https://gist.github.com/pradeeprjth/2327bdb26e8af5170e208d141e6e2f9e.js"></script>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
