<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Binni G. 🎧🦋 on Medium]]></title>
        <description><![CDATA[Stories by Binni G. 🎧🦋 on Medium]]></description>
        <link>https://medium.com/@binni-goel?source=rss-7662a31ac764------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_wUEb_B0miIs7grF_IBQiA.jpeg</url>
            <title>Stories by Binni G. 🎧🦋 on Medium</title>
            <link>https://medium.com/@binni-goel?source=rss-7662a31ac764------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 19:30:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@binni-goel/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Android Studio/ IntelliJ Shortcuts ]]></title>
            <link>https://binni-goel.medium.com/android-studio-intellij-shortcuts-87b1828fc826?source=rss-7662a31ac764------2</link>
            <guid isPermaLink="false">https://medium.com/p/87b1828fc826</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[shortcut-keys]]></category>
            <category><![CDATA[shortcuts]]></category>
            <category><![CDATA[android-studio]]></category>
            <category><![CDATA[intellij]]></category>
            <dc:creator><![CDATA[Binni G. ]]></dc:creator>
            <pubDate>Sun, 18 Aug 2024 07:49:08 GMT</pubDate>
            <atom:updated>2024-08-18T07:49:08.388Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vb9kMvDRNB5adjN1ODQ2Sw.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@joannakosinska?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Joanna Kosinska</a> on <a href="https://unsplash.com/photos/assorted-color-paper-and-brown-wooden-pencil-LAaSoL0LrYs?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Unsplash</a></figcaption></figure><p>Developers are constantly looking for ways to improve their efficiency. Knowing the right shortcuts can save valuable time and make coding a smoother experience. Whether you are using <strong>IntelliJ IDEA</strong> or <strong>Android Studi</strong>o, these  <strong>Mac</strong> shortcuts will help streamline your workflow.</p><h3>1. Navigate to Definitions</h3><ul><li><strong>Shortcut</strong>: Cmd + B</li><li><strong>Usage</strong>: Jump directly to the definition of a method, class, or variable.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JicDc3o-Wp1iGbhNvLcZbQ.gif" /><figcaption>Showing cmd + B</figcaption></figure><h3>2. Go to Test Case Definition</h3><ul><li><strong>Shortcut</strong>: Cmd + Shift + T</li><li><strong>Usage</strong>: Quickly navigate to the corresponding test class or method.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W2ZKosBk8nZSHV6ohDjULA.gif" /><figcaption>Opening corresponding test</figcaption></figure><h3>3. Switch Between Tabs</h3><ul><li><strong>Shortcut</strong>: Control + Shift + Tab</li><li><strong>Usage</strong>: Move effortlessly between open tabs in the editor.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xzRXTiOma-tJp-Jy2AIEAQ.gif" /><figcaption>Display the tab switching interface with multiple open files</figcaption></figure><h3>4. Create New Class or File</h3><ul><li><strong>Shortcut</strong>: Cmd + N in a folder</li><li><strong>Usage</strong>: Create a new class or file within the selected directory.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eqjfncmWoGSaNgveZs32KQ.gif" /><figcaption>Displaying the “New” menu popup in a folder structure</figcaption></figure><h3>5. Show Suggestions</h3><ul><li><strong>Shortcut</strong>: Option + Enter</li><li><strong>Usage</strong>: View quick fixes and suggestions for the highlighted code.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*03mPoGxAqTy2FbMXaPoiQA.gif" /><figcaption>Display the suggestion dropdown with options</figcaption></figure><h3>6. Duplicate Line</h3><ul><li><strong>Shortcut</strong>: Cmd + D</li><li><strong>Usage</strong>: Quickly duplicate the current line of code.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZwWbTKZdIQy-bEWcXZ9GAQ.gif" /><figcaption>Line of code being duplicated instantly</figcaption></figure><h3>7. Format Code</h3><ul><li><strong>Shortcut</strong>: Cmd + Opt + L</li><li><strong>Usage</strong>: Format the entire file or selected code according to the coding style.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qVLp2eqCJ3LDB746XjqWVw.gif" /><figcaption>Showing the before and after effects of formatting a piece of messy code</figcaption></figure><h3>8. Create Local Variable</h3><ul><li><strong>Shortcut</strong>: ⌥ ⌘ V (Option + Cmd + V)</li><li><strong>Usage</strong>: Automatically create a local variable from an expression.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VmcAe6hfGuEOIFYfn7TsPA.gif" /><figcaption>Displaying the extraction of an expression into a local variable</figcaption></figure><h3>9. Open/Close Terminal</h3><ul><li><strong>Shortcut</strong>: Option + F12 (after enabling fn keys)</li><li><strong>Usage</strong>: Quickly toggle the terminal window within the IDE.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lZSMuQzMhOX6hQA2tK469w.gif" /><figcaption>Show the terminal window opening and closing with the shortcut.</figcaption></figure><h3>10. View Presentation Mode</h3><ul><li><strong>Shortcut</strong>: Control + Option + P <strong>or</strong> Control + ` then select view mode <strong>=&gt;</strong> enter presentation mode .</li><li><strong>Usage</strong>: Switch to presentation mode for distraction-free coding.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rXYS4bjRQuNGSwb6yRuLuw.gif" /><figcaption>Show the IDE in full-screen presentation mode.</figcaption></figure><h3>11. Resize Terminal</h3><ul><li><strong>Shortcut</strong>: Control + Option + Up Arrow</li><li><strong>Usage</strong>: Increase or decrease the size of the terminal window.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5uc5WtkKDXfYjSwcdXhbmw.gif" /><figcaption>Display the terminal window resizing.</figcaption></figure><h3>12. Extract Code to a Method</h3><ul><li><strong>Shortcut</strong>: Cmd + Option + M</li><li><strong>Usage</strong>: Extract selected code into a new method for better code organization.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YO2SOZLg6GsUF2HnIxkiTQ.gif" /><figcaption>Show a block of code being refactored into a method.</figcaption></figure><h3>13. Navigate Word by Word</h3><ul><li><strong>Shortcut</strong>: Option + Arrow Key</li><li><strong>Usage</strong>: Move the cursor and select word by word within a line.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UIgiJz1l9npTKGiL_8Qz8g.gif" /><figcaption>showing the cursor selecting word to line</figcaption></figure><h3>14. Move to End of Line</h3><ul><li><strong>Shortcut</strong>: Control + E</li><li><strong>Usage</strong>: Quickly move the cursor to the end of a particular line.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jYoBWldwzhV5nTMhkt5uyA.gif" /><figcaption>Show the cursor moving to the end of a line of code.</figcaption></figure><h3>15. Refactor Variable Name</h3><ul><li><strong>Shortcut</strong>: Shift + F6</li><li><strong>Usage</strong>: Rename a variable across the entire project.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7Y2s0LyfXg1-w-PJlZRSfQ.gif" /><figcaption>Display a variable being renamed in multiple places within the code.</figcaption></figure><h3>16. Move Between Declarations</h3><ul><li><strong>Shortcut</strong>: Control + Option + Arrow (Up/Down)</li><li><strong>Usage</strong>: Navigate between variable or method declarations.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-fKlWO9BSrIpr54nHFQJBg.gif" /><figcaption>Show the cursor moving between method/variable declarations in a code</figcaption></figure><p>And <strong>Tada!</strong>🚀 . We are now ready to use these shortcuts, that will help you work smarter and faster.</p><h3>Wrapping it Up:</h3><p>You’ve effortlessly cooked up and learned most useful shortcuts in Android studio / IntelliJ. If anything is missed, do let me know in comments. <br>Happy coding and surfing in style!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BDcGook9ADyXJzLYpLaEdA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@tonicuenca?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Toni Cuenca</a> on <a href="https://unsplash.com/photos/JCgj9fBfZCQ?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Unsplash</a></figcaption></figure><blockquote><strong>Thanks For Reading, Follow </strong><a href="https://binni-goel.medium.com/"><strong>Binni G.</strong></a><strong> For More.</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87b1828fc826" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fix. No Audio Sound in Emulator ]]></title>
            <link>https://levelup.gitconnected.com/fix-no-audio-sound-in-emulator-12a95ddc3da8?source=rss-7662a31ac764------2</link>
            <guid isPermaLink="false">https://medium.com/p/12a95ddc3da8</guid>
            <category><![CDATA[emulator]]></category>
            <category><![CDATA[sound]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[flutter]]></category>
            <dc:creator><![CDATA[Binni G. ]]></dc:creator>
            <pubDate>Tue, 13 Feb 2024 08:48:30 GMT</pubDate>
            <atom:updated>2024-02-15T12:10:20.384Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oYaJPoR_i-fsqOci" /><figcaption>Photo by <a href="https://unsplash.com/@schluditsch?utm_source=medium&amp;utm_medium=referral">Daniel Schludi</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Fix. No Audio Sound In Emulator 🔇</h3><p>Recently I was working on an audio-based app that requires audio to be played in background.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YI9q0qhDskcbpHqNJCgbJQ.png" /><figcaption><a href="https://github.com/flutter/games/tree/main/templates/endless_runner">Endless Runner</a> in flutter</figcaption></figure><p>While running that app, I realised there is no sound coming from the emulator, I thought maybe there is some issue in my code.</p><p>To debug this, I opened Youtube Shorts in emulator, but I was still no able to hear any sound from emulator.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M5ovbquz832fsTCjWah0WQ.png" /><figcaption>No Sound Youtube Shorts</figcaption></figure><p>At this point, I was sure that the problem was with the emulator, and not my code.</p><p>After exploring many different thing, Luckily I have found a fix.</p><p>In this article, I will share what works for me.</p><h3>Fix Audio Issue in Emulator</h3><h4>Step ☆1: Show on Disk</h4><ul><li>Open Device Manager in Android Studio.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kHIcKO-4-iuT9Tr721VrEw.png" /><figcaption>Device Manager</figcaption></figure><ul><li>Find your emulator in the list of devices.</li><li>Click on the menu icon on the far right to display a drop down menu.</li><li>Select “<strong>Show on Disk</strong>” option from the dropdown list.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jgxypOLpnqE3RJUVtK3Zfg.png" /><figcaption>Show in Disk</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*MEGl-J7XyhdJNQgcqyYIEg.gif" /><figcaption>Steps.gif</figcaption></figure><h4>Step ☆2: Find “Config.ini “ file.</h4><ul><li>Above step will open a finder window in the directory where your emulator is located.</li><li>In this directory, <strong>“config.ini”</strong> file is present.</li><li>Open this file in any editor.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kxaWlVHgKiCxRnH2WTAMZg.png" /></figure><h4>Step ☆3: Change “Config.ini “.</h4><ul><li>Search for “<strong><em>hw.audioOutput</em></strong><em>”</em> and <em>“</em><strong><em>hw.audioInput” </em></strong>in the config.ini file.</li><li>Add them if not present.</li><li>Change both of the values to “<strong>true</strong>”.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CG6J7ve7oNtLCfQ2HTbWWQ.png" /></figure><p>Save the file. Stop and Restart the emulator again.</p><p>And <strong>Tada! </strong>We are now able to hear the audio sound in the emulator.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nFWhID1pOAPGf1026LTscQ.png" /><figcaption>Music Playing in emulator</figcaption></figure><h3>Wrapping it Up:</h3><p>There you have fixed it! You’ve effortlessly cooked up and fixed your Sound Audio in Android Emulator. Happy coding and surfing in style!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UJDMCgM_NotL5jOd" /><figcaption>Photo by <a href="https://unsplash.com/@icons8?utm_source=medium&amp;utm_medium=referral">Icons8 Team</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><blockquote><strong>Thanks For Reading, Follow </strong><a href="https://binni-goel.medium.com/"><strong>Binni G.</strong></a><strong> For More.</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=12a95ddc3da8" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/fix-no-audio-sound-in-emulator-12a95ddc3da8">Fix. No Audio Sound in Emulator 🔇</a> was originally published in <a href="https://levelup.gitconnected.com/">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[View and Read Realm Database in Flutter]]></title>
            <link>https://levelup.gitconnected.com/view-read-realm-database-in-flutter-binni-goel-b1c02ea0014e?source=rss-7662a31ac764------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1c02ea0014e</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[Binni G. ]]></dc:creator>
            <pubDate>Mon, 05 Feb 2024 18:33:44 GMT</pubDate>
            <atom:updated>2024-02-06T13:56:41.946Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0XTFfTyuil7JGRqT" /><figcaption>Photo by <a href="https://unsplash.com/@jeremythomasphoto?utm_source=medium&amp;utm_medium=referral">Jeremy Thomas</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Introduction</h3><p>I was recently working on an app in flutter, where I am using Realm for storing the data in database (db). In that app, I was creating many db in realm, storing different types of data, deleting the values from the db.</p><p>Everything was working smoothly until I want to fix some bugs, for that I have to understand and see how the Database is storing values in both Android and IOS. But I was not sure how to do that.</p><p>After exploring for many hours I found the resolution for both android and IOS. Also a script that will ease up the process after setting once.</p><p>In this article, I’ll talk about how I found the steps to view / read the realm database in flutter application.</p><h3>Software Required</h3><ul><li><a href="https://studio-releases.realm.io/">Realm Studio</a></li></ul><p>yeah that’s it.</p><p>But wait, let me complete the journey, it is still very long. Let’s divide it into two parts: Android and IOS.</p><h3>## Viewing Realm DB Values Live in Android Device</h3><h4>Step #1: Add a print statement in the code (Common Step)</h4><p>Add a print statement in the code. Printing <strong>realm configuration path</strong> wherever you are first opening the realm db will give you the path that will be very useful for next steps.</p><blockquote>print(realm.config.path);</blockquote><pre>final config = Configuration.local([Book.schema]);<br>    final realm = Realm(config);<br>    if (kDebugMode) {<br>      print(realm.config.path);<br>    }</pre><p>So now, whenever your app will start and realm db gets created, your realm config path will be printed in the console.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WZx7DR7zLY4pOmq_4N0TEA.png" /><figcaption>Printed realm config path in android</figcaption></figure><h4>Step #2: Open default.realm file in Realm Studio</h4><ul><li>Open Device Explorer in Android Studio.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g2LHKuF-eQb8fnlxEWdpnA.png" /></figure><ul><li>Go inside path printed in the first step, there you will find default.realm file.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GJQA9Jmsv6wUOPuPTwKiGQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z7Lo_vpWytYLS3YBRQ6RRw.png" /></figure><ul><li>Save that file anywhere in your computer like downloads, documents, etc.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*TeJ5_s-1XVt4n_OkghF4AQ.png" /></figure><ul><li>Go to that folder where you have stored the file and open the realm file using realm studio.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E3E-GDsBiVvXeBHfio0bFQ.png" /></figure><p>And Tada!! we are now able to see the data along with all the necessary information like the data type, what is the primary key, which field is nullable, and so on..</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zn4y5oB00FmZprJNx0LzrA.png" /></figure><p>But as we had first saved this file in the computer and then we had opened it in realm studio, the data that we see is not live, means whenever you change something using app like add a new entry to db or delete something, you have to perform again from step 2.</p><blockquote>Too much to do these steps every time right ? <em>😔</em></blockquote><p>Don’t Worry!! I have one more easy solution, that is <strong><em>using a custom script</em></strong>. So, the script that I have created will ease all the tiresome process of saving and opening the file, and you just need to set up the script once, and it will work like a charm for you, every-time you run it.</p><p>But for this you need <strong>adb</strong> to be present in your computer.</p><p>Now lets get to the business.</p><h4>Custom Script To View Live Updated Data</h4><p><strong>#1.</strong> Create a realm.sh file in your root directory of app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8uXU5yb7645vsStg_usjHQ.png" /></figure><p><strong>#2.</strong> Copy this script to your realm.sh file and change the placeholder &lt;&gt; values according to the output in console (Take help from color lines in above image) .</p><pre>#!/bin/bash<br><br># Close existing Realm Studio if running<br>pkill Realm\ Studio<br><br># Fetch and save the realm file<br># adb shell run-as &lt;package-name&gt; cat &lt;realm-config-path&gt; &lt;place-you-want-to-save&gt;<br>adb shell run-as com.abc.xyz cat /data/data/com.abc.xyz/files/default.realm &gt; /Users/yourUserName/Downloads/default.realm<br><br># Open the saved realm file<br>open /Users/yourUserName/Downloads/default.realm<br></pre><p><strong>#3.</strong> Give permission by running this command</p><pre>chmod +x realm.sh</pre><p>That’s it, now every-time you want to open the realm studio, to view updated db values, your just need to run the script by clicking on the play button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/1*wvy79Nd_lfMKKYQK_2YYsw.png" /></figure><p>or you can also use this command in the terminal:</p><pre>./realm.sh    </pre><h3>## Viewing Realm DB Values Live in IOS Device</h3><p>Now lets move on to the IOS device, personally speaking this one is my favourite, as it requires less setup, plus here it is not required to save default.realm file, or run the script. It will automatically update your db value in realm studio on the go.</p><h4><strong>Step #1: Add a print statement in the code </strong>(Common Step)</h4><p>Add a print statement in the code. Printing <strong>realm configuration path</strong> wherever you are first opening the realm db will give you the path that will be very useful for next steps.</p><blockquote>print(realm.config.path);</blockquote><pre>final config = Configuration.local([Book.schema]);<br>    final realm = Realm(config);<br>    if (kDebugMode) {<br>      print(realm.config.path);<br>    }</pre><p>So now, whenever your app will start and realm db gets created, your realm config path will be printed in the console.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jb8o_lqXy4NErzCpAqHq9A.png" /><figcaption>Printed realm config path in IOS</figcaption></figure><h4>Step #2: Open default.realm file in Realm Studio</h4><p>Copy the path that is being printed.</p><ul><li>Open a new terminal and paste the value there: open &lt;path&gt; .</li></ul><pre>open /Users/@@@@@/Library/Developer/CoreSimulator/Devices/8@@@-A5EC-@@@@-B4D9-3CA9@@@@@E6/data/Containers/Data/Application/@@@@=@@@@=@@@@/Documents/default.realm</pre><ul><li>Or if above statement not working for you, directly go to the path folder where default.realm is created (path you can get from step 1) and open it using Realm Studio.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_Yu33dC23VjH5Tiyk-I33w.png" /></figure><p><strong>You will now be able to view or read the database along with all the realm classes, its type and all the meta data that are generated.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EUv4mhHekBiQsSNnHnj2Dw.png" /></figure><h3>Wrapping it Up:</h3><p>There you have it! You’ve effortlessly cooked up and launched your Realm Database in Realm Studio. Happy coding and surfing in style!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*6XoIv8SgbSlLhOgArcAd0A.gif" /><figcaption>Photo by <a href="https://www.pexels.com/@kelly-1179532/">Kelly</a> on <a href="https://www.pexels.com/">Pexels</a></figcaption></figure><p><strong><em>Thanks For Reading, Follow Me For More.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1c02ea0014e" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/view-read-realm-database-in-flutter-binni-goel-b1c02ea0014e">View and Read Realm Database in Flutter</a> was originally published in <a href="https://levelup.gitconnected.com/">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build Google Chrome Extension : Theme]]></title>
            <link>https://levelup.gitconnected.com/build-google-chrome-extension-theme-ec2b60a5b0dd?source=rss-7662a31ac764------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec2b60a5b0dd</guid>
            <category><![CDATA[google-chrome-extensions]]></category>
            <category><![CDATA[themes]]></category>
            <category><![CDATA[google-chrome]]></category>
            <category><![CDATA[chrome-extension]]></category>
            <category><![CDATA[google]]></category>
            <dc:creator><![CDATA[Binni G. ]]></dc:creator>
            <pubDate>Wed, 27 Dec 2023 10:28:27 GMT</pubDate>
            <atom:updated>2023-12-27T21:00:42.406Z</atom:updated>
            <content:encoded><![CDATA[<h3>Build Google Chrome Extension : Theme</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nJFj7iU48noMuFS6SZh2GQ.jpeg" /><figcaption>Photo by <a href="https://www.pexels.com/@designecologist/">Designecologist</a> on <a href="https://www.pexels.com/">Pexels</a></figcaption></figure><p>In this article, we’ll guide you through all the steps to build your own personalised google chrome extension. Once you complete all the steps, you’ll be able to create your extension that can be published or used locally.</p><h3>Revamp Your Browsing Experience</h3><h4><strong>Introduction</strong></h4><p>Google Chrome stands tall as one of the most popular choices among users. Unlock a new dimension of personalisation by creating your own <strong><em>Google Chrome extension theme</em></strong>. In this comprehensive guide, we’ll walk you through the process of building a captivating Chrome extension theme using just JavaScript and images.</p><h4>O<strong>bjective &amp; Set Up</strong></h4><p>The objectives of this tutorial are to:</p><ul><li><em>Create a personalised theme for your chrome browser .</em></li><li><em>Upload the extension.</em></li></ul><h4>Why Build a Google Chrome Extension Theme?</h4><p>Before we delve into the technical details, let’s explore the benefits of creating your own Chrome extension theme. Personalisation is key in today’s digital landscape, and having a theme that reflects your style adds a touch of uniqueness to your browsing sessions. Additionally, sharing your theme with others allows you to contribute to the Chrome community.</p><h3>Let’s Get Down to Business</h3><h4>Step #1: Set Up Shop</h4><p>Create a new project folder for your Chrome extension theme. This is where the magic happens — manifest files, style sheets, and image files. Give any name you want.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*78s58JDSiR99YF3cNXZsKQ.png" /><figcaption>Create a new folder</figcaption></figure><h4>Step #2: The Manifest Deets</h4><p>Craft a manifest file (<strong><em>manifest.json</em></strong>) with the lowdown on your extension’s name, version, and other vital details.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*79wDwph14jvM98-u4ZGFGw.png" /><figcaption>manifest.json</figcaption></figure><p>Here’s a snippet to get you started:</p><pre>// manifest.json<br>{<br>    &quot;name&quot;: &quot;Custom Theme&quot;,<br>    &quot;version&quot;: &quot;1.0&quot;,<br>    &quot;description&quot;: &quot;This is a custom theme&quot;,<br>    &quot;manifest_version&quot;: 3,<br>    &quot;theme&quot;: {<br>        &quot;images&quot;: {<br>          // Your images<br>            &quot;theme_frame&quot;: &quot;images\/theme_frame.png&quot;,<br>            &quot;theme_toolbar&quot;: &quot;images\/theme_toolbar.png&quot;,<br>            &quot;theme_tab_background&quot;: &quot;images\/theme_tab_background.png&quot;,<br>            &quot;theme_ntp_background&quot;: &quot;images\/rose.png&quot;,<br>            &quot;theme_ntp_attribution&quot;: &quot;images\/rose_ntp.png&quot;<br><br>        },<br>        &quot;colors&quot;: {<br>             // Your Colors in RGB format<br>            &quot;frame&quot;: [252, 180, 196 ],<br>            &quot;toolbar&quot;: [ 164, 84,  92 ],<br>            &quot;tab_text&quot;: [ 251, 232, 235 ],<br>            &quot;tab_background_text&quot;: [ 163,  81,  93  ],<br>            &quot;bookmark_text&quot;: [  251,  232, 235 ],<br>            &quot;ntp_background&quot;: [  163,  81, 93  ],<br>            &quot;ntp_text&quot;: [ 50,  50,  50 ],<br>            &quot;ntp_link&quot;: [  6,  55, 116 ],<br>            &quot;button_background&quot;: [  0, 0, 0, 0 ]<br>        },<br>        &quot;tints&quot;: {<br>            &quot;buttons&quot;: [ 0, 0, 0.44 ]<br>        }<br>    }<br>}</pre><p>Within this folder NewYearExtension create a subfolder to hold your images. It’s conventional to call it images or img, but you can pretty much call it anything you want. Now add images within the images folder. Your folder structure will look something like this:</p><pre>/NewYearExtension<br>|-- manifest.json<br>|-- images<br>|   |-- image1.jpg<br>|   |-- image2.jpg</pre><h4>Step #3: Test Drive Locally</h4><p>Before the grand reveal, test your theme locally. Smooth out any kinks to ensure it’s flawless.</p><ol><li>Open Google Chrome.</li><li>Open the Extensions Manager. You can do this by either typing in chrome://extensions into the URL bar, or clicking on the Spanner » Preferences » Extensions.</li><li>Tick the checkbox next to Developer mode.</li><li>Click on Load unpacked</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cw6KflLvK0tpcXTZ1Vel4g.png" /></figure><p>5. Select your extension folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PposMml66z30yvgrSrptuQ.png" /></figure><p>and voila its done, your custom theme is now installed in your chrome.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lPu0y10MIHt_6k7y0nYdtA.png" /></figure><h4>Step #4: Launch Your Pizzazz Creation</h4><p>Ready to share your masterpiece? The only remaining part is publishing the theme<strong>. </strong>Follow <a href="https://developer.chrome.com/docs/webstore/publish"><strong>Chrome Web Store Publishing</strong></a> guidelines to know how to publish our own freshly baked package of Chrome theme on<strong> </strong><a href="https://chrome.google.com/webstore/category/themes"><strong>Chrome Web Store</strong></a><strong>.</strong></p><h3>Wrapping it Up:</h3><p>There you have it! You’ve effortlessly cooked up and launched your Google Chrome extension theme. Happy coding and surfing in style!</p><p><strong><em>Thanks For Reading, Follow Me For More.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec2b60a5b0dd" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/build-google-chrome-extension-theme-ec2b60a5b0dd">Build Google Chrome Extension : Theme</a> was originally published in <a href="https://levelup.gitconnected.com/">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Choose Android Studio Over Vysor for Screen Mirroring]]></title>
            <link>https://levelup.gitconnected.com/choose-android-studio-over-vysor-for-screen-mirroring-43363f6d17f0?source=rss-7662a31ac764------2</link>
            <guid isPermaLink="false">https://medium.com/p/43363f6d17f0</guid>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[android-studio]]></category>
            <category><![CDATA[screen-mirroring]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[android-app-development]]></category>
            <dc:creator><![CDATA[Binni G. ]]></dc:creator>
            <pubDate>Fri, 15 Dec 2023 06:08:22 GMT</pubDate>
            <atom:updated>2023-12-16T18:19:04.686Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>Are you a Mobile developer? Are you using Vysor for screen mirroring and casting your Android screen to your PC or Laptop?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yAY1Bk-bhp9R0ekSdH9HNg.png" /></figure><p>Don’t use it because we’ll explore a game-changing feature within Android Studio that allows you to seamlessly mirror and cast your Android screen directly onto your PC or laptop.</p><p>Say goodbye to third-party tools like Vysor and embrace the powerful, built-in screen mirroring capabilities of Android Studio.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0Hyeb8fdeF1r7iBxckKiLQ.png" /></figure><h3>The Shift from Vysor to Android Studio</h3><h3>Why Android Studio?</h3><p>If you’ve been relying on Vysor for screen mirroring, it’s time to reconsider your approach. Android Studio, the go-to integrated development environment (IDE) for Android app development, now offers an intuitive and efficient way to mirror your device’s screen.</p><h3>Key Advantages of Android Studio Screen Mirroring</h3><h4>1. Seamless Integration</h4><p>Android Studio’s inbuilt screen mirroring seamlessly integrates with your development environment, offering a unified platform for both coding and testing.</p><h4>2. Enhanced Connectivity</h4><p>Experience a hassle-free connection process with options for <strong>USB</strong> <strong>or wireless debugging (WI-FI)</strong>. Android Studio streamlines the connection between your physical device and the IDE, ensuring a smooth and uninterrupted workflow.</p><h4>3. Real-Time Reflection</h4><p>Witness real-time changes on your connected physical device mirrored directly within Android Studio. This feature is invaluable for debugging and refining your app on the fly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8R_l8Sog4Oz-m2p1REJjlQ.png" /></figure><h3>How to Connect Your Physical Device</h3><p>Now, let’s dive into the steps for connecting your physical device with Android Studio and enabling screen mirroring.</p><h3>Step 1: Enable Developer Options on Your Mobile Device</h3><p>Before you begin, ensure that Developer Options are enabled on your Android device.</p><h4>a). Navigate to Settings</h4><p>Go to the ‘Settings’ on your Android device and scroll down to find ‘About Phone.’</p><h4>b). Find Build Number</h4><p>Locate ‘Build Number’ in the ‘About Phone’ section. Tap on it multiple times (usually seven) until you see a message indicating that Developer Options have been enabled.</p><h4>c). Access Developer Options</h4><p>Now, go back to the main ‘Settings’ menu. You’ll find ‘Developer Options’ listed. Enter this menu to proceed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/335/1*aih5gcyqsUmxVnV6NpFYMQ.png" /></figure><h3>Step 2: Enabling USB Debugging</h3><h4>a. Connect Your Device</h4><p>Connect your Android device to your computer using a USB cable.</p><h4>b. Enable USB Debugging</h4><p>In the ‘Developer Options,’ locate ‘USB Debugging’ and toggle it on. Confirm any prompts that appear on your device.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mbtKXAMCGdHWQkghl1fScQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f0r8bjobKfpMOqMbZuQczA.png" /></figure><h3>Step 3: Enabling Wireless Debugging</h3><h4>a. Return to Developer Options</h4><p>Navigate back to ‘Developer Options’ on your Android device.</p><h4>b. Locate Wireless Debugging</h4><p>Find the ‘Wireless Debugging’ option within ‘Developer Options.’ Enable it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gbAamAWjiYXy8oXRK5VLGw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zVSq8CHgtaO-gDlJFmTFxw.png" /></figure><h4>c. Connect to Android Studio</h4><p>Navigate to ‘Device Manager’ on your Android Studio. Select option <strong>“<em>Physical”</em></strong> and Tap on “<strong><em>Pair Using WI-FI”</em></strong> option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CU-VZqRQ_7eEn8zrhnUF2Q.png" /></figure><p>There will be two options : Using QR code or Using pairing code, you can use either of them based on the option you have selected im your mobile developer options</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mO_-dkYQEB3YrVhCx6m67A.png" /></figure><blockquote><strong>Make Sure both your Device and PC/Laptop is connected to same WIFI while using WIFI debugging.</strong></blockquote><h3>Step 4: Mirror Your Screen</h3><p>Once debugging is on, navigate to the ‘Settings’ in Android Studio. Here, you’ll find the option to enable mirroring of physical android devices under Tools option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MsWkdP_4vY97u3MCPvCpJQ.png" /></figure><p>Click on enable and close the settings.<br>Now, navigate to the ‘Running Device’ tab in Android Studio.</p><p>Voila — your device’s screen is now mirrored within the IDE.</p><h3>Conclusion</h3><p>In conclusion, the days of relying on third-party applications for screen mirroring are over. Android Studio’s inbuilt feature provides mobile developers with a streamlined, integrated solution for coding and testing, all within a single environment. Embrace the efficiency, connectivity, and real-time reflection offered by Android Studio — your productivity will thank you.</p><p>Make the switch today and elevate your mobile development experience with Android Studio’s screen mirroring capabilities. Happy coding!</p><p><strong><em>Thanks For Reading, Follow Me For More.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=43363f6d17f0" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/choose-android-studio-over-vysor-for-screen-mirroring-43363f6d17f0">Choose Android Studio Over Vysor for Screen Mirroring</a> was originally published in <a href="https://levelup.gitconnected.com/">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Select Best Flutter Package in pub.dev]]></title>
            <link>https://binni-goel.medium.com/a-smart-guide-to-selecting-flutter-dependencies-from-pub-dev-dd98102d33b9?source=rss-7662a31ac764------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd98102d33b9</guid>
            <category><![CDATA[pubdev]]></category>
            <category><![CDATA[dependencies]]></category>
            <category><![CDATA[flutterdev]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Binni G. ]]></dc:creator>
            <pubDate>Tue, 18 Jul 2023 04:17:45 GMT</pubDate>
            <atom:updated>2024-02-15T06:47:00.810Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KnxAwsxFJuWBTcL0IgclVA.jpeg" /><figcaption>Photo by <a href="https://www.pexels.com/photo/close-up-shot-of-mobile-apps-8296105/"><strong>Nothing Ahead</strong></a><strong> </strong>on <strong>Pixels</strong></figcaption></figure><h3>You are choosing wrong flutter packages from pub.dev !!!</h3><p>One wrong package selected can make your app go bankrupt.</p><p>Whether it is security concerns, Licence conflicts, Bugs support, or performance issue. One wrong choice and your app will be nothing. There are many such reasons why you should select the package reasonably.</p><blockquote>“Don’t just choose anything, just because you have an option to choose.”</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lTgaKArTjpZIpodG38Eksw.png" /><figcaption>packages in pub.dev</figcaption></figure><p>Discovering the perfect dependencies for your Flutter project is a crucial step towards creating a robust and efficient application.</p><p>pub.dev is a repository of flutter packages, offers a vast array of choices that can accelerate development and expand your app’s capabilities.</p><p>However, making informed decisions in this sea of options is vital to ensure compatibility, security, and long-term maintainability.</p><p>In this blog, we will go through<strong><em> some of the points that we should keep in mind while choosing a flutter package in pub.dev</em></strong>.</p><p><strong>Note #1. License (MIT or Apache 2.0)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AZ4LHj9cJ1XSBGzjSWMSkg.png" /><figcaption>License of package</figcaption></figure><p>Before integrating a package, verify its license. Packages with MIT or Apache 2.0 licenses are permissive and allow you to use, modify, and distribute the code. These licenses are widely adopted and ensure that the package aligns with your project’s licensing requirements.</p><p><strong>2. Pub Points</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fmh-lZ-f9S9ZuxagZWPZUg.png" /><figcaption>pub points in pub.dev</figcaption></figure><p>Pub Points are an indication of package quality, code health, and adherence to best practices. Packages with higher Pub Points are more likely to be well-maintained, reliable, and of higher quality. Aim for packages with a substantial number of Pub Points.</p><p><strong>3. Open Source</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xf2JsyHjHZc-nYvkjgvvng.png" /><figcaption>open source packages in pub.dev</figcaption></figure><p>Choosing open-source packages is beneficial, as many people will be frequently contributing and improving it. Open-source projects encourage collaboration, transparency, and rapid development. Moreover, you can inspect the source code, identify potential issues, and contribute to the project if needed.</p><p><strong>4. Popularity and Likes</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y10Xl3C4pmjuKDH4vu_qJQ.png" /><figcaption>popularity and likes in pub.dev</figcaption></figure><p>Consider the popularity of a package by examining the number of downloads and the likes it has received on pub.dev. Popular packages often have a large user base, indicating trust and reliability within the Flutter community.</p><p><strong>5. Change Logs and Update Frequency</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U31EWYjZXEO8iznanFzong.png" /><figcaption>changelog in pub.dev</figcaption></figure><p>Regular updates are crucial for bug fixes, new features, and performance improvements. Check the package’s Changelog to understand how frequently it’s updated. Frequent updates show that the package is actively maintained and responsive to user needs.</p><p><strong>6. Verified Owner</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4OWt3wM7IlhwZkCFvZKzHQ.png" /><figcaption>verified owners in pub.dev</figcaption></figure><p>Packages with verified owners offer an additional layer of trust. A verified owner’s identity is confirmed by pub.dev, which adds credibility to the package and assures users that the package is maintained by a trustworthy entity.</p><p><strong>7. Platform support</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vtZ2O3xKNc3Yk7e7lDJrqg.png" /><figcaption>platform support in packages in pub.dev</figcaption></figure><p>When selecting a package from pub.dev, it’s crucial to consider the platform support to ensure compatibility with your project. Whether your project targets mobile platforms such as iOS and Android, web environments, or desktop applications, package’s documentation of platform supported is essential.</p><p><strong>8. Unknown License</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NoVFRDo1NB-RclFUbRMMYg.png" /><figcaption>Unverified users in pub.dev</figcaption></figure><p>If a package has an unknown or unclear license, refrain from using it. Always prioritise packages with clear and permissive licenses to avoid potential legal issues.</p><h3>Wrapping it Up:</h3><p>There you are!! By following these guidelines, you can build a robust and successful flutter application. Happy coding and surfing in style!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CyVzeRkdshaVwQux" /><figcaption>Photo by <a href="https://unsplash.com/@alex_lin?utm_source=medium&amp;utm_medium=referral">Alexey Lin</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><blockquote><strong>Thanks For Reading, Follow </strong><a href="https://binni-goel.medium.com/"><strong>Binni G.</strong></a><strong> For More.</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd98102d33b9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What are the Flutter App Optimisation practices you should follow ?]]></title>
            <link>https://binni-goel.medium.com/top-flutter-performance-optimisation-best-practices-1aebe24fb176?source=rss-7662a31ac764------2</link>
            <guid isPermaLink="false">https://medium.com/p/1aebe24fb176</guid>
            <category><![CDATA[devtools]]></category>
            <category><![CDATA[performance-optimization]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[flutter-performance]]></category>
            <dc:creator><![CDATA[Binni G. ]]></dc:creator>
            <pubDate>Mon, 29 May 2023 09:43:00 GMT</pubDate>
            <atom:updated>2024-01-04T15:48:58.308Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RjiA8FbIdGmtJdAPCuMoMQ.jpeg" /><figcaption>Photo by <a href="https://www.pexels.com/photo/white-horse-in-herd-15190282/">Mehmet Turgut</a> on Pexels</figcaption></figure><h3>What are the Flutter App Optimisation practices you should follow ?</h3><h3>Introduction</h3><p>When it comes to building high-performance Flutter apps, optimising performance is key. By following a few best practices, you can enhance your app’s speed, responsiveness, and efficiency.</p><p>In this blog, we will explore some simple yet effective techniques to supercharge your Flutter app’s performance.</p><ol><li><strong><em>Minimize Widget Rebuilds:</em></strong> Widgets are the building blocks of a Flutter app’s user interface. However, unnecessary widget rebuilds can impact performance. To optimize this, use const constructors for stateless widgets whenever possible. This tells Flutter that the widget&#39;s properties won&#39;t change, reducing unnecessary rebuilds. Additionally, leverage state management solutions like Provider or Riverpod to update only the necessary parts of the UI.</li><li><strong><em>Efficient State Management:</em></strong> Effective state management is crucial for performance optimization. Choose a state management solution that aligns with your app’s needs. Keep your state management code concise and avoid unnecessary rebuilds. When updating state, use small, focused state management components (such as Cubits) that are as close to the relevant widgets as possible.</li><li><strong><em>Utilize Keys:</em></strong> Keys play a vital role in Flutter’s widget tree. They not only assist with testing but also help Flutter determine whether to rebuild a widget. Assign keys to widgets that you want to preserve across rebuilds and avoid unnecessary rebuilds when the widget’s position in the tree hasn’t changed.</li><li><strong><em>Target 60 Frames Per Second (FPS):</em></strong> Aim for a smooth and responsive UI by achieving a consistent frame rate of 60 FPS. This ensures smooth animations and transitions. Optimize your code by reducing computations and leveraging Flutter’s animation APIs to maintain optimal performance.</li><li><strong><em>Leverage Flutter Inspector:</em></strong> The Flutter Inspector provides valuable tools for debugging and optimizing your app’s performance. Use the “Rainbow Debug” feature to visualize widget rebuilds by displaying different border colors when a widget changes. This helps you identify and address unnecessary rebuilds.</li><li><strong><em>Stateless over Stateful:</em></strong> Whenever possible, use stateless widgets instead of stateful widgets. Stateless widgets are simpler and more efficient since they don’t maintain any internal state. Reserve stateful widgets only for components that genuinely require state management.</li></ol><p>Conclusion: By implementing these performance optimisation best practices, you can significantly enhance the speed, responsiveness, and efficiency of your Flutter app. Remember to prioritise minimising widget rebuilds, choose an appropriate state management solution, utilize keys effectively, target 60 FPS, and leverage Flutter Inspector for debugging. Empower your app with these techniques and provide users with a seamless and delightful experience.</p><blockquote><strong>Thanks For Reading, Follow Me For More.</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1aebe24fb176" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Implement Firebase Authentication using Email in Flutter | A Step-by-Step Guide]]></title>
            <link>https://binni-goel.medium.com/implementing-firebase-email-authentication-6343f4b11df9?source=rss-7662a31ac764------2</link>
            <guid isPermaLink="false">https://medium.com/p/6343f4b11df9</guid>
            <category><![CDATA[firebase-flutter-auth]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[firebaseauthentication]]></category>
            <category><![CDATA[flutter-firebase]]></category>
            <category><![CDATA[firebase]]></category>
            <dc:creator><![CDATA[Binni G. ]]></dc:creator>
            <pubDate>Mon, 13 Mar 2023 12:22:33 GMT</pubDate>
            <atom:updated>2024-01-04T16:29:23.212Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l4RDyDfYMTZxjt1QN2DHHA.jpeg" /><figcaption>Photo by<strong> </strong><a href="https://www.pexels.com/photo/wood-winter-animal-dog-19675471/"><strong>Andreas Schnabl</strong></a> on <a href="https://www.pexels.com/">Pexels</a></figcaption></figure><h3>How to Implement Firebase Email Authentication ?</h3><h3>Introduction</h3><p>Welcome to the tutorial on Flutter Firebase authentication! In my previous post I have shown the basic setup, how to get started with Firebase by setting up a Firebase Console project, adding dependencies to your Flutter app, and initialising Firebase in your code. If you haven’t read it yet, I highly recommend doing so to gain a better understanding of the basics of Firebase in Flutter.</p><blockquote><strong><em>Check out my previous Tutorial to setup </em></strong><a href="https://medium.com/@droidbg/firebase-authentication-in-flutter-binni-goel-1fa2bfe2a6b6"><strong><em>Firebase Project</em></strong></a><strong><em>.</em></strong></blockquote><p><a href="https://droidbg.medium.com/firebase-authentication-in-flutter-binni-goel-1fa2bfe2a6b6">Firebase Authentication in Flutter -Binni Goel</a></p><p>In this blog post, we’ll dive deeper into one of the most commonly used authentication methods in mobile app development.</p><h4><strong>Email authentication</strong> using Firebase</h4><p>Email authentication allows users to sign up and sign in to your app using their email address and a password, which makes it a great option for many apps. We’ll cover the steps needed to implement email authentication in your Flutter app using Firebase and show you how to handle the authentication flow. So, if you’re ready to learn more about this authentication method and how to implement it in your Flutter app, keep reading!</p><blockquote>Firebase Email Authentication allows users to sign in with an email and password.</blockquote><h3>Let’s Get Down to Business</h3><p><strong>Step #1: Enable Email</strong></p><p>Enable Email option in the firebase console.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9bPLwlV1ojPm65xL" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WCDWuA4WzOhnC1lB" /></figure><p><strong>Step #2: Create auth.dart</strong></p><p>In your Flutter app, create a new file called auth.dart and add the following code to create a new user:</p><pre>import &#39;package:firebase_auth/firebase_auth.dart&#39;;<br><br>class AuthService {<br>  final FirebaseAuth _auth = FirebaseAuth.instance;<br><br>  // Sign in with email and password<br>  Future&lt;UserCredential?&gt; signInWithEmailAndPassword(<br>      String email, String password) async {<br>    try {<br>      final userCredential = await _auth.signInWithEmailAndPassword(<br>          email: email, password: password);<br>      return userCredential;<br>    } on FirebaseAuthException catch (e) {<br>      if (e.code == &#39;user-not-found&#39;) {<br>        print(&#39;No user found for that email.&#39;);<br>      } else if (e.code == &#39;wrong-password&#39;) {<br>        print(&#39;Wrong password provided for that user.&#39;);<br>      }<br>      // Handle other errors<br>      return null;<br>    }<br>  }<br><br>  // Register with email and password<br>  Future&lt;UserCredential?&gt; registerWithEmailAndPassword(<br>      String email, String password) async {<br>    try {<br>      final userCredential = await _auth.createUserWithEmailAndPassword(<br>          email: email, password: password);<br>      return userCredential;<br>    } on FirebaseAuthException catch (e) {<br>      if (e.code == &#39;weak-password&#39;) {<br>        print(&#39;The password provided is too weak.&#39;);<br>      } else if (e.code == &#39;email-already-in-use&#39;) {<br>        print(&#39;The account already exists for that email.&#39;);<br>      }<br>      // Handle other errors<br>      return null;<br>    }<br>  }<br><br>  // Sign out<br>  Future&lt;void&gt; signOut() async {<br>    await _auth.signOut();<br>  }<br><br>  // Check if user is authenticated<br>  Stream&lt;User?&gt; get authStateChanges =&gt; _auth.authStateChanges();<br>}</pre><p><strong>Step #3: Create signin_page.dart</strong></p><ul><li>In your Flutter app, create a new file called signin_page.dart and add the following code:</li></ul><pre>import &#39;package:firebase_auth/firebase_auth.dart&#39;;<br>import &#39;package:flutter/material.dart&#39;;<br><br>import &#39;auth.dart&#39;;<br><br>class LoginPage extends StatefulWidget {<br>  static const String routeName = &#39;/login&#39;;<br>  const LoginPage({super.key});<br><br>  @override<br>  _LoginPageState createState() =&gt; _LoginPageState();<br>}<br><br>class _LoginPageState extends State&lt;LoginPage&gt; {<br>  final _formKey = GlobalKey&lt;FormState&gt;();<br>  final AuthService _auth = AuthService();<br>  String _email = &#39;&#39;;<br>  String _password = &#39;&#39;;<br><br>  @override<br>  Widget build(BuildContext context) {<br>    return Scaffold(<br>      appBar: AppBar(<br>        title: const Text(&#39;Login / Sign Up&#39;),<br>      ),<br>      body: SingleChildScrollView(<br>        child: Padding(<br>          padding: const EdgeInsets.all(16),<br>          child: Form(<br>            key: _formKey,<br>            child: Column(<br>              children: [<br>                TextFormField(<br>                  keyboardType: TextInputType.emailAddress,<br>                  decoration: const InputDecoration(labelText: &#39;Email&#39;),<br>                  validator: (value) {<br>                    if (value!.isEmpty) {<br>                      return &#39;Please enter your email&#39;;<br>                    }<br>                    if (!value.contains(&#39;@&#39;)) {<br>                      return &#39;Please enter a valid email&#39;;<br>                    }<br>                    return null;<br>                  },<br>                  onChanged: (value) {<br>                    _email = value;<br>                  },<br>                ),<br>                const SizedBox(height: 16),<br>                TextFormField(<br>                  obscureText: true,<br>                  decoration: const InputDecoration(labelText: &#39;Password&#39;),<br>                  validator: (value) {<br>                    if (value!.isEmpty) {<br>                      return &#39;Please enter your password&#39;;<br>                    }<br>                    return null;<br>                  },<br>                  onChanged: (value) {<br>                    _password = value;<br>                  },<br>                ),<br>                const SizedBox(height: 16),<br>                Row(<br>                  mainAxisAlignment: MainAxisAlignment.spaceEvenly,<br>                  children: [<br>                    ElevatedButton(<br>                      onPressed: () async {<br>                        if (_formKey.currentState!.validate()) {<br>                          UserCredential? userCredential = await _auth<br>                              .signInWithEmailAndPassword(_email, _password);<br>                        }<br>                      },<br>                      child: const Text(&#39;Sign In&#39;),<br>                    ),<br>                    ElevatedButton(<br>                      onPressed: () async {<br>                        if (_formKey.currentState!.validate()) {<br>                          UserCredential? userCredential = await _auth<br>                              .registerWithEmailAndPassword(_email, _password);<br>                        }<br>                      },<br>                      child: const Text(&#39;Sign Up&#39;),<br>                    ),<br>                  ],<br>                )<br>              ],<br>            ),<br>          ),<br>        ),<br>      ),<br>    );<br>  }<br>}</pre><p><strong>Step #4: Create home_page.dart</strong></p><ul><li>In your Flutter app, create a new file called home_page.dart and add the following code:</li></ul><pre>import &#39;package:flutter/material.dart&#39;;<br><br>import &#39;auth.dart&#39;;<br><br>class HomePage extends StatelessWidget {<br>  static const String routeName = &#39;/home&#39;;<br><br>  final AuthService _auth = AuthService();<br><br>  HomePage({super.key});<br><br>  @override<br>  Widget build(BuildContext context) {<br>    return Scaffold(<br>      appBar: AppBar(<br>        title: Text(&#39;Home Page&#39;),<br>        actions: [<br>          TextButton.icon(<br>            onPressed: () async {<br>              await _auth.signOut();<br>            },<br>            icon: Icon(Icons.person),<br>            label: Text(&#39;Logout&#39;),<br>            style: TextButton.styleFrom(primary: Colors.white),<br>          ),<br>        ],<br>      ),<br>      body: Center(<br>        child: Text(<br>          &#39;You are logged in!&#39;,<br>          style: TextStyle(fontSize: 24.0),<br>        ),<br>      ),<br>    );<br>  }<br>}</pre><p><strong>Step #5: Add Code in main.dart</strong></p><ul><li>In your Flutter app, change your main.dart file and add the following code:</li></ul><pre>import &#39;package:firebase_auth/firebase_auth.dart&#39;;<br>import &#39;package:firebase_core/firebase_core.dart&#39;;<br>import &#39;package:flutter/material.dart&#39;;<br>import &#39;package:login_authentication_demo/signin_page.dart&#39;;<br><br>import &#39;auth.dart&#39;;<br>import &#39;home_page.dart&#39;;<br><br>void main() async {<br>  WidgetsFlutterBinding.ensureInitialized();<br>  await Firebase.initializeApp();<br>  runApp(MyApp());<br>}<br><br>class MyApp extends StatelessWidget {<br>  final AuthService _auth = AuthService();<br><br>  @override<br>  Widget build(BuildContext context) {<br>    return MaterialApp(<br>      title: &#39;Firebase Authentication Demo&#39;,<br>      theme: ThemeData(<br>        primarySwatch: Colors.blue,<br>      ),<br>      home: StreamBuilder(<br>        stream: _auth.authStateChanges,<br>        builder: (BuildContext context, AsyncSnapshot&lt;User?&gt; snapshot) {<br>          if (snapshot.connectionState == ConnectionState.waiting) {<br>            return const Center(child: CircularProgressIndicator());<br>          }<br>          if (snapshot.hasData) {<br>            return HomePage();<br>          } else {<br>            return const LoginPage();<br>          }<br>        },<br>      ),<br>      routes: {<br>        LoginPage.routeName: (BuildContext context) =&gt; const LoginPage(),<br>        HomePage.routeName: (BuildContext context) =&gt; HomePage(),<br>      },<br>    );<br>  }<br>}</pre><p>Voilà, it’s done.</p><figure><img alt="Sign in, sign up page of your app" src="https://cdn-images-1.medium.com/max/770/0*0xzZbzPKILqjiWbl" /></figure><figure><img alt="Logged In State of your app" src="https://cdn-images-1.medium.com/max/954/0*cEzjpA1OTmpOg_MS" /></figure><blockquote><strong>Thanks For Reading, Follow Me For More.</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6343f4b11df9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Fix “Flutter Riverpod Depends on Flutter Riverpod, Version Solving Failed” Error]]></title>
            <link>https://binni-goel.medium.com/how-to-fix-flutter-riverpod-depends-on-flutter-riverpod-version-solving-failed-error-6426ef73fe02?source=rss-7662a31ac764------2</link>
            <guid isPermaLink="false">https://medium.com/p/6426ef73fe02</guid>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[error-handling]]></category>
            <category><![CDATA[riverpod]]></category>
            <category><![CDATA[flutter-app-development]]></category>
            <category><![CDATA[flutter-riverpod]]></category>
            <dc:creator><![CDATA[Binni G. ]]></dc:creator>
            <pubDate>Mon, 13 Mar 2023 07:44:37 GMT</pubDate>
            <atom:updated>2023-03-13T07:44:37.776Z</atom:updated>
            <content:encoded><![CDATA[<p>Flutter Riverpod is a widely used state management library for Flutter that provides an elegant and concise way to manage application state. However, one issue that developers may encounter when using Flutter Riverpod is the error: <em>“flutter_riverpod depends on flutter_riverpod, version solving failed”</em>.</p><p>In the below example, I created a new flutter project. Now when I was trying to add flutter_riverpod dependency I was getting this error:</p><pre>Because flutter_riverpod depends on flutter_riverpod, version solving failed.<br>pub finished with exit code 65</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4u91rrr6EKssBGDrBcZ2fA.png" /></figure><p>In some cases, this error occurs when the project is named “flutter_riverpod”, which can create conflicts in the dependencies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EKUibiJftRV8Vweruyq3PQ.png" /></figure><p>In this article, we will explore this error and provide steps to fix it.</p><h3>Understanding the Problem</h3><p>When developing a Flutter application, it is essential to choose a unique name for your project. If you name your project “flutter_riverpod”, it can create conflicts in the dependencies as Flutter Riverpod depends on Flutter Riverpod. When the project and library have the same name, Flutter gets confused about which version of the library to use, leading to a version solving failure error.</p><h3>Causes of the Error</h3><p>The version solving failure error occurs when there is a conflict in the dependencies. <strong>In the case of using “flutter_riverpod” as the project name, it creates a conflict with the Flutter Riverpod library as both have the same name</strong>. As a result, Flutter cannot determine which version of the library to use, leading to a version solving failure error.</p><h3>Fixing the Error</h3><p>To fix the version solving failure error caused by using “flutter_riverpod” as the project name, you can follow the steps below:</p><h3>Step 1: Rename Your Project</h3><p>The first step in fixing the error is to rename your project to a unique name. You can do this by updating the name field in the pubspec.yaml file of your project. Ensure that the new name you choose is unique and does not conflict with any existing libraries or projects.</p><h3>Step 2: Update the Version of Flutter Riverpod</h3><p>If you have already installed the Flutter Riverpod library in your project, you need to update the version to the latest version. You can do this by updating the version number in the pubspec.yaml file of your project. Once you have updated the version number, run flutter pub get to install the new version of Flutter Riverpod.</p><h3>Step 3: Clean and Rebuild Your Project</h3><p>Once you have renamed your project and updated the version of Flutter Riverpod, you should clean and rebuild your project. To do this, run flutter clean to delete the build/ directory and then run flutter run to rebuild your project.</p><h3>Conclusion</h3><p>Choosing a unique name for your Flutter project is essential to avoid conflicts in dependencies. If you encounter the version solving failure error when using Flutter Riverpod, and you have named your project “flutter_riverpod”, the error is likely caused by the name conflict. By following the steps outlined in this blog, you can fix the error and continue developing your Flutter application with Flutter Riverpod.</p><p>Voilà, it’s done. Error will be gone now.</p><p>If you know other ways , share in the comments for everyone!</p><blockquote><strong><em>Thanks For Reading, Follow Me For More</em></strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6426ef73fe02" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Firebase Authentication in Flutter -Binni Goel]]></title>
            <link>https://levelup.gitconnected.com/firebase-authentication-in-flutter-binni-goel-1fa2bfe2a6b6?source=rss-7662a31ac764------2</link>
            <guid isPermaLink="false">https://medium.com/p/1fa2bfe2a6b6</guid>
            <category><![CDATA[firebaseauthentication]]></category>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[firebase-flutter-auth]]></category>
            <category><![CDATA[flutter-firebase]]></category>
            <dc:creator><![CDATA[Binni G. ]]></dc:creator>
            <pubDate>Thu, 02 Mar 2023 06:16:22 GMT</pubDate>
            <atom:updated>2023-12-16T18:19:09.182Z</atom:updated>
            <content:encoded><![CDATA[<h3>Firebase Authentication in Flutter: How to Implement Secure User Sign-In and Sign-Up — Binni Goel</h3><p>Flutter is a powerful and versatile framework for building mobile applications. It allows developers to build beautiful and performant apps for both Android and iOS with a single codebase. Firebase is a popular mobile and web application development platform that provides developers with a wide range of tools and services for building high-quality applications. In this blog, we will discuss how to add Firebase packages in a Flutter project, step-by-step.</p><p><strong>Steps Performed:</strong></p><ol><li>Setting up the firebase console project.</li><li>Adding the app to the firebase project</li><li>Adding the firebase dependencies and packages in the project code.</li><li>Firebase Authentication types that will be covered in this tutorial: phone, email, and google.</li><li><strong>SETTING UP THE FIREBASE CONSOLE</strong></li></ol><ul><li>Go to the <a href="https://firebase.google.com/">Firebase website</a> (<a href="https://firebase.google.com/">https://firebase.google.com/</a> ), sign in to your google account, and click on create a project/Add a project.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zElnOF8vp_41jLju" /></figure><ul><li>Give the project name (it can be anything) and accept the terms and conditions. click continue.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zevJCOdrBrHJZxML" /></figure><ul><li>Click Continue.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JOLrfEVihp2djUBz" /></figure><ul><li>Click create a project.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bo_A8tQekTJqMj4a" /></figure><p><strong>2. ADDING THE APP TO THE FIREBASE PROJECT.</strong></p><p>Here we can see multiple options to integrate firebase into the project like Android, IOS, and WEB.</p><p><strong>Adding an android app to the project</strong></p><ul><li>Step 1: Click on the Android icon.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JoX4TZiZ-ssk-Awh" /></figure><ul><li>Step 2: Give the package name the same as your project package name.</li></ul><p>Android -&gt; app-&gt; build.gradle file -&gt; defaultConfig, inside of it is application id that is the package name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-q_Yl9avRjf0XIKj" /></figure><ul><li>You can give Nickname but it is optional. If specified, the app nickname will be used throughout the Firebase console to represent this app. Nicknames aren’t visible to users.</li><li>SHA key we will give later, so leave this also blank, and click register app.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OQ1SwhJhcEQu7xYY" /></figure><ul><li>Download the google-service.json file. Move your downloaded google-services.json file into your module (app-level) root directory in your flutter project. Then click next.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0H8S2o2QhfNjX93PelvrYg.png" /><figcaption>google-service.json</figcaption></figure><ul><li>Now we have to edit two files in the flutter project.</li><li>a) In the root-level build.gradle, add the required code line there</li></ul><pre>classpath ‘com.google.gms:google-service:4.3.5</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*de_7AAYo_ZOmWkT4" /></figure><ul><li>b) In the app-level build.gradle file (&lt;project&gt;/&lt;app-module&gt;/build.gradle), add the code line at the bottom of the file</li></ul><pre>apply plugin: ‘com.google.gms.google-services’</pre><p>and Add the dependencies:</p><pre>  implementation platform(‘com.google.firebase:firebase-bom:31.2.2’ )</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0qya77cPl2Yl4TfP" /></figure><ul><li>Click next and continue to the console. Now the app is added to your firebase console.</li></ul><p><strong>3. ADDING FIREBASE DEPENDENCIES AND PACKAGES INTO YOUR PROJECT.</strong></p><p><strong>Add Firebase to your Flutter project</strong></p><ul><li>To add Firebase to your Flutter project, you need to add the following dependencies to your project’s pubspec.yaml file:</li></ul><pre>dependencies:<br> firebase_core: ^2.7.1</pre><p>This package contains the core Firebase SDK, which is required for all Firebase packages. Once you have added this dependency, run the following command in the terminal to install it:</p><pre>flutter pub get</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lnD598tXjmdIxnEj" /></figure><p><strong>Add Firebase packages to your Flutter project</strong></p><ul><li>To add Firebase packages to your Flutter project, you need to add the dependencies to your project’s pubspec.yaml file. For example, to add Firebase Authentication, add the following dependency:</li></ul><pre>dependencies:<br> firebase_auth: ^4.2.10</pre><p>This package contains the Firebase Authentication SDK, which allows users to sign in to your app with their Google, Facebook, or email accounts. Once you have added this dependency, run the following command in the terminal to install it:</p><pre>flutter pub get</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qsP4iYVPdc7Y7ayO" /></figure><p><strong>Configure Firebase in your Flutter project</strong></p><p>You need to add the following code to your main.dart file:</p><pre>import &#39;package:firebase_core/firebase_core.dart&#39;;<br>void main() async {<br> WidgetsFlutterBinding.ensureInitialized();<br> await Firebase.initializeApp();<br> runApp(MyApp());<br>}</pre><p>This code initialises Firebase in your app and ensures that the Firebase SDK is ready before your app starts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5bV5w4gNDPIcIK3C" /></figure><p><strong>4. FIREBASE AUTHENTICATION TYPES</strong></p><p>We will explore how to implement Firebase Authentication in Flutter, step-by-step. We will cover the following topics:</p><ol><li><a href="https://droidbg.medium.com/implementing-firebase-email-authentication-6343f4b11df9">Implementing Firebase Email Authentication</a></li></ol><p><a href="https://droidbg.medium.com/implementing-firebase-email-authentication-6343f4b11df9">Implementing Email Authentication with Firebase in Flutter: A Step-by-Step Guide</a></p><p>2. Implementing Firebase Phone Authentication</p><p>3. Implementing Firebase Google Authentication</p><blockquote><strong>Thanks For Reading, Follow Me For More.</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1fa2bfe2a6b6" width="1" height="1" alt=""><hr><p><a href="https://levelup.gitconnected.com/firebase-authentication-in-flutter-binni-goel-1fa2bfe2a6b6">Firebase Authentication in Flutter -Binni Goel</a> was originally published in <a href="https://levelup.gitconnected.com/">Level Up Coding</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>