<?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: Puneet Sharma</title>
    <description>The latest articles on DEV Community by Puneet Sharma (@puneetdev).</description>
    <link>https://dev.to/puneetdev</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%2F3258251%2F4b3a41cf-bbcb-4889-8a68-b08c600e704c.png</url>
      <title>DEV Community: Puneet Sharma</title>
      <link>https://dev.to/puneetdev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/puneetdev"/>
    <language>en</language>
    <item>
      <title>Avoid This Common Flutter Mistake: color vs decoration 🎨</title>
      <dc:creator>Puneet Sharma</dc:creator>
      <pubDate>Mon, 14 Jul 2025 18:30:00 +0000</pubDate>
      <link>https://dev.to/puneetdev/avoid-this-common-flutter-mistake-color-vs-decoration-5fe7</link>
      <guid>https://dev.to/puneetdev/avoid-this-common-flutter-mistake-color-vs-decoration-5fe7</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq8kzrl9giq86utxgvf9j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq8kzrl9giq86utxgvf9j.png" alt=" " width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Welcome to Day 3 of my #100DaysOfFlutter series!&lt;/p&gt;

&lt;p&gt;Today’s tip is about one of the most common mistakes developers make when styling a Container widget in Flutter — and it’s an easy one to avoid once you know what’s going on.&lt;/p&gt;

&lt;p&gt;🛑 The Problem&lt;br&gt;
Many devs unknowingly try to use both the color property and the decoration property at the same time in a Container.&lt;br&gt;
But this causes an error! Why?&lt;/p&gt;

&lt;p&gt;If decoration is provided, Flutter expects you to manage all styling inside that decoration, including background color.&lt;/p&gt;

&lt;p&gt;So when you mix color and decoration, Flutter gets confused — and throws a runtime error.&lt;/p&gt;

&lt;p&gt;✅ Best Practice&lt;br&gt;
Use either the color property&lt;br&gt;
OR&lt;/p&gt;

&lt;p&gt;Use the decoration property, and define the color inside BoxDecoration&lt;/p&gt;

&lt;p&gt;Doing this ensures your layout behaves correctly and avoids unnecessary bugs or crashes.&lt;/p&gt;

&lt;p&gt;💡 Why This Matters&lt;br&gt;
These small Flutter nuances:&lt;/p&gt;

&lt;p&gt;Help you write more reliable and clean UI code&lt;/p&gt;

&lt;p&gt;Reduce runtime issues&lt;/p&gt;

&lt;p&gt;Encourage best practices for scalable styling&lt;/p&gt;

&lt;p&gt;Let’s keep building cleaner, smarter UIs — one day at a time! 💙&lt;br&gt;
Feel free to share your own tips or mistakes you’ve learned from in the comments.&lt;/p&gt;

&lt;h1&gt;
  
  
  Flutter #Dart #FlutterDev #FlutterTips #UIDesign #MobileDevelopment #100DaysOfFlutter #100DaysOfCode #CleanCode #BoxDecoration #DeveloperJourney #fluttercommunity #BuildInPublic
&lt;/h1&gt;

</description>
      <category>programming</category>
      <category>productivity</category>
      <category>tutorial</category>
      <category>flutter</category>
    </item>
    <item>
      <title>FVM Explained: How Flutter Selects the Right Version 🚀</title>
      <dc:creator>Puneet Sharma</dc:creator>
      <pubDate>Mon, 14 Jul 2025 02:38:00 +0000</pubDate>
      <link>https://dev.to/puneetdev/fvm-explained-how-flutter-selects-the-right-version-5f6l</link>
      <guid>https://dev.to/puneetdev/fvm-explained-how-flutter-selects-the-right-version-5f6l</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flleiku77s4g54vpi3hok.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flleiku77s4g54vpi3hok.png" alt=" " width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Welcome to Day 2 of my #100DaysOfFlutter series!&lt;br&gt;
Today, we’re diving into something every Flutter dev should know: managing multiple Flutter versions across projects.&lt;/p&gt;

&lt;p&gt;❓ Why FVM?&lt;br&gt;
If you work on multiple Flutter projects — especially in a team — you've probably run into version mismatch issues. One project might require Flutter 3.10, while another still depends on 3.7.&lt;/p&gt;

&lt;p&gt;This is where FVM (Flutter Version Management) comes in. It's a simple tool that helps you manage and use different Flutter versions per project.&lt;/p&gt;

&lt;p&gt;🛠️ What’s the difference?&lt;br&gt;
flutter run        # Uses the globally installed Flutter SDK&lt;/p&gt;

&lt;p&gt;fvm flutter run    # Uses the version defined for that specific project&lt;/p&gt;

&lt;p&gt;Using FVM ensures:&lt;br&gt;
✅ You're running the right Flutter version per project&lt;br&gt;
✅ Everyone on your team stays in sync&lt;br&gt;
✅ You avoid "it works on my machine" problems&lt;br&gt;
✅ Your CI/CD pipelines stay stable&lt;/p&gt;

&lt;p&gt;💡 In short:&lt;br&gt;
FVM keeps your Flutter projects clean, consistent, and version-safe.&lt;br&gt;
It’s an essential tool for any serious Flutter dev.&lt;/p&gt;

