<?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>Forem: antaerio</title>
    <description>The latest articles on Forem by antaerio (@antaerio).</description>
    <link>https://forem.com/antaerio</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%2F3114203%2Fa6d0e254-133e-4066-9f1a-5cebff16c8f5.png</url>
      <title>Forem: antaerio</title>
      <link>https://forem.com/antaerio</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/antaerio"/>
    <language>en</language>
    <item>
      <title>Flutter Cost: See Package Size Impact Directly in VS Code</title>
      <dc:creator>antaerio</dc:creator>
      <pubDate>Wed, 07 May 2025 17:38:13 +0000</pubDate>
      <link>https://forem.com/antaerio/flutter-cost-see-package-size-impact-directly-in-vs-code-4eik</link>
      <guid>https://forem.com/antaerio/flutter-cost-see-package-size-impact-directly-in-vs-code-4eik</guid>
      <description>&lt;p&gt;Have you ever wondered how much a package actually costs in terms of size when building your Flutter app?&lt;/p&gt;

&lt;p&gt;You're not alone.&lt;/p&gt;

&lt;p&gt;We all love packages — they save time, offer rich functionality, and reduce boilerplate. But over time, your app’s size can grow unexpectedly. That’s where Flutter Cost comes in.&lt;/p&gt;

&lt;p&gt;📦 What is Flutter Cost?&lt;br&gt;
Flutter Cost is a Visual Studio Code extension that shows the estimated size impact of each imported package in your Dart or Flutter project — directly in your editor.&lt;/p&gt;

&lt;p&gt;No more guessing.&lt;br&gt;
No more hunting through documentation.&lt;br&gt;
Just simple, inline size insights — right where your imports live.&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%2F02p24r9r7zn0w3z22o0b.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%2F02p24r9r7zn0w3z22o0b.png" alt="Image description" width="800" height="136"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Above: Flutter Cost showing inline size estimates next to imports&lt;/p&gt;

&lt;p&gt;✨ Why Use It?&lt;br&gt;
✅ Instantly see how much size each package adds&lt;br&gt;
✅ Inline info — no need to leave the code editor&lt;br&gt;
✅ Helps you make informed decisions before bloating your app&lt;br&gt;
✅ Lightweight and fast&lt;/p&gt;

&lt;p&gt;🔧 How It Works&lt;br&gt;
Flutter Cost analyzes your Dart/Flutter project, looks at your imported packages, and matches them against precomputed size data to show their estimated impact on your app's bundle size.&lt;/p&gt;

&lt;p&gt;It then displays this information inline, right next to your import statements, like this:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;import 'package:http/http.dart'; // ~380KB&lt;br&gt;
import 'package:firebase_core/firebase_core.dart'; // ~1.2MB&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
This helps you understand at a glance which dependencies may be hurting your app’s size or startup time.&lt;/p&gt;

&lt;p&gt;⚙️ How to Install&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open VS Code&lt;/li&gt;
&lt;li&gt;Go to the Extensions view (Ctrl+Shift+X)&lt;/li&gt;
&lt;li&gt;Search for Flutter Cost&lt;/li&gt;
&lt;li&gt;Click Install&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Or click here 👉 &lt;a href="https://marketplace.visualstudio.com/items?itemName=Antaerio.flutter-cost" rel="noopener noreferrer"&gt;Install Flutter Cost on VS Code Marketplace&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once installed, just open any .dart file in your project — and boom 💥 — size estimates appear next to your imports!&lt;/p&gt;

&lt;p&gt;🧠 Why App Size Matters&lt;br&gt;
If you're building for mobile, especially on Android, size directly impacts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Download speeds&lt;/li&gt;
&lt;li&gt;Startup performance&lt;/li&gt;
&lt;li&gt;App Store limits&lt;/li&gt;
&lt;li&gt;User retention on slower networks&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Tools like flutter build give you a post-build snapshot — but Flutter Cost gives you this before you even run a build.&lt;/p&gt;

&lt;p&gt;It’s proactive instead of reactive.&lt;/p&gt;

&lt;p&gt;🙌 Try It Out&lt;br&gt;
👉 Get Flutter Cost on the &lt;a href="https://marketplace.visualstudio.com/items?itemName=Antaerio.flutter-cost" rel="noopener noreferrer"&gt;VS Code Marketplace&lt;/a&gt;&lt;br&gt;
📣 Star it on &lt;a href="https://github.com/antaerio/FlutterCost" rel="noopener noreferrer"&gt;GitHub &lt;/a&gt;and share with your fellow Flutter devs!&lt;/p&gt;

&lt;p&gt;Your feedback helps make this better. Let me know what features you'd like to see — or better yet, contribute!&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>dart</category>
      <category>vscode</category>
      <category>extensions</category>
    </item>
  </channel>
</rss>
