<?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[What The Flutter? - Medium]]></title>
        <description><![CDATA[Flutter Guide for Everyone - Medium]]></description>
        <link>https://medium.com/what-the-flutter?source=rss----d0303c861d48---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>What The Flutter? - Medium</title>
            <link>https://medium.com/what-the-flutter?source=rss----d0303c861d48---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 15:50:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/what-the-flutter" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Advanced Usage of Dependencies in Flutter]]></title>
            <link>https://medium.com/what-the-flutter/advanced-usage-of-dependencies-in-flutter-dc04a36e2be4?source=rss----d0303c861d48---4</link>
            <guid isPermaLink="false">https://medium.com/p/dc04a36e2be4</guid>
            <category><![CDATA[dart]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[pub]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <dc:creator><![CDATA[Purusothaman Ramanujam]]></dc:creator>
            <pubDate>Wed, 21 Nov 2018 06:19:07 GMT</pubDate>
            <atom:updated>2018-11-21T06:19:07.503Z</atom:updated>
            <content:encoded><![CDATA[<p>The pubspec.yaml file is the most important file in any Flutter project. It is the place where you provide all the required dependencies of your Flutter project. Knowing how to use it better can help us in many unexpected ways.</p><p>It’s straightforward to use a public package in your pubspec.yaml file. But what if you want to use some packages that are not yet published in <a href="https://pub.dartlang.org/">https://pub.dartlang.org/</a>. Or you have developed a plugin and want to use this private plugin in your project.</p><p>No worries. You can still use them in your next great app.</p><h3>Using a package/plugin from local directory</h3><p>Assume that you want to use a local Flutter package or a plugin in another Flutter application. In this case, you can refer the local directory in your pubspec.yaml as shown below.</p><p>In the below case “my_package” is the local package that I have in my local machine.</p><pre>dependencies:<br>   flutter:<br>     sdk: flutter<br>   my_package:<br>     path: ./my_path/my_package</pre><h3>Using a Git based dependency</h3><p>You can use a package as a dependency which is in a Git repository by specifying its repo URL. It comes handy when the recent changes are pushed to the Git repository and not yet published to the Dart Pub. You don’t need to wait for those changes to be available in Pub. Why to stop our development sprint and spirit?</p><pre>dependencies:<br>  launch_review:<br>    git:<br>      url: <a href="https://github.com/Purus/launch_review">https://github.com/Purus/launch_review</a></pre><p>The above examples makes assumption that the root of the Git repository in the package that you need. But in some cases, the package that you need might be in a sub-directory of the Git repository. For such cases, you can refer to the particular path too as shown below.</p><pre>cloud_firestore:<br>  git:<br>    url: https://github.com/theshiftstudio/flutter_plugins.git<br>    path: packages/cloud_firestore</pre><p>In the example provided, the Git repository ‘flutter_plugins’ contains all the plugin under root. Since we want to use only the “cloud_firestore” plugin, we can refer that using the “path” configuration.</p><p>You can even point to a particular commit reference if you want.</p><pre>cloud_firestore:<br>     git:<br>       url: https://github.com/theshiftstudio/flutter_plugins.git<br>       ref: 9cabcc57e63fbc9be4fafee08e6435a1a8c71d61<br>       path: packages/cloud_firestore</pre><blockquote>Earlier I created an issue(<a href="https://github.com/flutter/flutter/issues/15252">https://github.com/flutter/flutter/issues/15252</a>) which arises when using a Git depedency. It is now resolved and we are good to go.</blockquote><h3>Dependency Versioning</h3><p>Apart from these, it is super helpful to understand the versioning syntax of the dependencies.</p><ol><li><strong>package_name: any</strong><br>Allows any version. As per official docs, it is not recommend for performance reasons.</li><li><strong>package_name: 1.2.3</strong><br>Uses the exact version specified.</li><li><strong>package_name &gt; 1.2.3</strong><br>Uses any greater version but not the version itself. If not you can use</li></ol><p>There are few other variations like using caret notations. For more detailed usages, you can refer to the official <a href="https://www.dartlang.org/tools/pub/dependencies#version-constraints">docs</a>.</p><p>If you like the post, please leave your thoughts in the comments section.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dc04a36e2be4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/what-the-flutter/advanced-usage-of-dependencies-in-flutter-dc04a36e2be4">Advanced Usage of Dependencies in Flutter</a> was originally published in <a href="https://medium.com/what-the-flutter">What The Flutter?</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flutter App Testing over Network sans USB Connection]]></title>
            <link>https://medium.com/what-the-flutter/flutter-app-testing-over-network-sans-usb-connection-a6e472c8ac42?source=rss----d0303c861d48---4</link>
            <guid isPermaLink="false">https://medium.com/p/a6e472c8ac42</guid>
            <category><![CDATA[adb]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[Purusothaman Ramanujam]]></dc:creator>
            <pubDate>Fri, 16 Nov 2018 05:18:42 GMT</pubDate>
            <atom:updated>2018-11-16T09:04:34.371Z</atom:updated>
            <content:encoded><![CDATA[<p>You can run or test your Flutter application either in a real device or on a emulated device. I personally prefer running in a real device as it’s more faster than its emulated counterpart.</p><p>If you are a fan of using real device(like me), it’s very common to connect your physical device to your computer using an USB cable. Although it is more efficient and fast, we can make it more efficient by connecting our real device to the computer over the wireless network. Wires Free.</p><p>Let’s see on the steps now.</p><p>Since you are working in Flutter, it should be obvious that Developer Mode is enabled in your Android device. Once you go to the “Developer Options” in your Android Settings, you can find a section called “ADB over Network”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*UOpFG04C4iQQlbr10mIX8w.png" /></figure><p>When you enable this option, you can see that it display’s an IP address. We are going to connect to this IP to enable wireless connection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*2H8ullCGhMqcc391EJ1fwg.png" /></figure><p>In a command prompt, we can use adb connect command to establish an connection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/547/1*tMx0PRQjmb-A_LhY6ju_Mg.png" /><figcaption>Connecting via ADB</figcaption></figure><p>Once the connection is successful you can notice that your IDE of choice is able to recognize your mobile device.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/333/1*Wr7SLHarsRus4E6ryC3jag.png" /><figcaption>Device Recognized in IDE</figcaption></figure><p>Great. You can now run and test your Flutter app as you would do normally via USB cable connection.</p><p><strong><em>TIPS</em></strong>:</p><p>Some custom Android ROMs like LineageOS provide you an option to add a quick shortcut for enabling the “ADB over Network”. By this way, you do not have to navigate several screens to enable it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*I6ox61cXYb9qTE5ON4XrKQ.png" /></figure><p><em>I hope you like this post, and leave a few claps if you did. Please share your thoughts, suggestions, or any feedback about this post.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a6e472c8ac42" width="1" height="1" alt=""><hr><p><a href="https://medium.com/what-the-flutter/flutter-app-testing-over-network-sans-usb-connection-a6e472c8ac42">Flutter App Testing over Network sans USB Connection</a> was originally published in <a href="https://medium.com/what-the-flutter">What The Flutter?</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>