&lt;p&gt;Have you tried FVM yet? Let me know your experience — or feel free to ask if you need help getting started.&lt;/p&gt;

&lt;h1&gt;
  
  
  Flutter #Dart #FlutterDev #FVM #DeveloperTools #VersionControl #100DaysOfFlutter #100DaysOfCode #MobileDevelopment #DevTools #BuildInPublic #fluttercommunity
&lt;/h1&gt;

</description>
    </item>
    <item>
      <title>✨ Day 1 of #100DaysOfFlutter #iamapuneet</title>
      <dc:creator>Puneet Sharma</dc:creator>
      <pubDate>Sun, 13 Jul 2025 16:27:50 +0000</pubDate>
      <link>https://dev.to/puneetdev/day-1-of-100daysofflutter-iamapuneet-1jd9</link>
      <guid>https://dev.to/puneetdev/day-1-of-100daysofflutter-iamapuneet-1jd9</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbhakgbs88t6fxugyip7x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbhakgbs88t6fxugyip7x.png" alt=" " width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🔹 Topic: Null-Aware Children in a Stack 🧱&lt;br&gt;
Welcome to Day 1 of my #100DaysOfFlutter journey! 🎉&lt;br&gt;
Each day, I’ll be sharing a quick tip, concept, or best practice to help developers — beginners or experienced — write cleaner and smarter Flutter code.&lt;/p&gt;

&lt;p&gt;🧠 Today’s Insight: Null-Aware Children in a Stack Widget&lt;br&gt;
In Flutter, it’s common to conditionally render widgets — especially in complex UIs.&lt;br&gt;
But here's a mistake many devs make: adding a widget that might be null directly inside a widget tree like Stack.&lt;/p&gt;

&lt;p&gt;This can lead to unexpected behavior or runtime issues.&lt;/p&gt;

&lt;p&gt;✅ Instead: Use a null check or conditional rendering before adding it to the children list.&lt;/p&gt;

&lt;p&gt;💡 Why it matters:&lt;br&gt;
Keeps your widget tree clean&lt;/p&gt;

&lt;p&gt;Avoids unnecessary rendering&lt;/p&gt;

&lt;p&gt;Fully leverages Dart’s null safety&lt;/p&gt;

&lt;p&gt;Prevents runtime exceptions&lt;/p&gt;

</description>
      <category>programming</category>
      <category>productivity</category>
      <category>flutter</category>
      <category>design</category>
    </item>
    <item>
      <title>🚀 Meet Puneet Sharma — Flutter Developer | Open Source Contributor | Tech Enthusiast</title>
      <dc:creator>Puneet Sharma</dc:creator>
      <pubDate>Wed, 11 Jun 2025 15:57:37 +0000</pubDate>
      <link>https://dev.to/puneetdev/meet-puneet-sharma-flutter-developer-open-source-contributor-tech-enthusiast-44gg</link>
      <guid>https://dev.to/puneetdev/meet-puneet-sharma-flutter-developer-open-source-contributor-tech-enthusiast-44gg</guid>
      <description>&lt;p&gt;Hi everyone! 👋 I'm Puneet Sharma, a passionate Flutter Developer with 3+ years of experience building cross-platform mobile apps that are fast, scalable, and user-friendly.&lt;/p&gt;

&lt;p&gt;📍 Visit my portfolio → &lt;a href="https://iamapuneet.netlify.app/" rel="noopener noreferrer"&gt;iamapuneet.netlify.app&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqdjmel0kzyhdv6w3o89y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqdjmel0kzyhdv6w3o89y.png" alt=" " width="470" height="626"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;💼 What I Do&lt;br&gt;
✅ Cross-platform mobile apps using Flutter &amp;amp; Dart&lt;br&gt;
✅ State management with BLoC &amp;amp; GetX&lt;br&gt;
✅ Real-time features with Google Maps &amp;amp; background services&lt;br&gt;
✅ Smart UX using AI integrations&lt;br&gt;
✅ Clean, scalable architecture following best practices&lt;br&gt;
📱 Highlights&lt;br&gt;
📌 22+ projects delivered across various industries&lt;br&gt;
📌 Built apps with live tracking, background sync, and AI features&lt;br&gt;
📌 Strong focus on Clean Architecture &amp;amp; modular coding&lt;br&gt;
⚙️ My Tech Stack&lt;br&gt;
Flutter, Dart&lt;br&gt;
Firebase, REST APIs&lt;br&gt;
Google Maps API&lt;br&gt;
Git, GitHub, CI/CD&lt;br&gt;
Netlify, Figma, and more&lt;br&gt;
📢 Let's Collaborate!&lt;br&gt;
If you're looking for a dedicated Flutter Developer who combines clean code with product thinking, feel free to check out my portfolio and reach out.&lt;/p&gt;

&lt;p&gt;🔗 &lt;a href="https://iamapuneet.netlify.app/" rel="noopener noreferrer"&gt;iamapuneet.netlify.app&lt;/a&gt;&lt;br&gt;
📧 Contact via website or LinkedIn&lt;/p&gt;

&lt;p&gt;💬 Feel free to drop a comment if you're also working in Flutter or want to collaborate on open source. Let's build something awesome together!&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
