<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Hameed Habeeblahi</title>
    <description>The latest articles on DEV Community by Hameed Habeeblahi (@gbolahan507).</description>
    <link>https://dev.to/gbolahan507</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F666711%2Fd54ca3a0-7298-4d25-a566-80bac2b57b89.png</url>
      <title>DEV Community: Hameed Habeeblahi</title>
      <link>https://dev.to/gbolahan507</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gbolahan507"/>
    <language>en</language>
    <item>
      <title>I Got 4 PRs Merged to the Flutter Framework. Here's Exactly How</title>
      <dc:creator>Hameed Habeeblahi</dc:creator>
      <pubDate>Fri, 01 May 2026 19:03:58 +0000</pubDate>
      <link>https://dev.to/gbolahan507/i-got-4-prs-merged-to-the-flutter-framework-heres-exactly-how-4hpl</link>
      <guid>https://dev.to/gbolahan507/i-got-4-prs-merged-to-the-flutter-framework-heres-exactly-how-4hpl</guid>
      <description>&lt;h1&gt;
  
  
  I Got 4 PRs Merged to the Flutter Framework. Here's Exactly How
&lt;/h1&gt;

&lt;p&gt;I never thought I'd contribute to a framework used by millions of developers.&lt;/p&gt;

&lt;p&gt;Flutter felt like this massive codebase maintained by Google engineers, way out of my league. But three months ago, I decided to try anyway. Today, I have 4 pull requests merged into the official Flutter repository (flutter/flutter), reviewed and approved by the Flutter team at Google.&lt;/p&gt;

&lt;p&gt;Here is exactly how I did it, step by step.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why I Wanted to Contribute
&lt;/h2&gt;

&lt;p&gt;I have been building Flutter apps for over 5 years across fintech, e-commerce, IoT, real estate, and healthcare products. I use Flutter every single day. But I had never looked under the hood.&lt;/p&gt;

&lt;p&gt;Three things pushed me to finally try:&lt;/p&gt;

&lt;p&gt;I wanted to understand how Flutter actually works at the framework level, not just how to use it. I wanted to give back to a tool that has been central to my entire career. And I wanted to stand out as a developer, because very few Flutter developers ever contribute back to the framework itself.&lt;/p&gt;

&lt;p&gt;So I went looking for a way in.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Finding the Right Issue
&lt;/h2&gt;

&lt;p&gt;I went to the Flutter GitHub repository and started filtering issues. The key is not to look for something impressive on your first try. You are looking for something clearly defined, well-scoped, and achievable without deep internal knowledge of the codebase.&lt;/p&gt;

&lt;p&gt;I found &lt;a href="https://github.com/flutter/flutter/issues/177414" rel="noopener noreferrer"&gt;Issue #177414&lt;/a&gt;, a cleanup task to remove cross-imports from widget test files. Specifically, many test files in the widgets package were importing from Material or Cupertino packages when they should only be importing from the core widgets or flutter_test packages. This created unnecessary coupling between layers of the framework.&lt;/p&gt;

&lt;p&gt;It was a perfect entry point because the problem was clearly described, the fix pattern was consistent across multiple files, and each file could be a separate PR, meaning one issue could generate several contributions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tip:&lt;/strong&gt; Look for labels like "good first issue", "a: accessibility", or "cleanup". Avoid anything marked "severe" or "P0" until you know the codebase well.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Understanding the Codebase Before Touching It
&lt;/h2&gt;

&lt;p&gt;Before writing a single line of code, I did the following:&lt;/p&gt;

&lt;p&gt;I read the &lt;a href="https://github.com/flutter/flutter/blob/master/CONTRIBUTING.md" rel="noopener noreferrer"&gt;CONTRIBUTING.md&lt;/a&gt; file in full. Every open source project has different rules about branch naming, commit messages, PR descriptions, and test requirements. Flutter's is thorough and worth reading carefully.&lt;/p&gt;

&lt;p&gt;I forked the repository and set up Flutter from source locally. This is different from installing Flutter normally. You are cloning the engine and framework, not just downloading a binary.&lt;/p&gt;

&lt;p&gt;I found the specific test files mentioned in the issue and read them to understand what "correct" looked like versus what needed fixing.&lt;/p&gt;

