<?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 Viren Khatri on Medium]]></title>
        <description><![CDATA[Stories by Viren Khatri on Medium]]></description>
        <link>https://medium.com/@werainkhatri?source=rss-45bd1326f3ed------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*CIbixaOzvBr4wnDw</url>
            <title>Stories by Viren Khatri on Medium</title>
            <link>https://medium.com/@werainkhatri?source=rss-45bd1326f3ed------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 18:48:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@werainkhatri/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[Fluttered and became a Flutter Contributor]]></title>
            <link>https://werainkhatri.medium.com/fluttered-and-became-a-flutter-contributor-6e6c3e8a60a6?source=rss-45bd1326f3ed------2</link>
            <guid isPermaLink="false">https://medium.com/p/6e6c3e8a60a6</guid>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Viren Khatri]]></dc:creator>
            <pubDate>Sat, 24 Apr 2021 22:23:08 GMT</pubDate>
            <atom:updated>2021-04-24T22:32:40.778Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*yNRIYRrvsPgnT5G7sxg_NQ.png" /></figure><h3>Why Flutter?</h3><p>In the month of February 2021, hearing a lot about open source contribution and the prestigious Google Summer of Code, I set out in search for an open source organization or repository I could contribute to. I went through <a href="https://github.com/mit-cml">MIT App Inventor</a>, <a href="https://github.com/anitab-org">AnitaB.org</a>, <a href="https://github.com/KDE">KDE</a>, and more, trying to understand the code base and open issues, in search for a good fit to solve an issue.</p><p>But I couldn’t…</p><p>Then I realized, I have been practicing Flutter since more than a year. I could contribute to the software I am most used to as of now.</p><h3>Getting Started</h3><p>I started, as all CS students start a new project, Google - <em>contribute to flutter</em>. I came across <a href="https://medium.com/flutter-community/contributing-to-flutter-getting-started-a0db68cbcd5b">this</a> awesome medium blog by the Flutter Community, written by <a href="https://medium.com/u/cdf0fd1760ba">Ayush Bherwani</a>. It covers literally everything you’ll need to know. I would highly recommend going through each and every line of that blog. Another important doc is the <a href="https://github.com/flutter/flutter/blob/master/CONTRIBUTING.md">CONTRIBUTING.md</a> which covers all technicalities of contribution and its future.</p><h3>How I found my match!</h3><p>There are more than 5k open issues on the <a href="https://github.com/flutter/flutter/issues">flutter</a> framework repository. It took me a while to understand the importance of <a href="https://github.com/flutter/flutter/labels">Labels</a> which is to make it easy to summarize the issue from a contributor’s perspective. I judged issues based on the title, description, and labels so as to see if I could fix it. After searching for days, stumbling over issues I didn’t understand or relate or know how to fix, I found an issue I was comfortable with, #75609.</p><h3>Fixing the issue</h3><p>I commented on the issue asking the maintainer to assign it to me. And soon after that, started understanding the underlying code.</p><p>Understanding the framework code base could be challenging in the beginning, but with time, a bit of brainstorming, and the awesome flutter community makes it easy. As suggested by the contribution guide, I made a design document (using <a href="https://flutter.dev/go/template">this</a> template), which isn’t necessary, but is an important step in the field of software engineering. I made <a href="https://docs.google.com/document/d/13W6PupVZUt6TenoE3NaTP9OCYsKBIYg9YgdurKe1XKs/edit?usp=sharing&amp;resourcekey=0-6n8D5zSLjWs2ZncIyG6HUw">mine</a> by just following the instructions given in the template, and referring some other design documents from <a href="https://flutter.dev/docs/resources/design-docs">here</a>.</p><p>While I was doing all this, the issue was still unassigned, maybe due to maintainers being busy or not getting notified of my comment. I could have requested for an assignment on discord, but instead I just raised a Pull Request.</p><h3>Mistakes I made</h3><p>After a few days of dedicated work on my Pull Request (PR), adding tests and design doc, I felt proud of it.</p><p>But my PR was far from perfect.</p><p>A few lessons that I learned after making mistakes are as follows:</p><ol><li>Indentation followed by the flutter framework is different from dart code formatter. Don’t reformat code when working on it.</li><li>Documentation comments should be short, simple, complete and should use correct grammar. Refer other widgets’ doc comments for reference and try to replicate them.</li><li>Write good variable names, whether its argumentative, public or private.</li><li>Always test locally before pushing the code.</li></ol><p>All this, but don’t worry too much about being wrong. You are here to learn and are bound to make mistakes. The team and maintainers are nothing but supportive. If you have any doubts, search on the internet, ask out on the PR, or on discord without hesitation.</p><h3>The Final hurdle</h3><p>Getting the PR approved requires one more important task: making sure all the checks pass.</p><p>In my PR, one of the checks was failing. Upon further digging, I found the stack trace, which you can do by clicking on <em>details </em>in front of the check, then <em>View more details on flutter-dashboard</em>, and then <em>stdout</em> (which means standard output). Scroll down to see where the error has occurred or test has failed.</p><p>Also, remember that <em>flutter-build</em> is a check for the current version in the master branch, and has nothing to do with your current PR. It reflects if the current build is broken. It’s a check to prevent merging a PR into a broken build, unless the PR fixes it.</p><h3>Certificate of Completion</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/951/1*QzBOFbx5ROwaDYGDuC5q9w.png" /></figure><p>And one month later, my work had finally paid off! This is when I realized: <br>I’m FINALLY a <em>contributor </em>to Flutter.<br>PS: <strong>LGTM</strong> means <em>Looks Good To Me</em>, and <strong>SGTM</strong> means <em>Sounds Good To Me.</em></p><p><em>That’s all folks! Hope this article was informative. Peace.</em></p><p>For reference:</p><p><a href="https://github.com/flutter/flutter/pull/76968">Add disable argument in DropdownMenuItem by werainkhatri · Pull Request #76968 · flutter/flutter</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6e6c3e8a60a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>