&lt;p&gt;The problem in these files was that widget tests were using MaterialApp or CupertinoApp as their test wrapper, which pulled in the entire Material or Cupertino layer unnecessarily. The correct approach was to use framework-level wrappers that do not carry that dependency.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Making the First Fix
&lt;/h2&gt;

&lt;p&gt;I started with autofill_group_test.dart for &lt;a href="https://github.com/flutter/flutter/pull/181903" rel="noopener noreferrer"&gt;PR #181903&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The change sounds simple, and technically it is. But getting it right requires understanding why the dependency exists in the first place and what the correct replacement is. Reviewers will reject a change that fixes the import but breaks the intent of the test.&lt;/p&gt;

&lt;p&gt;Here is the pattern I followed:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight dart"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Before: importing Material when it is not needed&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="s"&gt;'package:flutter/material.dart'&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;

&lt;span class="n"&gt;testWidgets&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;'autofill group test'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;WidgetTester&lt;/span&gt; &lt;span class="n"&gt;tester&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="kd"&gt;async&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;tester&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;pumpWidget&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;MaterialApp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
      &lt;span class="nl"&gt;home:&lt;/span&gt; &lt;span class="n"&gt;AutofillGroup&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
        &lt;span class="nl"&gt;child:&lt;/span&gt; &lt;span class="n"&gt;Column&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nl"&gt;children:&lt;/span&gt; &lt;span class="p"&gt;[...]),&lt;/span&gt;
      &lt;span class="p"&gt;),&lt;/span&gt;
    &lt;span class="p"&gt;),&lt;/span&gt;
  &lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;

&lt;span class="c1"&gt;// After: using only what the test actually needs&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="s"&gt;'package:flutter/widgets.dart'&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="s"&gt;'package:flutter_test/flutter_test.dart'&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;

&lt;span class="n"&gt;testWidgets&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;'autofill group test'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;WidgetTester&lt;/span&gt; &lt;span class="n"&gt;tester&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="kd"&gt;async&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;tester&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;pumpWidget&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;Directionality&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
      &lt;span class="nl"&gt;textDirection:&lt;/span&gt; &lt;span class="n"&gt;TextDirection&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;ltr&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;child:&lt;/span&gt; &lt;span class="n"&gt;AutofillGroup&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
        &lt;span class="nl"&gt;child:&lt;/span&gt; &lt;span class="n"&gt;Column&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nl"&gt;children:&lt;/span&gt; &lt;span class="p"&gt;[...]),&lt;/span&gt;
      &lt;span class="p"&gt;),&lt;/span&gt;
    &lt;span class="p"&gt;),&lt;/span&gt;
  &lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After making the changes I ran the tests locally:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;flutter &lt;span class="nb"&gt;test &lt;/span&gt;packages/flutter/test/widgets/autofill_group_test.dart
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;All tests passed. Then I created the PR.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: Writing a Good Pull Request
&lt;/h2&gt;

&lt;p&gt;The PR description matters as much as the code. Flutter maintainers review dozens of PRs. A clear, well-written description gets reviewed faster and builds trust with the team.&lt;/p&gt;

&lt;p&gt;For each of my PRs I included a reference to the parent issue (&lt;a href="https://github.com/flutter/flutter/issues/177414" rel="noopener noreferrer"&gt;#177414&lt;/a&gt;), a plain description of what I changed and why, and confirmation that I had run the relevant tests locally.&lt;/p&gt;

&lt;p&gt;My commit message format was consistent across all four PRs:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Remove Material dependency from [filename]

Part of #177414
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 5: The Review Process
&lt;/h2&gt;

&lt;p&gt;This is the part most people are afraid of. Google engineers reading your code.&lt;/p&gt;

&lt;p&gt;The reality is that Flutter maintainers are professional and constructive. They want contributions to succeed. On &lt;a href="https://github.com/flutter/flutter/pull/181951" rel="noopener noreferrer"&gt;PR #181951&lt;/a&gt; (Move SelectionArea web test from widgets to material folder) I received 17 review comments. On &lt;a href="https://github.com/flutter/flutter/pull/181903" rel="noopener noreferrer"&gt;#181903&lt;/a&gt; I received 12. These were not rejections. They were detailed, specific feedback that made the final code better.&lt;/p&gt;

&lt;p&gt;The review on #181951 was particularly educational. The SelectionArea web test needed to move from the widgets test folder to the material test folder because it relied on material-specific behavior. A reviewer caught a subtle dependency I had missed and walked me through the correct fix. That kind of direct feedback from framework engineers is genuinely invaluable.&lt;/p&gt;

&lt;p&gt;I addressed every comment, pushed updates, and waited for re-review. The turnaround was faster than I expected.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 4 Merged PRs
&lt;/h2&gt;

&lt;p&gt;Here is the full list of what got merged:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/flutter/flutter/pull/181903" rel="noopener noreferrer"&gt;PR #181903&lt;/a&gt;&lt;/strong&gt; — Refactor autofill_group_test.dart to remove Material dependencies&lt;br&gt;
Merged February 19. 12 review comments. Tagged: framework.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/flutter/flutter/pull/181951" rel="noopener noreferrer"&gt;PR #181951&lt;/a&gt;&lt;/strong&gt; — Move SelectionArea web test from widgets to material folder&lt;br&gt;
Merged February 19. 17 review comments. Tagged: f:material design, framework.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/flutter/flutter/pull/182141" rel="noopener noreferrer"&gt;PR #182141&lt;/a&gt;&lt;/strong&gt; — Remove Material dependency from transformed_scrollable_test.dart&lt;br&gt;
Merged February 13. Tagged: f:scrolling, framework.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/flutter/flutter/pull/182211" rel="noopener noreferrer"&gt;PR #182211&lt;/a&gt;&lt;/strong&gt; — Remove Material dependency from semantics_keep_alive_offstage_test.dart&lt;br&gt;
Merged February 13. Tagged: a:accessibility, framework.&lt;/p&gt;

&lt;p&gt;Each one built on the last. By the fourth PR I knew exactly what reviewers would look for and I addressed those things proactively in the code before they asked.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Contributing to Flutter Actually Taught Me
&lt;/h2&gt;

&lt;p&gt;The technical lesson is about dependency management and layered architecture. The Flutter framework is deliberately structured so that lower-level packages do not depend on higher-level ones. When test files break that rule, even accidentally, it signals a coupling problem that could affect how the framework evolves. Understanding this made me a better architect in my own apps.&lt;/p&gt;

&lt;p&gt;The broader lesson is about reading a large codebase with confidence. When I started, flutter/flutter felt enormous and intimidating. After four PRs, I navigate it comfortably. That skill transfers directly to joining any large engineering team or contributing to any open source project.&lt;/p&gt;

&lt;p&gt;The professional lesson is that open source contributions are not just resume lines. The review conversations, the back-and-forth with maintainers, the process of getting your code to a standard that ships in a framework used by millions, that is real engineering experience that very few developers have.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Start Your Own Flutter Contribution
&lt;/h2&gt;

&lt;p&gt;Go to &lt;a href="https://github.com/flutter/flutter/issues/177414" rel="noopener noreferrer"&gt;github.com/flutter/flutter/issues/177414&lt;/a&gt;. There are still files in the issue that need fixing. Pick one that has not been claimed, follow the pattern I described, and submit a PR.&lt;/p&gt;

&lt;p&gt;Read &lt;a href="https://github.com/flutter/flutter/blob/master/CONTRIBUTING.md" rel="noopener noreferrer"&gt;CONTRIBUTING.md&lt;/a&gt; before you touch any code. Set up Flutter from source. Run the tests locally before pushing anything. Write a clear PR description that references the issue.&lt;/p&gt;

&lt;p&gt;The Flutter team is genuinely welcoming to new contributors. The codebase is well-documented. And seeing your name in the merged commits of a framework used by millions of developers worldwide is worth every hour of the process.&lt;/p&gt;

&lt;h2&gt;
  
  
  Let's Connect
&lt;/h2&gt;

&lt;p&gt;If you are working through your first Flutter contribution or have questions about open source in general, reach out. I am happy to help.&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/gbolahan507" rel="noopener noreferrer"&gt;github.com/gbolahan507&lt;/a&gt;&lt;br&gt;
LinkedIn: &lt;a href="https://www.linkedin.com/in/gbolahan507/" rel="noopener noreferrer"&gt;linkedin.com/in/gbolahan507&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Happy contributing.&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>beginners</category>
      <category>opensource</category>
      <category>github</category>
    </item>
  </channel>
</rss>
